Skip to main content
POST
Run a turn's situation against the step's current and a candidate instruction (nothing is saved)

Authorizations

Authorization
string
header
required

A workspace API key, sent as Authorization: Bearer sempera_sk_... Each operation names the one scope it needs. Scopes, key kinds and roles are in the Authentication guide.

Headers

Idempotency-Key
string

Replays the stored answer for a retry of the same request; 409 for a different request under the same key.

Maximum string length: 255

Response

Accepted

id
string
required
object
any
required
agent_id
string
required
client
string
required
by
string
required
state
enum<string>
required
Available options:
queued,
running,
completed,
failed,
interrupted
step
string
required
current_prompt
string
required
candidate_prompt
string | null
required
version_number
integer | null
required
started_at
string
required
finished_at
string | null
required
detail
string | null
required
evidence_class
any
required
situations
object[]
required
summary
object | null
required
proposal
object | null
required