WeaveKit Docs

Admin override (jump to a node or terminate)

Admin-only (`admin` role). Body `{ node }` jumps the record to that node; `{ state: 'canceled' | 'finished' }` terminates it.

PATCH/api/objects/{name}/{id}/workflow

Admin-only (admin role). Body { node } jumps the record to that node; { state: 'canceled' | 'finished' } terminates it.

Authorization

bearerAuth
AuthorizationBearer <token>

API key present in auth.source (or resolved by an AuthResolver).

In: header

Path Parameters

name*string

Object name from objects/<name>/schema.json.

id*string

Record id — the record_key encoding of the (possibly composite) primary key; returned as weave_id.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/objects/string/string/workflow"
{  "state": "string",  "nodeId": "string"}