Skip to main content
GET
/
orgs
/
{org_id}
/
analytics
/
metrics
/
total
Get Org Metric Total
curl --request GET \
  --url https://api.example.com/orgs/{org_id}/analytics/metrics/total
{
  "total": 123
}

Path Parameters

org_id
string
required

Query Parameters

metric
enum<string>
required
Available options:
chats_created,
chats_messages_sent,
chats_assistant_messages_sent,
assistant_messages_sent,
assistant_chats_closed_by_human,
assistant_chats_closed_by_ai,
assistant_chats_transferred_to_human,
contacts_blocked_by_ai,
contacts_blocked_by_human
interval
enum<string>
Available options:
hour,
day,
week,
month,
year
from_date
string<date> | null
to_date
string<date> | null
assistant_id
string
workflow_id
string

Response

200 - application/json

The total of metrics for the specified organization.

total
number
required