Skip to main content
GET
Get a brand's metrics

Authorizations

Authorization
string
header
required

An API key from the Account tab, sent as Authorization: Bearer agl_live_.... Keys are secret; store them server-side.

Path Parameters

id
string<uuid>
required

Brand id (UUID). A value that is not a UUID returns 404.

Query Parameters

days
integer
default:30

Trailing window in days, 1–365. Defaults to 30. Invalid values fall back to 30.

Required range: 1 <= x <= 365

Response

The metrics and the window they cover.

days
integer
required

The effective window used.

metrics
object
required

A brand's AI-visibility metrics. Zero state (no completed scans) has scanned:false, numeric fields 0, arrays empty and deltas null.