Skip to content

Every series the overview draws

GET
/api/dashboard/metrics
curl --request GET \
--url https://app.dycrypt.com/o/acme/api/dashboard/metrics \
--header 'Authorization: Bearer <token>'

The expensive half — several GROUP BYs over the largest table in the schema. Separate from /api/dashboard because the tiles are the answer and these are the evidence, and slow evidence must not delay the answer.

Aggregated series.

Media typeapplication/json
object
Examplegenerated
{}

No credential, or one that no longer resolves — revoked, expired, deleted. Replace it.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}

Authenticated, but not allowed: a missing scope, a read-only role, a plan limit reached, or a credential used under another organisation’s slug. The right credential doing something it may not do.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}