I’m making a utility for others and don’t want to request information, e.g. project name, if I can it via the API. Thanks!
Hey
Afaik, there isn’t an API endpoint which you can query directly for getting the project name.
Inside the Amplitude project settings UI, the project name is mutable , but the project’s API credentials are unique to the Project Id. At the moment, I can’t recall any endpoint from Dashboard REST APIs that returns the project id in the response ( however, the Export API does return it in every record as ‘app’, but not sure if that is useful to your use case. ).
One approach will be to create an internal mapping on your end which maps the project id, project name and API Key and then dynamically pull it off the API Key when querying that bucket.
Let me know if I have interpreted your question correctly. Hope this helps.
Reply
Welcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. You can also create a Guest account below!
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comWelcome to the Amplitude Community!
If you don't have an Amplitude account, you can create an Amplitude Starter account for free and enjoy direct access to the Community via SSO. Create an Amplitude account. Want to sign up as a guest? Create a Community account.
If you're a current customer, select the domain you use to sign in with Amplitude.
analytics.amplitude.com analytics.eu.amplitude.comEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.