v5
OpenAPI 3.1.02026-08-043621,4011.8 MBAgents Workspace Analytics
Run Conversation Analysis
Run the analysis for a conversation using the agent's current evaluation criteria and data collection settings.
post/v1/convai/conversations/{conversation_id}/analysis/run
Path parameters
conversation_idstring required
ID of the conversation
ID of the conversation
Headers
xi-api-keystring nullable
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"agent_id": "agent_3701k3ttaq12ewp8b7qv5rfyszkz",
"agent_name": "My agent",
"conversation_id": "conv_7401k5m9x2p8ec3rqv6dtnhb0fzw",
"environment": "production",
"has_audio": true,
"has_auxiliary_audio": true,
"has_response_audio": true,
"has_user_audio": true,
"metadata": {
"call_duration_secs": 10,
"start_time_unix_secs": 1714423232
},
"status": "processing",
"tag_ids": [],
"transcript": [
{
"message": "Hello, how are you?",
"role": "user",
"time_in_call_secs": 10
}
],
"version_id": "agtvrsn_5xM3yVvZQKV0EfqQpLr2"
}