Skip to main content
POST
Approve or reject a run

Authorizations

Authorization
string
header
required

Send Authorization: Bearer YOUR_API_KEY. The key resolves to a single organization.

Path Parameters

id
string<uuid>
required
approvalId
string<uuid>
required

Body

application/json
decision
enum<string>
required
Available options:
approve,
reject
note
string | null
Maximum string length: 2000

Response

Successful response.

approval
object
required

An owner approval request for a run over the spend cap or threshold.

run
object
required

A run: what it compares, its state, progress and cost.

{key}
any