Skip to main content
POST
Approve paid work

Authorizations

Authorization
string
header
required

A workspace API key.

Headers

idempotency-key
string
required

Required stable id for this turn; reuse it after a timeout to receive the same answer.

Required string length: 1 - 255

Body

application/json
approval
string
required

approvals[].approval from POST /v1/sigma/turns, unchanged; it is signed.

Required string length: 16 - 16384
threadId
string | null

The threadId of the turn; refused when the approval came from another thread.

Required string length: 1 - 200

Response

Success.

success
boolean
required
ok
boolean
required
reason
string
tool
string
summary
string
credits
integer
Required range: -9007199254740991 <= x <= 9007199254740991
artifacts
object[]
jobId
string
replayed
boolean
{key}
any