Skip to main content
POST
Approve a Brief's run plan

Authorizations

Authorization
string
header
required

Headers

X-Workspace-Id
string<uuid>
required

UUID of the workspace to act in. Take it from GET /me (workspaces[].id). A key scoped to specific workspaces is rejected with 403 WORKSPACE_NOT_ALLOWED for any other id; a missing header is 400 WORKSPACE_REQUIRED.

Path Parameters

id
string<uuid>
required

Brief id

Body

application/json
planId
string<uuid>
required
inputHash
string
required
Pattern: ^[a-f0-9]{64}$
expectedVersion
integer
required
Required range: x >= 0

Response

Run queued. Location points at the Run

data
object
required
poll
string
required

/api/v1/jobs/{jobId}