Returns the top-level analytics overview for the selected range, including total conversations, active conversations, average response time, and CSAT score with change indicators.
/api/analytics/overviewReturns the top-level analytics overview for the selected range, including total conversations, active conversations, average response time, and CSAT score with change indicators. When range is omitted, the overview uses the default 30-day window. To use custom dates, send both start and end as ISO 8601 datetimes with offsets. Explicit boundaries override range; a single boundary is rejected. Date buckets are calculated in UTC. Periods with no data return the documented empty or zero-value response. Endpoints that support format=csv return a text/csv download. CSV export may require an eligible plan; JSON is the default.
Bearer API key or X-API-Key header.analytics:readautomation_api)Query parameter. Range. Allowed values: 7d, 30d, 90d.
Query parameter. ISO 8601 date and time for start.
Query parameter. ISO 8601 date and time for end.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
{
"totalConversations": {
"value": 382,
"change": 12.5,
"trend": "up"
},
"activeNow": {
"value": 9,
"change": 0,
"trend": "up"
},
"avgResponseTime": {
"value": "18.5s",
"change": 8.2,
"trend": "down"
},
"csatScore": {
"value": 92,
"change": 3.1,
"trend": "up"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"fields": {
"property1": "string",
"property2": "string"
},
"details": {},
"correlationId": "string"
}
}curl --request GET \
'https://api.convor.io/api/analytics/overview' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer convor_sk_...'const response = await fetch("https://api.convor.io/api/analytics/overview", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Bearer convor_sk_..."
},
});
const contentType = response.headers.get("content-type") ?? "";
const data = response.status === 204
? null
: contentType.includes("json")
? await response.json()
: contentType.startsWith("text/")
? await response.text()
: await response.blob();
if (!response.ok) {
const message = typeof data === "object" && data !== null
&& "error" in data && typeof data.error === "object"
&& data.error !== null && "message" in data.error
? String(data.error.message)
: "Convor API request failed (" + response.status + ")";
throw new Error(message);
}
console.log(data);Was this page helpful?
Get AI support metrics
Returns AI message volume, AI and human resolution counts, handoff and deflection rates, CSAT for closed AI conversations, and average first-response times for the selected range.
Get average CSAT rating bucketed by conversation first-response time
Returns average CSAT ratings grouped by first-response-time buckets for rated conversations in the selected range.