Authorizations
API key authentication. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
Query Parameters
The brand ID (32-character hexadecimal string)
32
Array of breakdown types. Valid values:
[]
or omitted - No breakdown, returns only time series data["model"]
- Break down by AI model["prompt"]
- Break down by prompt["model", "prompt"]
- Break down by both
2
Start date in YYYY-MM-DD format. If not provided, defaults to 28 days before end_date. The total date range cannot exceed 90 days.
End date in YYYY-MM-DD format. If not provided, defaults to the most recent report date for the brand. The total date range cannot exceed 90 days.
Response
Successful response
The brand ID that was queried
"0000000000000x000000000000000000"
The human-readable brand name
"Acme Corporation"
The start date used for the query
"2025-01-01"
The end date used for the query
"2025-01-31"
The breakdown types that were requested
["model"]
Array of daily report data
Array of non-critical error messages (null if no errors)