Decide an approval raised by a work session
Approves or rejects an action a turn proposed. The platform runs it; the agent never holds the credential. A rejection needs a note saying why — the agent reads it and takes another route.
An EGRESS approval releases a credentialed request the agent already formed, so its parameters cannot be edited (422 egress_not_editable) and only an approver the agent version names may decide it (403 not_an_approver).
If approval ownership cannot be resolved the call fails closed with 503: releasing a credentialed request without that check is never safe.
Learn more: Work sessions
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
approvalId
Request
This endpoint expects an object.
decision
Allowed values:
note
editedParams
edits
Response
The decided approval.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
503
Service Unavailable Error