curl --request GET \
--url https://api.mintlify.com/v1/analytics/{projectId}/assistant/caller-stats \
--header 'Authorization: Bearer <token>'{
"web": 123,
"api": 123,
"other": 123,
"total": 123
}Retrieve a breakdown of assistant query counts by caller type for a given date range.
curl --request GET \
--url https://api.mintlify.com/v1/analytics/{projectId}/assistant/caller-stats \
--header 'Authorization: Bearer <token>'{
"web": 123,
"api": 123,
"other": 123,
"total": 123
}dateFrom and dateTo parameters.The Authorization header expects a Bearer token. Use an admin API key (prefixed with mint_). This is a server-side secret key. Generate one on the API keys page in your dashboard.
Date in ISO 8601 or YYYY-MM-DD format
"2024-01-01"
Date in ISO 8601 or YYYY-MM-DD format. dateTo is an exclusive upper limit. Results include dates before, but not on, the specified date.
"2024-01-01"
Assistant query counts broken down by caller type
Number of assistant queries originating from the web (documentation site).
Number of assistant queries originating from API calls.
Number of assistant queries from other sources (e.g., integrations, SDKs).
Total assistant queries across all caller types.
Was this page helpful?
Suggestions