Skip to main content
Question

API response change "series"

  • 10 August 2023
  • 0 replies
  • 116 views

While working with Dashboard API, in particular, “sessions/average” and “sessions/peruser”  I expected to receive series as an array of numbers (like it is stated in the docs https://www.docs.developers.amplitude.com/analytics/apis/dashboard-rest-api/#get-average-session-length)

But instead, series returned as an array of objects:

 

 g
{
"setId": "",
"value": 0.0
},
{
"setId": "",
"value": 0.0
}
]

 

I haven’t found any documents, blog posts, or changelog confirming this data format change. Is it a valid response from now on?

Be the first to reply!

Reply