Actions

Solve

Will trigger the solver run asynchronously.

post/v2/vrp/solve

Query parameters

millisstring nullable

Maximum solve time in millis

Headers

instancestring nullable

Compute instance type. Only normal for now

Request body

hookstring uri nullable

Optional webhook URL that will receive a POST request with the job ID when the optimization is complete. This enables asynchronous processing where you can submit a request and be notified when results are ready, rather than waiting for the synchronous response.

labelstring nullable

Example request

{
  "jobs": [
    {
      "name": "1",
      "duration": 3600
    },
    {
      "name": "2",
      "duration": 3600
    }
  ],
  "resources": [
    {
      "name": "1"
    }
  ]
}

Response

Status

idstring required

Job ID

status'QUEUED' | 'SOLVING' | 'SOLVED' | 'ERROR' nullable

Status of the solve.

solveDurationinteger nullable

Duration of the solve in seconds

Example response

{
  "status": "SOLVING"
}

Changes