Skip to main content
POST
Accept a proposed change

Authorizations

Authorization
string
header
required

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

Path Parameters

escalation_id
string
required

The escalation’s id, like esc_….

Response

The escalation, resolved.

object
string
Allowed value: "escalation"
id
string
agent_id
string
kind
enum<string>
Available options:
approval,
question,
procedure_failed,
procedure_change,
handoff
status
enum<string>
Available options:
open,
resolved
source
enum<string>

eval: raised only by eval runs so far (no webhooks).

Available options:
live,
eval
summary
string

What happened, in a sentence or two.

count
integer

How many runs raised it (a procedure escalation adds repeats to the open one).

procedure
object | null

The procedure, as the run got it.

failed_at
string | null

The step it failed at or left.

proposal
object | null

For procedure_change: the procedure body rewritten to what worked, from base_revision.

owner
string | null

For handoff: who the agent said should take it.

details
string | null

For handoff: what the agent knew when it handed the request over (what was asked, identifiers, lookups, the open point).

tasks
string[]

The runs that raised it, newest first (up to 20).

conversation_id
string | null
request_id
string | null

For an approval or question: its approval_id or question_id.

created_at
string<date-time>
last_seen_at
string<date-time>
resolved_at
string<date-time> | null
resolution
enum<string> | null

fixed: the procedure got a new revision (resolved_revision); deleted: it was deleted. handled: the team marked a hand-off done.

Available options:
decided,
answered,
timed_out,
moved_on,
fixed,
deleted,
accepted,
rejected,
dismissed,
handled,
null
resolved_by
object | null
resolved_revision
integer | null