Pular para o conteúdo

/api/v1/analytics/chat-taxonomy-volume

GET
/api/v1/analytics/chat-taxonomy-volume
curl --request GET \
--url https://api.endless.zaia.app/api/v1/analytics/chat-taxonomy-volume

Retrieves conversation category and status mix for the selected analytics period.

channelIds
Any of:
Array<string>
rangeEnd

The end date of the analytics period.

string format: date-time
nullable

The end date of the analytics period.

rangeStart

The start date of the analytics period.

string format: date-time
nullable

The start date of the analytics period.

responderIds
Any of:
Array<string>

Chat category and status volume retrieved successfully.

Media typeapplication/json
object
categories
required

Category mix for conversations in the selected period.

Array<object>
object
count
required

Conversations in this category for the selected period.

integer
id
required

Stable id for the category slice.

string
label
required

Category label shown on the chart.

string
parent
required

Optional group that contains this category.

string
nullable
classified
required

Conversations in the period that have a category.

integer
conversations
required

Distinct conversations in the selected period.

integer
statuses
required

Status mix for conversations in the selected period.

Array<object>
object
count
required

Conversations in this status for the selected period.

integer
id
required

Stable id for the status slice.

string
label
required

Status label shown on the chart.

string
unclassified
required

Conversations in the period without a category.

integer
Examplegenerated
{
"categories": [
{
"count": 1,
"id": "example",
"label": "example",
"parent": "example"
}
],
"classified": 1,
"conversations": 1,
"statuses": [
{
"count": 1,
"id": "example",
"label": "example"
}
],
"unclassified": 1
}

Unauthorized.

Media typeapplication/json

The description of a known exception.

object
code

The error code.

string
cta

The error call-to-action.

object
type
required
string
Allowed values: support-contact
url
required
string format: uri
feedback
required

The error feedback.

object
enUs
string
esEs
string
ptBr
string
message
required

The error message.

string
name
required

The error name.

string
Example
{
"cta": {
"type": "support-contact"
}
}