Dashboard Analytics
GET/dashboard/analytics
Totals plus the two series the dashboard charts consume. `media_type` scopes everything to one product — the image app's home screen is about images, so a cross-product total there is noise. Omit it and the response covers both, as before.
Authentication
Authorization: Bearer vm_sk_… with the media.read permission (or all.read). See Authentication.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
media_type | query | string | |
days | query | integer |
Response
200 application/json
object
Errors
401 | Missing, wrong, revoked or expired key. |
403 | The key lacks media.read, the route is not available to keys, or the key's IP allow-list refuses this client. |
422 | The request failed validation; `detail` lists the fields. |
429 | Over a rate limit; retry after `Retry-After` seconds. |
All statuses: Errors.
Example
curl -X GET "https://api.voicemint.io/api/v1/dashboard/analytics" \
-H "Authorization: Bearer $VOICEMINT_API_KEY"