Skip to main content
POST
Create conversation ticket

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Body

application/json

Agent issue to create.

conversation_id
string
required

Conversation this agent issue is about.

title
string | null

One-line headline shown in the issues list. Defaults to one derived from the comments, falling back to the conversation's summary title. Ignored when the comment is added to the conversation's open issue.

Required string length: 1 - 120
qa_comment
string | null

The problem this agent issue is about, covering the whole conversation rather than a single turn.

Required string length: 1 - 10000
turn_comments
TurnCommentRequestModel · object[]

Optional turn-level comments on what went wrong.

Maximum array length: 200
priority
enum<string> | null

How urgently the agent issue needs attention. If the conversation already has an open issue, it is raised to this priority when lower.

Available options:
low,
medium,
high,
urgent

Response

Successful Response

agentqa_ticket_id
string
required
workspace_id
string
required
owner_user_id
string
required
agent_id
string
required
needs_clustering
boolean
required
title
string | null
required

One-line headline for the agent issue. None only on issues created before titles existed.

labels
string[]
required
conversation_ids
string[]
required
first_seen_unix_secs
integer | null
required
last_seen_unix_secs
integer | null
required
qa_comment
string | null
required
ticket_comments
TicketCommentResponseModel · object[]
required
turn_comments
TurnCommentResponseModel · object[]
required
status
enum<string>
required
Available options:
open,
in_progress,
resolved,
cancelled,
merged
priority
enum<string> | null
required
Available options:
low,
medium,
high,
urgent
priority_changes
TicketPriorityChangeResponseModel · object[]
required
status_changes
TicketStatusChangeResponseModel · object[]
required
source
enum<string>
required
Available options:
qa,
agent,
manual
assignee_user_id
string | null
required
created_at_unix_secs
integer
required
updated_at_unix_secs
integer
required
merged_into_ticket_id
string | null

The agent issue this one was merged into, set while its status is 'merged'.

search_match
TicketSearchMatchResponseModel · object | null

Where the list's search query matched. Set only on searched lists.