/api/v1/analytics/chat-taxonomy-volume
const url = 'https://api.endless.zaia.app/api/v1/analytics/chat-taxonomy-volume';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.endless.zaia.app/api/v1/analytics/chat-taxonomy-volumeRetrieves conversation category and status mix for the selected analytics period.
Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”A UUID v4 string that identifies an entity.
The end date of the analytics period.
The end date of the analytics period.
The start date of the analytics period.
The start date of the analytics period.
A UUID v4 string that identifies an entity.
Responses
Seção intitulada “Responses”Chat category and status volume retrieved successfully.
object
Category mix for conversations in the selected period.
object
Conversations in this category for the selected period.
Stable id for the category slice.
Category label shown on the chart.
Optional group that contains this category.
Conversations in the period that have a category.
Distinct conversations in the selected period.
Status mix for conversations in the selected period.
object
Conversations in this status for the selected period.
Stable id for the status slice.
Status label shown on the chart.
Conversations in the period without a category.
Examplegenerated
{ "categories": [ { "count": 1, "id": "example", "label": "example", "parent": "example" } ], "classified": 1, "conversations": 1, "statuses": [ { "count": 1, "id": "example", "label": "example" } ], "unclassified": 1}Unauthorized.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}