Usage overview for a date range: conversations, outcomes, visitors, model runs, tokens, tools, skills, cited knowledge.
GET
/v1/admin/analytics/overview
const url = 'https://example.com/v1/admin/analytics/overview?interval=day';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/admin/analytics/overview?interval=day' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”from
string
Start of the range (inclusive). Defaults to to minus 30 days.
interval
string
Bucket size for time series. Defaults to day (≤ 93 days) or week (longer ranges).
timezone
string
IANA time zone used for bucketing (default UTC).
to
string
End of the range (exclusive). Defaults to now.