POST
/
v2
/
ai-agents
/
{ai_agent_id}
/
postcall-analysis
{
  "items": [
    {
      "type": "string",
      "name": "<string>",
      "description": "<string>",
      "analysis_prompt": "<string>",
      "response_format": {}
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "created_by_user_id": "<string>",
  "ai_agent_id": "<string>"
}

Path Parameters

ai_agent_id
string
required

Body

application/json
items
object[]
required

List of analysis items to configure for post-call analysis. Each item defines what should be analyzed and how

Specifies that this analysis item will return a text string result

Response

201
application/json
Successful Response
items
object[]
required

List of analysis items configured for post-call analysis

Specifies that this analysis item will return a text string result

created_by_user_id
string
required

Identifier of the user who created this analysis configuration

ai_agent_id
string
required

Identifier of the AI agent this analysis configuration is associated with

created_at
string

Timestamp when this analysis configuration was created, in UTC

updated_at
string | null

Timestamp when this analysis configuration was last modified, in UTC. Null if never modified