Raw workflow.json definition (admin)
Returns the object's `workflow.json` source with its content `version`. Admin-only; requires a project directory.
/api/objects/{name}/workflow/specReturns the object's workflow.json source with its content version. Admin-only; requires a project directory.
Authorization
bearerAuth API key present in auth.source (or resolved by an AuthResolver).
In: header
Path Parameters
Object name from objects/<name>/schema.json.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/objects/string/workflow/spec"{ "source": "string", "version": "string", "hash": "string"}Workflow history for a record GET
Returns the instance state plus every step and workitem (oldest first).
Write workflow.json (admin) PUT
Validates and atomically writes `objects/<name>/workflow.json` then commits. Body `{ source }` or `{ nodes, version? }`; `expectVersion` is a strict optimistic lock. Affects new records; running instances keep their pinned revision.