---
title: "Create Agent Conversation Ticket"
method: POST
path: "/v1/convai/triage-tickets"
---

# Create Agent Conversation Ticket

`POST /v1/convai/triage-tickets`

Raise a ticket about an agent's performance on a conversation, for triage with Architect. Provide an overall comment and/or turn-level comments describing what went wrong.

## Headers

- `xi-api-key` string, 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.

## Request body

- CreateAgentConversationTicketRequestModel
  - `conversation_id` string, required — Conversation this ticket is about.
  - `qa_comment` string, nullable — The QA finding covering the whole conversation.
  - `turn_comments` TurnCommentRequestModel[] — Optional turn-level comments on what went wrong.
    - `turn_index` integer, required — Zero-based index of the transcript turn this comment refers to.
    - `comment` string, required — What went wrong at this turn.

## Response `200`

Successful Response

- AgentConversationTicketResponseModel
  - `agentqa_ticket_id` string, required
  - `workspace_id` string, required
  - `owner_user_id` string, required
  - `agent_id` string, required
  - `needs_clustering` boolean, required
  - `issue_type` 'knowledge_gap' | 'product_feedback' | 'tool_issue' | 'missing_tool' | 'unnecessary_escalation', required
  - `labels` string[], required
  - `conversation_ids` string[], required
  - `first_seen_unix_secs` integer, nullable, required
  - `last_seen_unix_secs` integer, nullable, required
  - `qa_comment` string, nullable, required
  - `ticket_comments` TicketCommentResponseModel[], required
    - `comment` string, required
    - `created_at_unix_secs` integer, required
    - `owner_user_id` string, nullable, required
  - `turn_comments` TurnCommentResponseModel[], required
    - `turn_index` integer, required
    - `comment` string, required
    - `created_at_unix_secs` integer, required
    - `owner_user_id` string, nullable, required
  - `status` 'open' | 'in_progress' | 'resolved' | 'merged', required
  - `source` 'qa' | 'agent' | 'manual', required
  - `assignee_user_id` string, nullable, required
  - `created_at_unix_secs` integer, required
  - `updated_at_unix_secs` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/revisions/1a31d01a1fb9/schema)
