/api/simulations/scenario/{id}/ticks

Last updated on 26th March 2024

GET

Returns progress of current scenario run.

Request

Example request body

curl -X GET \
  http://localhost:8080/api/simulations/scenario/eb8d46a9-878e-4556-a3f3-19ac9b7e858d/ticks

Response

An double value between 0 and 1 where 0 is a scenario that hasn't begun and 1 is a scenario that whose run has completed.

Response Schema

Status Code 200

Example 200 response body

1

Status Code **404**
Name Type Required
message string true

Example 404 response body

{
  "message": "Could not find simulation '5af75d69-1926-4ef2-a56f-07ad5f85673b'"
}