Skip to main content

Get an agent's daily analytics

GET 

/v1/agents/:agentId/analytics

x-scope: "analytics:read"

The agent's activity for each UTC day from from to to, both included, at most 92 days, with the window's totals: new conversations, messages, the customers' mood as the AI reads it, conversations that turned angry, and the AI's completed actions. to defaults to today in UTC, and neither date can be later than today; today's row keeps counting. Days without activity are listed with zeros. Counts are recorded as things happen, and one that fails to record isn't retried. Every figure but new conversations is counted from the day Mojeeb started recording analytics, so days before it read zero (and no mood). Reading analytics costs no messages.

Request​

Responses​

The report.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.