Get traffic analytics.
Changed onReturns a breakdown of conversation volume by deployment channel (e.g. web widget, API, Slack, WhatsApp) over the requested time window. Use the filters query parameter to scope the report.
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the agent to get traffic for
Query parameters
Filters to return traffic metrics for.
Response
Get the traffic metrics for an agent
Example response
{
"status": "success",
"data": {
"sources": [
{
"request_source": "web",
"request_source_number": 20
}
]
}
}Changes
- warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
ama-tryenum value to the///response property for the response status - warning
added the new
onboardingenum value to the///response property for the response status - warning
added the new
scheduleenum value to the///response property for the response status - info
added the non-success response with the status
- warning
- info
endpoint added
- info