/v1/analytics/{projectId}/assistant/caller-statsGet assistant caller statsReturns a breakdown of assistant query counts by caller type (web, API, and other) for the specified date range.
Authenticate with an admin API key.
Parameters
projectIdstringpathrequiredYour project ID. Can be copied from the [API keys](https://app.mintlify.com/settings/organization/api-keys) page in your dashboard.
dateFromstringqueryDate in ISO 8601 or YYYY-MM-DD format
dateTostringqueryDate in ISO 8601 or YYYY-MM-DD format. `dateTo` is an exclusive upper limit. Results include dates before, but not on, the specified date.
Responses
apinumberrequiredNumber of assistant queries originating from API calls.
othernumberrequiredNumber of assistant queries from other sources (e.g., integrations, SDKs).
totalnumberrequiredTotal assistant queries across all caller types.
webnumberrequiredNumber of assistant queries originating from the web (documentation site).
{
"api": 0,
"other": 0,
"total": 0,
"web": 0
}detailsarray of objectAdditional details about the error.
Show child attributes
Show array items
messagestringrequiredDescription of a specific validation or processing error.
errorstringrequiredError message describing what went wrong.
{
"details": [
{
"message": "string"
}
],
"error": "string"
}detailsarray of objectAdditional details about the error.
Show child attributes
Show array items
messagestringrequiredDescription of a specific validation or processing error.
errorstringrequiredError message describing what went wrong.
{
"details": [
{
"message": "string"
}
],
"error": "string"
}