Skip to main content
POST
File a person's verdict on a step

Headers

x-user-id
string
required

Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.

Path Parameters

sop_run_id
string
required

Body

application/json

Request body for a person's verdict on a step.

step_index
integer
required

Which step is being judged, by its position.

Required range: x >= 0
passed
boolean
required

Whether the attempt is accepted.

message
string
default:""

Why it was refused, handed to the author verbatim.

Response

Successful Response

One run of a procedure.

user_id
string
required
sop_id
string
required
definition
SOPData · object
required

A procedure: its milestones, in order.

id
string

Unique identifier for the credential.

updated_at
string<date-time>
created_at
string<date-time>
sessions
Sessions · object
state
SOPRunState · object

One execution of a SOP, and the whole of what is worth saving.

It covers the SOP's own state and nothing below it: an executor that keeps state of its own (an :class:~..agent.Agent does) is persisted by whoever built it, the same way it is built.