Analytics

Get Analytic

post

Query analytics data for a Brand Kit with flexible metrics, dimensions, and filters.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
brand_kit_idintegerRequired

The Brand Kit ID

Body
brand_kit_idintegerRequired

The Brand Kit ID to query analytics for

grainstring · enumOptional

Time granularity for aggregation. Default: total

Possible values:
start_datestringOptional

Start date (YYYY-MM-DD). Default: 7 days ago

end_datestringOptional

End date (YYYY-MM-DD). Defaults to yesterday. Must be before today because today's data may still be processing and is incomplete — yesterday is used to ensure robust, complete data. Leave blank unless a specific date is requested.

topicsinteger[]Optional

Filter by topic IDs

personasinteger[]Optional

Filter by persona IDs

brand_mentionedstring · enumOptional

Filter by prompt type. Options: category (generic prompts - recommended for accurate visibility metrics), brand (prompts mentioning the brand). Defaults to category if not specified

Possible values:
limitintegerOptional

Maximum rows to return (1-1000). Default: 100

order_bystringOptional

Custom sort order (e.g., "citation_count DESC")

Responses
chevron-right
200

Successful response

application/json
post
/public_api/brand_kits/{brand_kit_id}/analytics

Last updated

Was this helpful?