Skip to content

API

API description

The API is implemented as a long poll API.

Endpoints Asynchronous API

sending request

api/v1/asynchronous/request

returns an object with an job id:

{"scenario": [[job_id]]}

checking status

post the job id object to

api/v1/asynchronous/status

returns:

{"status": [["waiting" | "running" | "finished" | "not found"]], "complete": [[integer]]}

"complete" shows the progress in percent.

{"status": "running", "complete": 100}

is not sufficient. please wait for

{"status": "finished", "complete": 100}

fecthing results

post the job id object to:

api/v1/asynchronous/result

returns:

{"scenario": {...},
 "config_expanded": {...},
 "creation time": "..."}