Skip to main content
Get Statuses
curl --request POST \
  --url https://api.ionworks.com/simulations/statuses \
  --header 'Content-Type: application/json' \
  --data '
{
  "simulation_ids": [],
  "limit": 100,
  "offset": 0
}
'
[
  {
    "simulation_id": "<string>",
    "updated_at": "2023-11-07T05:31:56Z",
    "error": "<string>"
  }
]

Body

application/json
simulation_ids
string[]
limit
integer
default:100
Required range: 1 <= x <= 1000
offset
integer
default:0
Required range: x >= 0

Response

Successful Response

simulation_id
string
required
status
enum<string>
required

Possible statuses for a job

Available options:
pending,
processing,
waiting,
completed,
failed,
canceled
updated_at
string<date-time>
required
error
string | null
error_code
enum<string> | null

Machine-readable error codes for jobs.

Available options:
CONFIGURATION_ERROR,
SOLVER_ERROR,
EXECUTION_TIMEOUT,
SUBMISSION_FAILED,
INTERNAL_ERROR