Skip to main content
This endpoint returns the same data shown in the dashboard (KPIs and daily series), already scoped to the API key’s number.

Endpoint

GET https://pilotstatus.com.br/v1/analytics/dashboard

Query parameters

tz
string
Optional IANA timezone, e.g. America/Sao_Paulo.

Example

curl "https://pilotstatus.com.br/v1/analytics/dashboard?tz=America/Sao_Paulo" \
  -H "x-api-key: ps_your_key_here"

Common errors

  • 401 — missing/invalid API key header (x-api-key/x-api-key-id).
  • 403 — a tenant-scoped key was used on this number-scoped endpoint (code: "TENANT_SCOPE_NOT_ALLOWED").