Skip to main content
Solved

List of chart IDs


Forum|alt.badge.img

Hi!

 

I’m trying to get a list of all chart IDS for a given project, in order to use them with https://developers.amplitude.com/docs/dashboard-rest-api#results-from-an-existing-chart but couldn’t find anything in he public documentation.

 

What’s the most common way to get chart IDs programmatically ?

 

Thanks!

Best answer by Saish Redkar

Hey @Guillaume

Afaik, currently there isn’t a direct way of getting a list of all chart ids in your project programmatically.

It’s more of a manual task to pull the chart ids from the chart url and then use them in the results-from-an-existing-chart API endpoint.

If you really need to get all chart ids at once from a project, you can ask your account’s CSM to pull it for you on their Amplitude end.

 

Hope this helps.

View original
Did this topic help you find an answer to your question?

Saish Redkar
Expert
Forum|alt.badge.img+10

Hey @Guillaume

Afaik, currently there isn’t a direct way of getting a list of all chart ids in your project programmatically.

It’s more of a manual task to pull the chart ids from the chart url and then use them in the results-from-an-existing-chart API endpoint.

If you really need to get all chart ids at once from a project, you can ask your account’s CSM to pull it for you on their Amplitude end.

 

Hope this helps.


Forum|alt.badge.img
  • New Member
  • January 5, 2022

Thanks for the clear answer!


Denis Holmes
Team Member
Forum|alt.badge.img+8

Hey @Guillaume ,

Thanks for writing in to the community! Great to see it becoming increasingly active! 

 

@Saish Redkar is correct. Unfortunately, we do not have an API that can provide these details. You would need to get the chart IDs manually ,as Saish said, and then work with the APIs using the list of Chart IDs you got. However, I can absolutely see the use of having an API to get all the chart IDs for a project. If you wish, I can add this as product feedback to the appropriate team. If you would be so kind, can you PM me your email address you use for Amplitude so that I can add this feedback? Thank you!

Apologies we do not have this solution at the minute. However, adding this feedback will help with the development of such things in the future! 

Kind Regards,
Denis


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings