Agent

Submit Hitl Decision

patch

Submit a Human-in-the-Loop (HITL) decision for an agent approval request.

Authorizations
OAuth2passwordRequired
Token URL:
cookie
__Secure-next-auth.session-tokenany ofOptional
stringOptional
or
nullOptional
Body

Request model for submitting Human-in-the-Loop (HITL) decisions.

Attributes: request_id (str): The UUID observed in the stream. decision (str): The decision made by the user - one of "approved", "rejected", or "skipped". operator_input (str | None): Free-form comment for audit/UIs. Defaults to empty string if omitted. run_id (str | None): Pass through if you track session identifiers on the client side.

request_idstringRequired

The UUID observed in the stream

decisionstring · enumRequired

The decision made by the user - one of 'approved', 'rejected', or 'skipped'

Possible values:
operator_inputstringOptional

Free-form comment for audit/UIs. Defaults to empty string if omitted.

Default: ""
run_idany ofOptional

Pass through if you track session identifiers on the client side.

stringOptional
or
nullOptional
Responses
patch
/agents/hitl/decision

Last updated