Check the current status of an optimization job.
Poll this endpoint after submitting a route via POST /planner/v2. Status values:
queued — waiting to be processedrunning — optimization in progresssucceeded — route optimized, retrieve result with GET /planner/optimizations/{optimization_id}/resultnot_drivable — route cannot be completed with the given parametersfailed — an error occurredcanceled — job was canceledcurl --request GET \
--url https://staging.api.fryte.xyz/planner/jobs/{job_id} \
--header 'Authorization: Bearer <token>'{
"job_id": "c3f1c944-a44c-4c07-ab52-7df7ba94024a",
"optimization_id": 7658,
"status": "succeeded",
"tour_id": 7615,
"vehicle_id": "010160700001"
}Documentation Index
Fetch the complete documentation index at: https://docs.fryte.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Job identifier returned by POST /planner/v2.
Tenant ID
Successful Response
curl --request GET \
--url https://staging.api.fryte.xyz/planner/jobs/{job_id} \
--header 'Authorization: Bearer <token>'{
"job_id": "c3f1c944-a44c-4c07-ab52-7df7ba94024a",
"optimization_id": 7658,
"status": "succeeded",
"tour_id": 7615,
"vehicle_id": "010160700001"
}