Skip to main content
POST
Dismiss a failed run, mark a hand-off handled, or close an expert question

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,
procedure_new,
expert,
transfer
status
enum<string>
Available options:
open,
resolved
source
enum<string>

eval: raised only by eval runs so far (no webhooks). test: sent for real from a team member's test chat (test_escalations: "real"), to check where escalations go: emailed, posted to Slack or Teams and sent to the webhook like a live one, marked as a test, and not counted in open_count.

Available options:
live,
eval,
test
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
delivery
object

Retrieve only: where it went.

question
string

expert only: what the agent asked its team.

on_hold
integer

expert only: how many callers are holding on the line for the answer right now (an agent on a call asks while the caller holds, and tells them the answer in the same call).

waiting
object[]

expert only: the conversations waiting for the answer, one for each time the same question was asked (the expert answers once).

answer
object | null

expert: the team's answer, once there is one. handoff: set when the team answered it by recording how they dealt with it in the Eager app (Record the answer in the console): what the agent was given to tell the person.

messages
integer

transfer only: how many messages were written while the team had the conversation.