Skip to main content
POST
Cancel a response

Authorizations

Authorization
string
header
required

An org API key (gh_live_…) from Settings → API keys in the console.

Path Parameters

response_id
string
required

The response’s id.

Response

The response.

object
any
id
string
Example:

"resp_…"

conversation_id
string
status
enum<string>

requires_action: paused on a request in output (an approval or question item) until someone decides it. Send the decision to POST /v1/agents/{agent_id}/responses (approval, answer, or an A2UI action on its surface), and this same response carries on.

Available options:
in_progress,
requires_action,
completed,
failed,
cancelled
error
string | null
output
object[]

This turn’s items.

usage
object

What the reply used, set when it ends (empty until then). Its tokens are paid from the balance at the model’s price, rounded up to a whole cent per reply. The browser and desktop tasks it started are charged as tasks.

created_at
string<date-time>
ended_at
string<date-time> | null
queued_message
object

Only when your message was queued (202): its item.