Statistics
Aggregate App Stats
Changed onCreates a background task to calculate the number of message attempts (messageDestinations) made for all applications in the environment.
Note that this endpoint is asynchronous. You will need to poll the Get Background Task endpoint to retrieve the results of the operation.
The completed background task will return a payload like the following:
{
"id": "qtask_33qe39Stble9Rn3ZxFrqL5ZSsjT",
"status": "finished",
"task": "application.stats",
"data": {
"appStats": [
{
"messageDestinations": 2,
"appId": "app_33W1An2Zz5cO9SWbhHsYyDmVC6m",
"appUid": null
}
]
}
}
post/api/v1/stats/usage/app
Request
- Base URLhttps://api.eu.svix.com
- URLhttps://api.eu.svix.com/api/v1/stats/usage/app
- AuthHTTP bearer
Headers
idempotency-keystring
The request's idempotency key
Request body
Example request
{
"appIds": [
"unique-identifier"
]
}Response
Example response
{
"id": "qtask_1srOrx2ZWZBpBUvZwXKQmoEYga2",
"unresolvedAppIds": [
"unique-identifier"
]
}Changes
- info
added the required property
to the response with the status
- info