Create an approval request
Returns immediately with an event_id; poll the result endpoint by it for the decision.
Authentication
AuthorizationBearer
Organization-scoped API key.
Headers
X-API-Version
Idempotency-Key
Idempotency key; duplicate submissions return the original event.
Request
This endpoint expects an object.
projectName
Slug of an existing project (create it ahead of time)
summary
Human-readable summary of the action needing approval
taskId
Target task — create one via POST /tasks first
attachments
Upload ids of attached files to render for this request (must already be attached to the task)
externalTraceId
Optional link to the agent author's observability trace
keyValueContext
Display context as a plain key→value object (order/dup-keys are the client’s concern)
recommendation
Response
Created