Last updated 2 months ago
Was this helpful?
Demo accounts are only available when the engine is running in development mode.
curl -L \ --url '/info'
No body
curl -L \ --url '/demo-accounts'
curl -L \ --url '/scenarios' \ --header 'Authorization: Bearer jwt'
[ { "id": "text", "name": "text", "title": "text", "description": "text" } ]
Scenario ID
application/json
application/yaml
curl -L \ --url '/scenarios/{id}' \ --header 'Authorization: Bearer jwt'
curl -L \ --request DELETE \ --url '/scenarios/{id}' \ --header 'Authorization: Bearer jwt'
List page (max 100 processes per page)
Also return processes where user is not an actor in (admin only)
curl -L \ --url '/processes' \ --header 'Authorization: Bearer jwt'
Process ID
curl -L \ --url '/processes/{id}' \ --header 'Authorization: Bearer jwt'
curl -L \ --url '/apikey' \ --header 'Authorization: Bearer jwt'
[ { "id": "text", "token": "text", "name": "text", "description": {}, "issued": "2025-03-24T14:38:25.455Z", "expirationDays": 1, "expiration": "2025-03-24T14:38:25.455Z", "lastUsed": "2025-03-24T14:38:25.455Z", "revoked": "2025-03-24T14:38:25.455Z", "privileges": "scenario:read", "processes": [ { "scenario": "123e4567-e89b-12d3-a456-426614174000", "actors": [ "text" ], "actions": [ "text" ] } ] } ]
curl -L \ --request DELETE \ --url '/apikey/{id}' \ --header 'Authorization: Bearer jwt'
curl -L \ --request POST \ --url '/scenarios' \ --header 'Authorization: Bearer jwt' \ --header 'Content-Type: application/json' \ --data '{}'
curl -L \ --request POST \ --url '/processes' \ --header 'Authorization: Bearer jwt' \ --header 'As-Actor: text' \ --header 'Content-Type: application/json' \ --data '{ "scenario": "text", "actors": { "ANY_ADDITIONAL_PROPERTY": { "id": "text", "title": "text", "ANY_ADDITIONAL_PROPERTY": "anything" } }, "action": {} }'
Process action
Specify actor when multiple actors could have performed the action and actor cannot be determined based on the user
curl -L \ --request POST \ --url '/processes/{id}/{action}' \ --header 'Authorization: Bearer jwt' \ --header 'Content-Type: application/json' \ --data '"text"'
curl -L \ --request POST \ --url '/apikey' \ --header 'Authorization: Bearer jwt' \ --header 'Content-Type: application/json' \ --data '{ "name": "text", "description": "text", "privileges": [ "scenario:read" ], "processes": [ { "scenario": "123e4567-e89b-12d3-a456-426614174000", "actors": [ "text" ], "actions": [ "text" ] } ] }'
{ "id": "text", "token": "text", "name": "text", "description": {}, "issued": "2025-03-24T14:38:25.455Z", "expirationDays": 1, "expiration": "2025-03-24T14:38:25.455Z", "lastUsed": "2025-03-24T14:38:25.455Z", "revoked": "2025-03-24T14:38:25.455Z", "privileges": "scenario:read", "processes": [ { "scenario": "123e4567-e89b-12d3-a456-426614174000", "actors": [ "text" ], "actions": [ "text" ] } ] }