Get daily metrics history for a deployment
const url = 'https://api.aetherpush.com/v1/apps/example/deployments/example/metrics/history';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.aetherpush.com/v1/apps/example/deployments/example/metrics/history \ --header 'Authorization: Bearer <token>'Returns per-day, per-label series snapshotted from Redis into Postgres. History starts the day the snapshot job first ran for this deployment and cannot be backfilled. Active is an end-of-snapshot gauge. Download and install counters are returned as same-day cumulatives plus deltas against the previous calendar day. A missing previous day yields a null delta rather than a lifetime spike.
from and to are UTC dates (YYYY-MM-DD). When omitted, the range
is the last 30 days, then clamped to the app owner’s retention_days
and to historyStartsAt. Out-of-range dates are clamped. Malformed
dates or from after to return 400.
This endpoint does not read Redis. An empty series is 200. Requires
the metrics.read app permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Daily metrics history.
object
object
object
object
Example
{ "from": "2026-08-01", "to": "2026-08-26", "historyStartsAt": "2026-08-20", "days": [ { "date": "2026-08-20", "labels": { "v12": { "active": 100, "downloaded": 500, "installed": 480, "failed": 12, "downloadedDelta": null, "installedDelta": null, "failedDelta": null } } } ]}Malformed from/to, or from after to.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}Unauthenticated, or not a collaborator.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}App or deployment not found.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}