---
title: "Get assistant caller stats"
method: GET
path: "/v1/analytics/{projectId}/assistant/caller-stats"
tags: ["Analytics"]
language: "en"
---

# Get assistant caller stats

`GET /v1/analytics/{projectId}/assistant/caller-stats`

## Request

- Base URL: `https://api.mintlify.com`
- URL: `https://api.mintlify.com/v1/analytics/{projectId}/assistant/caller-stats`
- Auth: HTTP bearer

Retrieves a breakdown of assistant conversation counts by caller type (web, API, and other) for conversations started in the specified date range.

Authenticate with an admin API key.

## Path parameters

- `projectId` string, required: Your project ID. Can be copied from the [API keys](https://app.mintlify.com/settings/organization/api-keys) page in your dashboard.

## Query parameters

- `dateFrom` string: Date in ISO 8601 or YYYY-MM-DD format
- `dateTo` string: 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.

## Response `200`

Assistant conversation counts broken down by caller type

- AssistantCallerStatsResponse
  - `web` number, required: Number of assistant conversations started from the web (documentation site).
  - `api` number, required: Number of assistant conversations started from API calls.
  - `other` number, required: Number of assistant conversations started from other sources (e.g., integrations, SDKs).
  - `total` number, required: Total assistant conversations across all caller types.

## Other responses

- `400`: A query parameter is invalid, such as a malformed date or a `limit` outside the allowed range, or the project ID is malformed. The response body describes the error.
- `401`: The API key is missing or invalid, or your plan doesn't include API access.
- `403`: Your request came from an IP address that isn't on your API key's allowlist.
- `404`: The project doesn't exist or doesn't belong to your organization.
- `429`: You exceeded the rate limit for the analytics endpoints.
- `500`: An unexpected server error occurred. Retry the request. If the error continues, contact support.

## Changes

- **2026-10-30** `fe6381d657c3`: 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the non-success response with the status `429`
- **2026-04-01** `5edd99fc9ff7`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mintlify/apis/mintlify-analytics-export-api/changes/v1/analytics/:projectId/assistant/caller-stats/get.md)

---

[API](https://skmtc.dev/mintlify/apis/mintlify-analytics-export-api.md) - [All operations](https://skmtc.dev/mintlify/apis/mintlify-analytics-export-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mintlify/apis/mintlify-analytics-export-api/revisions/6d2c01bf8f5c?raw)
