Skip to main content
POST
Approve an action (carry it out)

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

action_id
string
required

The action's id, from GET /v1/workbench/actions

Required string length: 1 - 128

Body

application/json
item_ids
string[] | null

For a tool_approval: approve only these tool calls; omit to approve every pending one

Required array length: 1 - 100 elements
Maximum string length: 128
note
string | null

What you decided, in your own words: read back by the digital worker that raised it

Maximum string length: 2000
updated_at
string | null

The action's updated_at as you read it (GET /v1/workbench/actions/{action_id}): a 409, with nothing done, when it changed since. Optional

Required string length: 1 - 64

Response

200 - application/json

Successful Response

action
WorkbenchActionDetail · object
required

The action as it now is

conversation_status
ConversationStatusAfter · object | null

For a reply on a conversation: the conversation's status as decided after it went out (or a loop-in was marked done), as the app decides and shows it; null when nothing was decided

message
string | null

What carrying it out did, as the app says it

success
boolean | null

Whether it was carried out in full: false when some of a tool approval's calls failed (each call's status and error are in the action's payload.tools); null for a dismiss