Skip to main content
GET
/
orgs
/
{org_id}
/
analytics
/
metrics
Get Org Metrics
curl --request GET \
  --url https://api.example.com/orgs/{org_id}/analytics/metrics
[
  {
    "date": "2023-12-25",
    "amount": 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
page
number

Page number

take
number

Number of items to take

next
string

Next page token (Only used on special endpoints)

Response

200 - application/json

The metrics for the specified organization.

date
string<date> | null
required
amount
number
required