Skip to main content
POST
Agent key only: report progress or the content-free result of one command

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Minimum string length: 1

Body

application/json
state
enum<string>
required
Available options:
running,
succeeded,
failed
failure_code
string
Pattern: ^[a-z][a-z0-9_]{0,63}$
failure_detail
string
Maximum string length: 256
phase
string
Pattern: ^[a-z][a-z0-9_]{0,63}$
result
object

Numbers only: no prompt, answer, header, log line, or address.

Response

Success

cancelled
boolean
required

Stop and remove the candidate.

state
string
required
lease_expires_at
string<date-time>