Internal: Query AI Enabler Analytics Data

Internal-only: Query analytics data for the calling user.
Organization ID is inferred from the authentication context.
This endpoint is used internally by the AI Optimizer UI and CLI.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date-time

Start time for the analytics data.

date-time

End time for the analytics data.

boolean

When true, filters analytics data by the API key owner ID extracted from the auth token.

string

CEL expression for filtering results.

groupBy
array of strings

Dimensions to group the time-series report by. Empty = full cross-product (current default behavior).
Omitting ANALYTICS_GROUP_BY_API_KEY_OWNER collapses owner IDs, so distinct active-user counts
cannot be derived from a coarse response.
Provider is always included in the grouping so self-hosted (vLLM) costs attribute correctly.

groupBy
Allowed:
sections
array of strings

Sections of the report to include in the response. Empty = all sections (current default behavior).
The summary scalars (comparison, stepDuration, mostRecentTime, teamDeleted) are always returned
regardless of this list.

sections
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json