Skip to main content
GET
Get an attempt

Authorizations

Authorization
string
header
required

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

Path Parameters

attempt_id
string
required

The attempt’s id (at_…).

Response

OK

One try of one case with one agent: a fresh machine, a real GuidingHand task on it, the simulated customer, the check and the judge.

object
any
attempt_id
string
Example:

"at_Lc0aQ3Vb7sT2"

test_run_id
string
test_case_id
string
key
string | null
agent_id
string
try
integer

Which try of this case and agent, from 1.

retry_of
string | null

The attempt this one retries, after an error.

status
enum<string>
Available options:
queued,
preparing,
running,
checking,
done,
cancelled
outcome
enum<string> | null

error: something on GuidingHand’s side (the machine didn’t start, the check didn’t print False before the task, …). Errors never count against the agent and are retried up to 2 times.

Available options:
passed,
failed,
error,
null
task_id
string | null

The GuidingHand task it ran.

replay_url
string | null

The task’s replay in the console.

check
object | null

The check script’s output before and after the task.

judge
object | null

The rubric’s verdict.

customer
object[]

The simulated customer’s turns.

error
string | null
metrics
object | null
runner_id
string | null
created_at
string<date-time>
started_at
string<date-time> | null
finished_at
string<date-time> | null
test_case
object

The case as it was when the run started.