Last updated 3 months ago
Was this helpful?
Demo accounts are only available when the engine is running in development mode.
GET /info HTTP/1.1 Host: Accept: */*
No content
GET /demo-accounts HTTP/1.1 Host: Accept: */*
GET /scenarios HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
Success
[ { "id": "text", "name": "text", "title": "text", "description": "text" } ]
Scenario ID
application/json
application/yaml
GET /scenarios/{id} HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
DELETE /scenarios/{id} HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
No Content
List page (max 100 processes per page)
Also return processes where user is not an actor in (admin only)
GET /processes HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
Process ID
GET /processes/{id} HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
GET /apikey HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
[ { "id": "text", "token": "text", "name": "text", "description": {}, "issued": "2025-04-25T07:29:44.717Z", "expirationDays": 1, "expiration": "2025-04-25T07:29:44.717Z", "lastUsed": "2025-04-25T07:29:44.717Z", "revoked": "2025-04-25T07:29:44.717Z", "privileges": "scenario:read", "processes": [ { "scenario": "123e4567-e89b-12d3-a456-426614174000", "actors": [ "text" ], "actions": [ "text" ] } ] } ]
DELETE /apikey/{id} HTTP/1.1 Host: Authorization: Bearer jwt Accept: */*
POST /scenarios HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 2 {}
Created
POST /processes HTTP/1.1 Host: Authorization: Bearer jwt As-Actor: text Content-Type: application/json Accept: */* Content-Length: 134 { "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
POST /processes/{id}/{action} HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 6 "text"
POST /apikey HTTP/1.1 Host: Authorization: Bearer jwt Content-Type: application/json Accept: */* Content-Length: 170 { "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-04-25T07:29:44.717Z", "expirationDays": 1, "expiration": "2025-04-25T07:29:44.717Z", "lastUsed": "2025-04-25T07:29:44.717Z", "revoked": "2025-04-25T07:29:44.717Z", "privileges": "scenario:read", "processes": [ { "scenario": "123e4567-e89b-12d3-a456-426614174000", "actors": [ "text" ], "actions": [ "text" ] } ] }