Skip to main content
POST
/
v1
/
simulation
/
plan
/
{planId}
/
job
Run a simulation plan
curl --request POST \
  --url https://api.roark.ai/v1/simulation/plan/{planId}/job \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "simulationRunPlanId": "9a8b7c6d-5e4f-3210-abcd-ef9876543210",
    "simulationRunPlanJobId": "7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f",
    "status": "PENDING",
    "createdAt": "2024-01-15T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

planId
any
required

Simulation run plan ID

Response

Successfully triggered simulation run plan

data
object
required

Response when triggering a simulation run plan

Example:
{
"simulationRunPlanId": "9a8b7c6d-5e4f-3210-abcd-ef9876543210",
"simulationRunPlanJobId": "7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f",
"status": "PENDING",
"createdAt": "2024-01-15T10:30:00Z"
}