{
"code": "no_vehicles_found",
"message": "No Vehicles Found"
}
Use this endpoint to build a new route or overwrite an existing route that shares the same name and date. Detrack runs an optimization engine to sequence the supplied job_ids, compute ETAs, and return totals such as distance and duration. If the route already exists, it is replaced with the newly computed plan.
Known issues:
If you re-plan with the same name and date and the request fails validation, the existing plan has already been deleted and isn’t replaced. Check your request before re-planning (DTR-6207).
Each name in vehicles matches any vehicle whose name contains it, ignoring case. For example, Driver 1 also selects Driver 10. Use vehicle names that aren’t contained in other names (DTR-6206).
Vehicle working hours (from and to) are configured per driver inside the Detrack app; they are not part of the API request payload.
Each route has two levels:
The plan (the top-level object) holds the plan’s status, depot, and totals across all vehicles.
planned_routes has one entry per vehicle, with that vehicle’s status, start_time, completion_time, time window, and its planned_jobs in delivery order (job_sequence, eta_time).
Jobs that couldn’t be placed on any vehicle are in the plan-level unplanned_jobs. The plan-level vehicle shows one of the plan’s vehicles; use planned_routes[].vehicle to see which vehicle drives which route. See Route status for what each status value means.
Errors
Validation errors return 422 with a code and message. The API checks the request in the order below and stops at the first failure.
code
When
invalid_data
The request body has no data object.
missing_name_or_date
data.name or data.date is missing.
missing_jobs
data.job_ids is missing or empty.
missing_vehicles
data.vehicles is missing or empty.
error_vehicles
data.vehicles isn’t an array.
no_vehicles_found
None of the names in data.vehicles match a vehicle in your account.
validation_failed
The plan couldn’t be saved. The errors array lists each failing field and its codes.
{ "code": "no_vehicles_found", "message": "No Vehicles Found"}
{
"code": "no_vehicles_found",
"message": "No Vehicles Found"
}
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Detrack V2 API","colors":{"primary":"#0EA5E9","light":"#38BDF8","dark":"#0369A1"},"logo":{"light":"https://mintcdn.com/detrack/rsdMYc6lFdL5npcT/logo/detrack.png?fit=max\u0026auto=format\u0026n=rsdMYc6lFdL5npcT\u0026q=85\u0026s=222e2ae604737e372c37f9a071538d1c","dark":"https://mintcdn.com/detrack/rsdMYc6lFdL5npcT/logo/detrack.png?fit=max\u0026auto=format\u0026n=rsdMYc6lFdL5npcT\u0026q=85\u0026s=222e2ae604737e372c37f9a071538d1c","href":"https://www.detrack.com"},"favicon":"https://mintcdn.com/detrack/jNyJV7SfRfO4pYfP/favicon.svg?fit=max\u0026auto=format\u0026n=jNyJV7SfRfO4pYfP\u0026q=85\u0026s=74cccbe11b48f85d94379fc2291ff18d","api":{"playground":{"display":"simple","proxy":false}},"appearance":{"default":"light","strict":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"detrack","hasAudioNarration":false,"actualSubdomain":"detrack","customDomains":[],"gitSource":{"type":"github","owner":"detrack","repo":"mintlify-public-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6afbff9763b1d58394897d14","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"API Reference","count":35},{"language":"default","tag":"Jobs","count":13},{"language":"default","tag":"Documentation","count":10},{"language":"default","tag":"Contacts","count":6},{"language":"default","tag":"Depots","count":6},{"language":"default","tag":"Contact imports","count":5},{"language":"default","tag":"Get Started","count":5},{"language":"default","tag":"Core Concepts","count":5},{"language":"default","tag":"Routes","count":3},{"language":"default","tag":"Vehicle checks","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/routes/plan","slug":"/api-reference/routes/plan","pageMetadata":{"title":"Plan a route","sidebarTitle":"Plan route","description":"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.","openapi":"POST /dn/routes/plan","href":"/api-reference/routes/plan"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Use this endpoint to build a new route or overwrite an existing route that shares the same `,_jsx(_components.code,{children:`name`}),` and `,_jsx(_components.code,{children:`date`}),`. Detrack runs an optimization engine to sequence the supplied `,_jsx(_components.code,{children:`job_ids`}),`, compute ETAs, and return totals such as distance and duration. If the route already exists, it is replaced with the newly computed plan.`]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Known issues:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If you re-plan with the same `,_jsx(_components.code,{children:`name`}),` and `,_jsx(_components.code,{children:`date`}),` and the request fails validation, the existing plan has already been deleted and isn’t replaced. Check your request before re-planning (`,_jsx(_components.a,{href:`https://detrack.atlassian.net/browse/DTR-6207`,children:`DTR-6207`}),`).`]}),`\n`,_jsxs(_components.li,{children:[`Each name in `,_jsx(_components.code,{children:`vehicles`}),` matches any vehicle whose name contains it, ignoring case. For example, `,_jsx(_components.code,{children:`Driver 1`}),` also selects `,_jsx(_components.code,{children:`Driver 10`}),`. Use vehicle names that aren’t contained in other names (`,_jsx(_components.a,{href:`https://detrack.atlassian.net/browse/DTR-6206`,children:`DTR-6206`}),`).`]}),`\n`]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Vehicle working hours (`,_jsx(_components.code,{children:`from`}),` and `,_jsx(_components.code,{children:`to`}),`) are configured per driver inside the Detrack app; they are not part of the API request payload.`]})}),`\n`,_jsx(_components.p,{children:`Each route has two levels:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`The plan`}),` (the top-level object) holds the plan’s `,_jsx(_components.code,{children:`status`}),`, depot, and totals across all vehicles.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`planned_routes`})}),` has one entry per vehicle, with that vehicle’s `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`start_time`}),`, `,_jsx(_components.code,{children:`completion_time`}),`, time window, and its `,_jsx(_components.code,{children:`planned_jobs`}),` in delivery order (`,_jsx(_components.code,{children:`job_sequence`}),`, `,_jsx(_components.code,{children:`eta_time`}),`).`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Jobs that couldn’t be placed on any vehicle are in the plan-level `,_jsx(_components.code,{children:`unplanned_jobs`}),`. The plan-level `,_jsx(_components.code,{children:`vehicle`}),` shows one of the plan’s vehicles; use `,_jsx(_components.code,{children:`planned_routes[].vehicle`}),` to see which vehicle drives which route. See `,_jsx(_components.a,{href:`/concepts/routes#route-status`,children:`Route status`}),` for what each `,_jsx(_components.code,{children:`status`}),` value means.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`Validation errors return `,_jsx(_components.code,{children:`422`}),` with a `,_jsx(_components.code,{children:`code`}),` and `,_jsx(_components.code,{children:`message`}),`. The API checks the request in the order below and stops at the first failure.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:_jsx(_components.code,{children:`code`})}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid_data`})}),_jsxs(_components.td,{children:[`The request body has no `,_jsx(_components.code,{children:`data`}),` object.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_name_or_date`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`data.name`}),` or `,_jsx(_components.code,{children:`data.date`}),` is missing.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_jobs`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`data.job_ids`}),` is missing or empty.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`missing_vehicles`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`data.vehicles`}),` is missing or empty.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error_vehicles`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`data.vehicles`}),` isn’t an array.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no_vehicles_found`})}),_jsxs(_components.td,{children:[`None of the names in `,_jsx(_components.code,{children:`data.vehicles`}),` match a vehicle in your account.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`validation_failed`})}),_jsxs(_components.td,{children:[`The plan couldn’t be saved. The `,_jsx(_components.code,{children:`errors`}),` array lists each failing `,_jsx(_components.code,{children:`field`}),` and its `,_jsx(_components.code,{children:`codes`}),`.`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"no_vehicles_found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No Vehicles Found\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/errors`,children:`Errors`}),` for other status codes.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Plan a route","sidebarTitle":"Plan route","description":"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.","openapi":"POST /dn/routes/plan","href":"/api-reference/routes/plan"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Errors","slug":"errors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Routes"],"operationId":"planRoute","summary":"Plan a route","description":"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.","requestBody":"9d2af5c9-e349-4ef1-a21d-7777b2fe3604","responses":{"200":"5e980460-6dea-495b-a268-add20e9a5d1e","202":"c42451cd-a20c-42b9-841f-39ba7c041950","400":"6e32bd9b-e5f4-493e-8a4e-20d18f1674da","401":"decea3da-b2af-465f-98af-e3831842fba4","403":"13660a6a-e84e-4f61-b4b9-16290fa608e5","422":"56eac326-1ad9-406a-a42e-f429c733da23","default":"0904fedf-65e2-4dec-a00e-03e2a154b3ac"},"method":"post","type":"path","servers":["cdb0fbef-66b5-4170-b44d-db2ea0c7f212"],"security":["207345cc-b789-4672-8971-ea4e720c6c0e"],"path":"/dn/routes/plan","baseUrlOptions":["https://app.detrack.com/api/v2"],"title":"Plan a route","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["name","date","vehicles","job_ids"],"properties":{"name":{"type":"string","description":"Route name. Must be unique per date.","example":"sample_run","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"date":{"type":"string","format":"date","example":"2026-09-15","isRequired":true,"uniqueKey":"data.date","typeLabel":"string\u003cdate>"},"vehicles":{"type":"array","minItems":1,"items":{"type":"string","uniqueKey":"data.vehicles.items.[INDEX]","typeLabel":"string"},"description":"Names of the vehicles to plan across. Each name currently matches any vehicle whose name contains it, ignoring case (DTR-6206).","example":["Driver 1","Driver 2"],"isRequired":true,"uniqueKey":"data.vehicles","typeLabel":"string[]"},"job_ids":{"type":"array","minItems":1,"items":{"type":"string","uniqueKey":"data.job_ids.items.[INDEX]","typeLabel":"string"},"description":"Detrack job IDs to plan.","isRequired":true,"uniqueKey":"data.job_ids","typeLabel":"string[]"},"depot_location":{"oneOf":[{"type":"object","title":"Saved depot","description":"Start depot. Required when `manual_depot` is `true`.","required":["id"],"properties":{"id":{"type":"string","example":"674ecabbe8ec54052f7ead41","isRequired":true,"uniqueKey":"data.depot_location.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"data.depot_location.oneOf.0","typeLabel":"Saved depot · object"},{"type":"object","title":"Depot by name","description":"Start depot. Required when `manual_depot` is `true`.","required":["name","address"],"properties":{"name":{"type":"string","description":"Depot name. An existing depot with the same name is updated.","example":"Main Depot","isRequired":true,"uniqueKey":"data.depot_location.oneOf.1.name","typeLabel":"string"},"address":{"type":"string","description":"Full address that can be geocoded.","example":"SM Mall of Asia, Seaside Blvd, Pasay, Metro Manila","isRequired":true,"uniqueKey":"data.depot_location.oneOf.1.address","typeLabel":"string"},"addr_1":{"type":"string","uniqueKey":"data.depot_location.oneOf.1.addr_1","typeLabel":"string"},"addr_2":{"type":"string","uniqueKey":"data.depot_location.oneOf.1.addr_2","typeLabel":"string"},"addr_3":{"type":"string","uniqueKey":"data.depot_location.oneOf.1.addr_3","typeLabel":"string"},"zip_code":{"type":"string","uniqueKey":"data.depot_location.oneOf.1.zip_code","typeLabel":"string"},"city":{"type":"string","uniqueKey":"data.depot_location.oneOf.1.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"data.depot_location.oneOf.1.state","typeLabel":"string"}},"uniqueKey":"data.depot_location.oneOf.1","typeLabel":"Depot by name · object"}],"uniqueKey":"data.depot_location","typeLabel":"Saved depot · object | Depot by name · object"},"end_depot_location":{"oneOf":[{"type":"object","title":"Saved depot","description":"End depot, in the same format as `depot_location`.","required":["id"],"properties":{"id":{"type":"string","example":"674ecabbe8ec54052f7ead41","isRequired":true,"uniqueKey":"data.end_depot_location.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"data.end_depot_location.oneOf.0","typeLabel":"Saved depot · object"},{"type":"object","title":"Depot by name","description":"End depot, in the same format as `depot_location`.","required":["name","address"],"properties":{"name":{"type":"string","description":"Depot name. An existing depot with the same name is updated.","example":"Main Depot","isRequired":true,"uniqueKey":"data.end_depot_location.oneOf.1.name","typeLabel":"string"},"address":{"type":"string","description":"Full address that can be geocoded.","example":"SM Mall of Asia, Seaside Blvd, Pasay, Metro Manila","isRequired":true,"uniqueKey":"data.end_depot_location.oneOf.1.address","typeLabel":"string"},"addr_1":{"type":"string","uniqueKey":"data.end_depot_location.oneOf.1.addr_1","typeLabel":"string"},"addr_2":{"type":"string","uniqueKey":"data.end_depot_location.oneOf.1.addr_2","typeLabel":"string"},"addr_3":{"type":"string","uniqueKey":"data.end_depot_location.oneOf.1.addr_3","typeLabel":"string"},"zip_code":{"type":"string","uniqueKey":"data.end_depot_location.oneOf.1.zip_code","typeLabel":"string"},"city":{"type":"string","uniqueKey":"data.end_depot_location.oneOf.1.city","typeLabel":"string"},"state":{"type":"string","uniqueKey":"data.end_depot_location.oneOf.1.state","typeLabel":"string"}},"uniqueKey":"data.end_depot_location.oneOf.1","typeLabel":"Depot by name · object"}],"uniqueKey":"data.end_depot_location","typeLabel":"Saved depot · object | Depot by name · object"},"mode":{"type":"string","enum":["drive","light_truck","medium_truck","truck","heavy_truck"],"default":"drive","uniqueKey":"data.mode","typeLabel":"enum\u003cstring>"},"manual_time_windows":{"type":"boolean","default":false,"description":"Set to `true` to use `time_window_from` and `time_window_to` for the whole plan. When `false`, each vehicle's own working hours are used, and every vehicle must have them set.","uniqueKey":"data.manual_time_windows","typeLabel":"boolean"},"time_window_from":{"type":"string","description":"`HH:MM`, 24-hour. Required and used only when `manual_time_windows` is `true`.","example":"07:00","uniqueKey":"data.time_window_from","typeLabel":"string"},"time_window_to":{"type":"string","description":"`HH:MM`, 24-hour. Required and used only when `manual_time_windows` is `true`.","example":"23:50","uniqueKey":"data.time_window_to","typeLabel":"string"},"traffic":{"type":"string","default":"free_flow","description":"Traffic model for the routing engine: `free_flow` (default) or `approximated`.","uniqueKey":"data.traffic","typeLabel":"string"},"max_speed":{"type":"number","description":"Maximum vehicle speed, in your account's distance unit: km/h for accounts that use kilometres, mph for accounts that use miles (converted to km/h for the routing engine).","uniqueKey":"data.max_speed","typeLabel":"number"},"service_time":{"type":"integer","description":"Minutes per stop.","uniqueKey":"data.service_time","typeLabel":"integer"},"manual_service_time":{"type":"boolean","default":false,"uniqueKey":"data.manual_service_time","typeLabel":"boolean"},"avoid_toll":{"type":"boolean","default":false,"uniqueKey":"data.avoid_toll","typeLabel":"boolean"},"manual_depot":{"type":"boolean","default":false,"uniqueKey":"data.manual_depot","typeLabel":"boolean"},"manual_end_depot":{"type":"boolean","default":false,"uniqueKey":"data.manual_end_depot","typeLabel":"boolean"},"retain_assignments":{"type":"boolean","default":false,"uniqueKey":"data.retain_assignments","typeLabel":"boolean"},"assign_route":{"type":"boolean","default":false,"description":"Apply the plan to the jobs: each job gets its sequence, ETA, run number, and driver, and its `status` becomes `dispatched` (`out_for_delivery` in courier mode). Completed, partially completed, and failed jobs aren't changed.","uniqueKey":"data.assign_route","typeLabel":"boolean"},"vrp_exclude_send_driver":{"type":"boolean","default":false,"description":"With `assign_route`, jobs get their sequence, ETA, and run number, but no driver, and their `status` doesn't change.","uniqueKey":"data.vrp_exclude_send_driver","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"name":"sample_run","date":"2026-09-15","vehicles":["Driver 1","Driver 2"],"job_ids":["\u003cstring>"],"depot_location":{"id":"674ecabbe8ec54052f7ead41"},"end_depot_location":{"id":"674ecabbe8ec54052f7ead41"},"mode":"drive","manual_time_windows":false,"time_window_from":"07:00","time_window_to":"23:50","traffic":"free_flow","max_speed":123,"service_time":123,"manual_service_time":false,"avoid_toll":false,"manual_depot":false,"manual_end_depot":false,"retain_assignments":false,"assign_route":false,"vrp_exclude_send_driver":false}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5e980460-6dea-495b-a268-add20e9a5d1e":{"description":"Optimization finished.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","example":"69001c6de8ec5410e2570bb3","uniqueKey":"data.id","typeLabel":"string"},"name":{"type":"string","example":"sample_run","uniqueKey":"data.name","typeLabel":"string"},"date":{"type":"string","format":"date","example":"2026-09-15","uniqueKey":"data.date","typeLabel":"string\u003cdate>"},"mode":{"type":"string","example":"drive","uniqueKey":"data.mode","typeLabel":"string"},"status":{"type":"string","description":"Plan status: `new` or `routing_in_progress` while optimizing, then `to_be_confirm`, `routing_completed`, or `routing_failed`. See [Route status](/concepts/routes#route-status).","example":"to_be_confirm","uniqueKey":"data.status","typeLabel":"string"},"message":{"oneOf":[{"type":"string","uniqueKey":"data.message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.message","typeLabel":"string | null"},"vehicle":{"type":"object","additionalProperties":true,"description":"One of the plan's vehicles. Use `planned_routes[].vehicle` to see which vehicle drives which route.","uniqueKey":"data.vehicle","typeLabel":"object"},"job_ids":{"type":"array","items":{"type":"string","uniqueKey":"data.job_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"data.job_ids","typeLabel":"string[]"},"depot_location":{"type":"object","properties":{"id":{"type":"string","readOnly":true,"example":"68f0d416e8ec54cbf4a04dba","uniqueKey":"data.depot_location.id","typeLabel":"string"},"name":{"type":"string","example":"Main Depot","uniqueKey":"data.depot_location.name","typeLabel":"string"},"address":{"type":"string","example":"SM Megamall, EDSA corner Doña Julia Vargas Ave, Mandaluyong, 1550 Metro Manila","uniqueKey":"data.depot_location.address","typeLabel":"string"},"addr_1":{"oneOf":[{"type":"string","uniqueKey":"data.depot_location.addr_1.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.depot_location.addr_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.depot_location.addr_1","typeLabel":"string | null"},"addr_2":{"oneOf":[{"type":"string","uniqueKey":"data.depot_location.addr_2.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.depot_location.addr_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.depot_location.addr_2","typeLabel":"string | null"},"addr_3":{"oneOf":[{"type":"string","uniqueKey":"data.depot_location.addr_3.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.depot_location.addr_3.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.depot_location.addr_3","typeLabel":"string | null"},"zip_code":{"oneOf":[{"type":"string","uniqueKey":"data.depot_location.zip_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.depot_location.zip_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.depot_location.zip_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","uniqueKey":"data.depot_location.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.depot_location.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.depot_location.country","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","uniqueKey":"data.depot_location.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.depot_location.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.depot_location.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","uniqueKey":"data.depot_location.state.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.depot_location.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.depot_location.state","typeLabel":"string | null"},"country_id":{"oneOf":[{"type":"string","readOnly":true,"uniqueKey":"data.depot_location.country_id.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"uniqueKey":"data.depot_location.country_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.depot_location.country_id","typeLabel":"string | null"},"location":{"type":"array","readOnly":true,"description":"Coordinates as `[longitude, latitude]`.","items":{"type":"number","uniqueKey":"data.depot_location.location.items.[INDEX]","typeLabel":"number"},"example":[121.055626,14.583941],"uniqueKey":"data.depot_location.location","typeLabel":"number[]"},"address_lat":{"type":"number","readOnly":true,"example":14.583941,"uniqueKey":"data.depot_location.address_lat","typeLabel":"number"},"address_lng":{"type":"number","readOnly":true,"example":121.055626,"uniqueKey":"data.depot_location.address_lng","typeLabel":"number"}},"uniqueKey":"data.depot_location","typeLabel":"object"},"end_depot_location":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","readOnly":true,"example":"68f0d416e8ec54cbf4a04dba","uniqueKey":"data.end_depot_location.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","example":"Main Depot","uniqueKey":"data.end_depot_location.oneOf.0.name","typeLabel":"string"},"address":{"type":"string","example":"SM Megamall, EDSA corner Doña Julia Vargas Ave, Mandaluyong, 1550 Metro Manila","uniqueKey":"data.end_depot_location.oneOf.0.address","typeLabel":"string"},"addr_1":{"oneOf":[{"type":"string","uniqueKey":"data.end_depot_location.oneOf.0.addr_1.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.end_depot_location.oneOf.0.addr_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location.oneOf.0.addr_1","typeLabel":"string | null"},"addr_2":{"oneOf":[{"type":"string","uniqueKey":"data.end_depot_location.oneOf.0.addr_2.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.end_depot_location.oneOf.0.addr_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location.oneOf.0.addr_2","typeLabel":"string | null"},"addr_3":{"oneOf":[{"type":"string","uniqueKey":"data.end_depot_location.oneOf.0.addr_3.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.end_depot_location.oneOf.0.addr_3.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location.oneOf.0.addr_3","typeLabel":"string | null"},"zip_code":{"oneOf":[{"type":"string","uniqueKey":"data.end_depot_location.oneOf.0.zip_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.end_depot_location.oneOf.0.zip_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location.oneOf.0.zip_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","uniqueKey":"data.end_depot_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.end_depot_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location.oneOf.0.country","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","uniqueKey":"data.end_depot_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.end_depot_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","uniqueKey":"data.end_depot_location.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.end_depot_location.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location.oneOf.0.state","typeLabel":"string | null"},"country_id":{"oneOf":[{"type":"string","readOnly":true,"uniqueKey":"data.end_depot_location.oneOf.0.country_id.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"uniqueKey":"data.end_depot_location.oneOf.0.country_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location.oneOf.0.country_id","typeLabel":"string | null"},"location":{"type":"array","readOnly":true,"description":"Coordinates as `[longitude, latitude]`.","items":{"type":"number","uniqueKey":"data.end_depot_location.oneOf.0.location.items.[INDEX]","typeLabel":"number"},"example":[121.055626,14.583941],"uniqueKey":"data.end_depot_location.oneOf.0.location","typeLabel":"number[]"},"address_lat":{"type":"number","readOnly":true,"example":14.583941,"uniqueKey":"data.end_depot_location.oneOf.0.address_lat","typeLabel":"number"},"address_lng":{"type":"number","readOnly":true,"example":121.055626,"uniqueKey":"data.end_depot_location.oneOf.0.address_lng","typeLabel":"number"}},"uniqueKey":"data.end_depot_location.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.end_depot_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.end_depot_location","typeLabel":"object | null"},"total_distance":{"type":"number","description":"Meters, across all vehicles.","example":15107,"uniqueKey":"data.total_distance","typeLabel":"number"},"total_time":{"type":"number","description":"Seconds, across all vehicles.","example":4373.497,"uniqueKey":"data.total_time","typeLabel":"number"},"total_planned":{"type":"integer","example":3,"uniqueKey":"data.total_planned","typeLabel":"integer"},"total_unplanned":{"type":"integer","example":0,"uniqueKey":"data.total_unplanned","typeLabel":"integer"},"type":{"type":"string","example":"balanced","uniqueKey":"data.type","typeLabel":"string"},"jobs":{"type":"array","description":"Only while the plan is still optimizing (`new` or `routing_in_progress`): the jobs being planned, in place of `planned_routes`.","items":{"type":"object","properties":{"id":{"type":"string","example":"68e0bac7e8ec545357500616","uniqueKey":"data.jobs.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","example":"Delivery","uniqueKey":"data.jobs.items.[INDEX].type","typeLabel":"string"},"status":{"type":"string","example":"dispatched","uniqueKey":"data.jobs.items.[INDEX].status","typeLabel":"string"},"do_number":{"type":"string","example":"DO-10001","uniqueKey":"data.jobs.items.[INDEX].do_number","typeLabel":"string"},"address":{"type":"string","example":"Vicente Sotto St, CCP Complex, Pasay 1307","uniqueKey":"data.jobs.items.[INDEX].address","typeLabel":"string"},"deliver_to_collect_from":{"oneOf":[{"type":"string","uniqueKey":"data.jobs.items.[INDEX].deliver_to_collect_from.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.jobs.items.[INDEX].deliver_to_collect_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jobs.items.[INDEX].deliver_to_collect_from","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","uniqueKey":"data.jobs.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.jobs.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jobs.items.[INDEX].phone_number","typeLabel":"string | null"},"time_window_from":{"oneOf":[{"type":"string","example":"09:00","uniqueKey":"data.jobs.items.[INDEX].time_window_from.oneOf.0","typeLabel":"string"},{"type":"null","example":"09:00","uniqueKey":"data.jobs.items.[INDEX].time_window_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jobs.items.[INDEX].time_window_from","typeLabel":"string | null"},"time_window_to":{"oneOf":[{"type":"string","example":"12:00","uniqueKey":"data.jobs.items.[INDEX].time_window_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"12:00","uniqueKey":"data.jobs.items.[INDEX].time_window_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jobs.items.[INDEX].time_window_to","typeLabel":"string | null"},"job_sequence":{"type":"integer","example":1,"uniqueKey":"data.jobs.items.[INDEX].job_sequence","typeLabel":"integer"},"eta_time":{"type":"string","example":"07:05","uniqueKey":"data.jobs.items.[INDEX].eta_time","typeLabel":"string"},"run_number":{"type":"string","example":"1","uniqueKey":"data.jobs.items.[INDEX].run_number","typeLabel":"string"},"service_time":{"oneOf":[{"type":"integer","example":10,"uniqueKey":"data.jobs.items.[INDEX].service_time.oneOf.0","typeLabel":"integer"},{"type":"null","example":10,"uniqueKey":"data.jobs.items.[INDEX].service_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.jobs.items.[INDEX].service_time","typeLabel":"integer | null"},"geocoded_lat":{"type":"number","example":14.5542,"uniqueKey":"data.jobs.items.[INDEX].geocoded_lat","typeLabel":"number"},"geocoded_lng":{"type":"number","example":120.9839,"uniqueKey":"data.jobs.items.[INDEX].geocoded_lng","typeLabel":"number"},"has_latlng":{"type":"boolean","example":true,"uniqueKey":"data.jobs.items.[INDEX].has_latlng","typeLabel":"boolean"}},"uniqueKey":"data.jobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.jobs","typeLabel":"object[]"},"planned_routes":{"type":"array","description":"One entry per vehicle, once optimization has finished.","items":{"type":"object","description":"One vehicle's route within a plan.","properties":{"id":{"type":"string","example":"69001c6fe8ec5410e2570bc0","uniqueKey":"data.planned_routes.items.[INDEX].id","typeLabel":"string"},"vrp_id":{"type":"string","example":"69001c6de8ec5410e2570bb3","uniqueKey":"data.planned_routes.items.[INDEX].vrp_id","typeLabel":"string"},"name":{"type":"string","example":"1","uniqueKey":"data.planned_routes.items.[INDEX].name","typeLabel":"string"},"date":{"type":"string","format":"date","example":"2026-09-15","uniqueKey":"data.planned_routes.items.[INDEX].date","typeLabel":"string\u003cdate>"},"status":{"type":"string","description":"Vehicle route status: `to_be_confirm`, `route_assigned`, `route_assigned_without_driver`, or `unplanned_jobs`. See [Route status](/concepts/routes#route-status).","example":"to_be_confirm","uniqueKey":"data.planned_routes.items.[INDEX].status","typeLabel":"string"},"vehicle":{"type":"object","additionalProperties":true,"description":"The vehicle and its driver details.","uniqueKey":"data.planned_routes.items.[INDEX].vehicle","typeLabel":"object"},"time_window_from":{"type":"string","example":"07:00","uniqueKey":"data.planned_routes.items.[INDEX].time_window_from","typeLabel":"string"},"time_window_to":{"type":"string","example":"23:50","uniqueKey":"data.planned_routes.items.[INDEX].time_window_to","typeLabel":"string"},"start_time":{"type":"string","example":"07:00","uniqueKey":"data.planned_routes.items.[INDEX].start_time","typeLabel":"string"},"completion_time":{"type":"string","example":"08:12","uniqueKey":"data.planned_routes.items.[INDEX].completion_time","typeLabel":"string"},"total_distance":{"type":"number","description":"Meters.","example":15107,"uniqueKey":"data.planned_routes.items.[INDEX].total_distance","typeLabel":"number"},"total_time":{"type":"number","description":"Seconds.","example":4373.497,"uniqueKey":"data.planned_routes.items.[INDEX].total_time","typeLabel":"number"},"total_planned":{"type":"integer","example":3,"uniqueKey":"data.planned_routes.items.[INDEX].total_planned","typeLabel":"integer"},"total_unplanned":{"type":"integer","example":0,"uniqueKey":"data.planned_routes.items.[INDEX].total_unplanned","typeLabel":"integer"},"planned_jobs":{"type":"array","description":"Jobs in delivery order.","items":{"type":"object","properties":{"id":{"type":"string","example":"68e0bac7e8ec545357500616","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","example":"Delivery","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].type","typeLabel":"string"},"status":{"type":"string","example":"dispatched","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].status","typeLabel":"string"},"do_number":{"type":"string","example":"DO-10001","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].do_number","typeLabel":"string"},"address":{"type":"string","example":"Vicente Sotto St, CCP Complex, Pasay 1307","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].address","typeLabel":"string"},"deliver_to_collect_from":{"oneOf":[{"type":"string","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].deliver_to_collect_from","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].phone_number","typeLabel":"string | null"},"time_window_from":{"oneOf":[{"type":"string","example":"09:00","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_from.oneOf.0","typeLabel":"string"},{"type":"null","example":"09:00","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_from","typeLabel":"string | null"},"time_window_to":{"oneOf":[{"type":"string","example":"12:00","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"12:00","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_to","typeLabel":"string | null"},"job_sequence":{"type":"integer","example":1,"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].job_sequence","typeLabel":"integer"},"eta_time":{"type":"string","example":"07:05","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].eta_time","typeLabel":"string"},"run_number":{"type":"string","example":"1","uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].run_number","typeLabel":"string"},"service_time":{"oneOf":[{"type":"integer","example":10,"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].service_time.oneOf.0","typeLabel":"integer"},{"type":"null","example":10,"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].service_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].service_time","typeLabel":"integer | null"},"geocoded_lat":{"type":"number","example":14.5542,"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].geocoded_lat","typeLabel":"number"},"geocoded_lng":{"type":"number","example":120.9839,"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].geocoded_lng","typeLabel":"number"},"has_latlng":{"type":"boolean","example":true,"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX].has_latlng","typeLabel":"boolean"}},"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.planned_routes.items.[INDEX].planned_jobs","typeLabel":"object[]"},"unplanned_jobs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"68e0bac7e8ec545357500616","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","example":"Delivery","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].type","typeLabel":"string"},"status":{"type":"string","example":"dispatched","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].status","typeLabel":"string"},"do_number":{"type":"string","example":"DO-10001","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].do_number","typeLabel":"string"},"address":{"type":"string","example":"Vicente Sotto St, CCP Complex, Pasay 1307","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].address","typeLabel":"string"},"deliver_to_collect_from":{"oneOf":[{"type":"string","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].deliver_to_collect_from","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].phone_number","typeLabel":"string | null"},"time_window_from":{"oneOf":[{"type":"string","example":"09:00","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_from.oneOf.0","typeLabel":"string"},{"type":"null","example":"09:00","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_from","typeLabel":"string | null"},"time_window_to":{"oneOf":[{"type":"string","example":"12:00","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"12:00","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_to","typeLabel":"string | null"},"job_sequence":{"type":"integer","example":1,"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].job_sequence","typeLabel":"integer"},"eta_time":{"type":"string","example":"07:05","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].eta_time","typeLabel":"string"},"run_number":{"type":"string","example":"1","uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].run_number","typeLabel":"string"},"service_time":{"oneOf":[{"type":"integer","example":10,"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].service_time.oneOf.0","typeLabel":"integer"},{"type":"null","example":10,"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].service_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].service_time","typeLabel":"integer | null"},"geocoded_lat":{"type":"number","example":14.5542,"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].geocoded_lat","typeLabel":"number"},"geocoded_lng":{"type":"number","example":120.9839,"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].geocoded_lng","typeLabel":"number"},"has_latlng":{"type":"boolean","example":true,"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].has_latlng","typeLabel":"boolean"}},"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.planned_routes.items.[INDEX].unplanned_jobs","typeLabel":"object[]"}},"uniqueKey":"data.planned_routes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.planned_routes","typeLabel":"object[]"},"unplanned_jobs":{"type":"array","description":"Jobs that couldn't be placed on any vehicle.","items":{"type":"object","properties":{"id":{"type":"string","example":"68e0bac7e8ec545357500616","uniqueKey":"data.unplanned_jobs.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","example":"Delivery","uniqueKey":"data.unplanned_jobs.items.[INDEX].type","typeLabel":"string"},"status":{"type":"string","example":"dispatched","uniqueKey":"data.unplanned_jobs.items.[INDEX].status","typeLabel":"string"},"do_number":{"type":"string","example":"DO-10001","uniqueKey":"data.unplanned_jobs.items.[INDEX].do_number","typeLabel":"string"},"address":{"type":"string","example":"Vicente Sotto St, CCP Complex, Pasay 1307","uniqueKey":"data.unplanned_jobs.items.[INDEX].address","typeLabel":"string"},"deliver_to_collect_from":{"oneOf":[{"type":"string","uniqueKey":"data.unplanned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.unplanned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.unplanned_jobs.items.[INDEX].deliver_to_collect_from","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","uniqueKey":"data.unplanned_jobs.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.unplanned_jobs.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.unplanned_jobs.items.[INDEX].phone_number","typeLabel":"string | null"},"time_window_from":{"oneOf":[{"type":"string","example":"09:00","uniqueKey":"data.unplanned_jobs.items.[INDEX].time_window_from.oneOf.0","typeLabel":"string"},{"type":"null","example":"09:00","uniqueKey":"data.unplanned_jobs.items.[INDEX].time_window_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.unplanned_jobs.items.[INDEX].time_window_from","typeLabel":"string | null"},"time_window_to":{"oneOf":[{"type":"string","example":"12:00","uniqueKey":"data.unplanned_jobs.items.[INDEX].time_window_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"12:00","uniqueKey":"data.unplanned_jobs.items.[INDEX].time_window_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.unplanned_jobs.items.[INDEX].time_window_to","typeLabel":"string | null"},"job_sequence":{"type":"integer","example":1,"uniqueKey":"data.unplanned_jobs.items.[INDEX].job_sequence","typeLabel":"integer"},"eta_time":{"type":"string","example":"07:05","uniqueKey":"data.unplanned_jobs.items.[INDEX].eta_time","typeLabel":"string"},"run_number":{"type":"string","example":"1","uniqueKey":"data.unplanned_jobs.items.[INDEX].run_number","typeLabel":"string"},"service_time":{"oneOf":[{"type":"integer","example":10,"uniqueKey":"data.unplanned_jobs.items.[INDEX].service_time.oneOf.0","typeLabel":"integer"},{"type":"null","example":10,"uniqueKey":"data.unplanned_jobs.items.[INDEX].service_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.unplanned_jobs.items.[INDEX].service_time","typeLabel":"integer | null"},"geocoded_lat":{"type":"number","example":14.5542,"uniqueKey":"data.unplanned_jobs.items.[INDEX].geocoded_lat","typeLabel":"number"},"geocoded_lng":{"type":"number","example":120.9839,"uniqueKey":"data.unplanned_jobs.items.[INDEX].geocoded_lng","typeLabel":"number"},"has_latlng":{"type":"boolean","example":true,"uniqueKey":"data.unplanned_jobs.items.[INDEX].has_latlng","typeLabel":"boolean"}},"uniqueKey":"data.unplanned_jobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.unplanned_jobs","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":"69001c6de8ec5410e2570bb3","name":"sample_run","date":"2026-09-15","mode":"drive","status":"to_be_confirm","message":"\u003cstring>","vehicle":{},"job_ids":["\u003cstring>"],"depot_location":{"id":"68f0d416e8ec54cbf4a04dba","name":"Main Depot","address":"SM Megamall, EDSA corner Doña Julia Vargas Ave, Mandaluyong, 1550 Metro Manila","addr_1":"\u003cstring>","addr_2":"\u003cstring>","addr_3":"\u003cstring>","zip_code":"\u003cstring>","country":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country_id":"\u003cstring>","location":[121.055626,14.583941],"address_lat":14.583941,"address_lng":121.055626},"end_depot_location":{"id":"68f0d416e8ec54cbf4a04dba","name":"Main Depot","address":"SM Megamall, EDSA corner Doña Julia Vargas Ave, Mandaluyong, 1550 Metro Manila","addr_1":"\u003cstring>","addr_2":"\u003cstring>","addr_3":"\u003cstring>","zip_code":"\u003cstring>","country":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country_id":"\u003cstring>","location":[121.055626,14.583941],"address_lat":14.583941,"address_lng":121.055626},"total_distance":15107,"total_time":4373.497,"total_planned":3,"total_unplanned":0,"type":"balanced","jobs":[{"id":"68e0bac7e8ec545357500616","type":"Delivery","status":"dispatched","do_number":"DO-10001","address":"Vicente Sotto St, CCP Complex, Pasay 1307","deliver_to_collect_from":"\u003cstring>","phone_number":"\u003cstring>","time_window_from":"09:00","time_window_to":"12:00","job_sequence":1,"eta_time":"07:05","run_number":"1","service_time":10,"geocoded_lat":14.5542,"geocoded_lng":120.9839,"has_latlng":true}],"planned_routes":[{"id":"69001c6fe8ec5410e2570bc0","vrp_id":"69001c6de8ec5410e2570bb3","name":"1","date":"2026-09-15","status":"to_be_confirm","vehicle":{},"time_window_from":"07:00","time_window_to":"23:50","start_time":"07:00","completion_time":"08:12","total_distance":15107,"total_time":4373.497,"total_planned":3,"total_unplanned":0,"planned_jobs":[{"id":"68e0bac7e8ec545357500616","type":"Delivery","status":"dispatched","do_number":"DO-10001","address":"Vicente Sotto St, CCP Complex, Pasay 1307","deliver_to_collect_from":"\u003cstring>","phone_number":"\u003cstring>","time_window_from":"09:00","time_window_to":"12:00","job_sequence":1,"eta_time":"07:05","run_number":"1","service_time":10,"geocoded_lat":14.5542,"geocoded_lng":120.9839,"has_latlng":true}],"unplanned_jobs":[{"id":"68e0bac7e8ec545357500616","type":"Delivery","status":"dispatched","do_number":"DO-10001","address":"Vicente Sotto St, CCP Complex, Pasay 1307","deliver_to_collect_from":"\u003cstring>","phone_number":"\u003cstring>","time_window_from":"09:00","time_window_to":"12:00","job_sequence":1,"eta_time":"07:05","run_number":"1","service_time":10,"geocoded_lat":14.5542,"geocoded_lng":120.9839,"has_latlng":true}]}],"unplanned_jobs":[{"id":"68e0bac7e8ec545357500616","type":"Delivery","status":"dispatched","do_number":"DO-10001","address":"Vicente Sotto St, CCP Complex, Pasay 1307","deliver_to_collect_from":"\u003cstring>","phone_number":"\u003cstring>","time_window_from":"09:00","time_window_to":"12:00","job_sequence":1,"eta_time":"07:05","run_number":"1","service_time":10,"geocoded_lat":14.5542,"geocoded_lng":120.9839,"has_latlng":true}]}}}},"exampleType":"generated"}},"exampleType":"generated"},"c42451cd-a20c-42b9-841f-39ba7c041950":{"description":"Saved, but still optimizing. The plan is **not** wrapped in `data`, and has `jobs` instead of `planned_routes`.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"69001c6de8ec5410e2570bb3","uniqueKey":"id","typeLabel":"string"},"name":{"type":"string","example":"sample_run","uniqueKey":"name","typeLabel":"string"},"date":{"type":"string","format":"date","example":"2026-09-15","uniqueKey":"date","typeLabel":"string\u003cdate>"},"mode":{"type":"string","example":"drive","uniqueKey":"mode","typeLabel":"string"},"status":{"type":"string","description":"Plan status: `new` or `routing_in_progress` while optimizing, then `to_be_confirm`, `routing_completed`, or `routing_failed`. See [Route status](/concepts/routes#route-status).","example":"to_be_confirm","uniqueKey":"status","typeLabel":"string"},"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.1","typeLabel":"null"}],"uniqueKey":"message","typeLabel":"string | null"},"vehicle":{"type":"object","additionalProperties":true,"description":"One of the plan's vehicles. Use `planned_routes[].vehicle` to see which vehicle drives which route.","uniqueKey":"vehicle","typeLabel":"object"},"job_ids":{"type":"array","items":{"type":"string","uniqueKey":"job_ids.items.[INDEX]","typeLabel":"string"},"uniqueKey":"job_ids","typeLabel":"string[]"},"depot_location":{"type":"object","properties":{"id":{"type":"string","readOnly":true,"example":"68f0d416e8ec54cbf4a04dba","uniqueKey":"depot_location.id","typeLabel":"string"},"name":{"type":"string","example":"Main Depot","uniqueKey":"depot_location.name","typeLabel":"string"},"address":{"type":"string","example":"SM Megamall, EDSA corner Doña Julia Vargas Ave, Mandaluyong, 1550 Metro Manila","uniqueKey":"depot_location.address","typeLabel":"string"},"addr_1":{"oneOf":[{"type":"string","uniqueKey":"depot_location.addr_1.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"depot_location.addr_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"depot_location.addr_1","typeLabel":"string | null"},"addr_2":{"oneOf":[{"type":"string","uniqueKey":"depot_location.addr_2.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"depot_location.addr_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"depot_location.addr_2","typeLabel":"string | null"},"addr_3":{"oneOf":[{"type":"string","uniqueKey":"depot_location.addr_3.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"depot_location.addr_3.oneOf.1","typeLabel":"null"}],"uniqueKey":"depot_location.addr_3","typeLabel":"string | null"},"zip_code":{"oneOf":[{"type":"string","uniqueKey":"depot_location.zip_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"depot_location.zip_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"depot_location.zip_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","uniqueKey":"depot_location.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"depot_location.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"depot_location.country","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","uniqueKey":"depot_location.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"depot_location.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"depot_location.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","uniqueKey":"depot_location.state.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"depot_location.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"depot_location.state","typeLabel":"string | null"},"country_id":{"oneOf":[{"type":"string","readOnly":true,"uniqueKey":"depot_location.country_id.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"uniqueKey":"depot_location.country_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"depot_location.country_id","typeLabel":"string | null"},"location":{"type":"array","readOnly":true,"description":"Coordinates as `[longitude, latitude]`.","items":{"type":"number","uniqueKey":"depot_location.location.items.[INDEX]","typeLabel":"number"},"example":[121.055626,14.583941],"uniqueKey":"depot_location.location","typeLabel":"number[]"},"address_lat":{"type":"number","readOnly":true,"example":14.583941,"uniqueKey":"depot_location.address_lat","typeLabel":"number"},"address_lng":{"type":"number","readOnly":true,"example":121.055626,"uniqueKey":"depot_location.address_lng","typeLabel":"number"}},"uniqueKey":"depot_location","typeLabel":"object"},"end_depot_location":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","readOnly":true,"example":"68f0d416e8ec54cbf4a04dba","uniqueKey":"end_depot_location.oneOf.0.id","typeLabel":"string"},"name":{"type":"string","example":"Main Depot","uniqueKey":"end_depot_location.oneOf.0.name","typeLabel":"string"},"address":{"type":"string","example":"SM Megamall, EDSA corner Doña Julia Vargas Ave, Mandaluyong, 1550 Metro Manila","uniqueKey":"end_depot_location.oneOf.0.address","typeLabel":"string"},"addr_1":{"oneOf":[{"type":"string","uniqueKey":"end_depot_location.oneOf.0.addr_1.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"end_depot_location.oneOf.0.addr_1.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location.oneOf.0.addr_1","typeLabel":"string | null"},"addr_2":{"oneOf":[{"type":"string","uniqueKey":"end_depot_location.oneOf.0.addr_2.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"end_depot_location.oneOf.0.addr_2.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location.oneOf.0.addr_2","typeLabel":"string | null"},"addr_3":{"oneOf":[{"type":"string","uniqueKey":"end_depot_location.oneOf.0.addr_3.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"end_depot_location.oneOf.0.addr_3.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location.oneOf.0.addr_3","typeLabel":"string | null"},"zip_code":{"oneOf":[{"type":"string","uniqueKey":"end_depot_location.oneOf.0.zip_code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"end_depot_location.oneOf.0.zip_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location.oneOf.0.zip_code","typeLabel":"string | null"},"country":{"oneOf":[{"type":"string","uniqueKey":"end_depot_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"end_depot_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location.oneOf.0.country","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","uniqueKey":"end_depot_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"end_depot_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location.oneOf.0.city","typeLabel":"string | null"},"state":{"oneOf":[{"type":"string","uniqueKey":"end_depot_location.oneOf.0.state.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"end_depot_location.oneOf.0.state.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location.oneOf.0.state","typeLabel":"string | null"},"country_id":{"oneOf":[{"type":"string","readOnly":true,"uniqueKey":"end_depot_location.oneOf.0.country_id.oneOf.0","typeLabel":"string"},{"type":"null","readOnly":true,"uniqueKey":"end_depot_location.oneOf.0.country_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location.oneOf.0.country_id","typeLabel":"string | null"},"location":{"type":"array","readOnly":true,"description":"Coordinates as `[longitude, latitude]`.","items":{"type":"number","uniqueKey":"end_depot_location.oneOf.0.location.items.[INDEX]","typeLabel":"number"},"example":[121.055626,14.583941],"uniqueKey":"end_depot_location.oneOf.0.location","typeLabel":"number[]"},"address_lat":{"type":"number","readOnly":true,"example":14.583941,"uniqueKey":"end_depot_location.oneOf.0.address_lat","typeLabel":"number"},"address_lng":{"type":"number","readOnly":true,"example":121.055626,"uniqueKey":"end_depot_location.oneOf.0.address_lng","typeLabel":"number"}},"uniqueKey":"end_depot_location.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"end_depot_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"end_depot_location","typeLabel":"object | null"},"total_distance":{"type":"number","description":"Meters, across all vehicles.","example":15107,"uniqueKey":"total_distance","typeLabel":"number"},"total_time":{"type":"number","description":"Seconds, across all vehicles.","example":4373.497,"uniqueKey":"total_time","typeLabel":"number"},"total_planned":{"type":"integer","example":3,"uniqueKey":"total_planned","typeLabel":"integer"},"total_unplanned":{"type":"integer","example":0,"uniqueKey":"total_unplanned","typeLabel":"integer"},"type":{"type":"string","example":"balanced","uniqueKey":"type","typeLabel":"string"},"jobs":{"type":"array","description":"Only while the plan is still optimizing (`new` or `routing_in_progress`): the jobs being planned, in place of `planned_routes`.","items":{"type":"object","properties":{"id":{"type":"string","example":"68e0bac7e8ec545357500616","uniqueKey":"jobs.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","example":"Delivery","uniqueKey":"jobs.items.[INDEX].type","typeLabel":"string"},"status":{"type":"string","example":"dispatched","uniqueKey":"jobs.items.[INDEX].status","typeLabel":"string"},"do_number":{"type":"string","example":"DO-10001","uniqueKey":"jobs.items.[INDEX].do_number","typeLabel":"string"},"address":{"type":"string","example":"Vicente Sotto St, CCP Complex, Pasay 1307","uniqueKey":"jobs.items.[INDEX].address","typeLabel":"string"},"deliver_to_collect_from":{"oneOf":[{"type":"string","uniqueKey":"jobs.items.[INDEX].deliver_to_collect_from.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"jobs.items.[INDEX].deliver_to_collect_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"jobs.items.[INDEX].deliver_to_collect_from","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","uniqueKey":"jobs.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"jobs.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"jobs.items.[INDEX].phone_number","typeLabel":"string | null"},"time_window_from":{"oneOf":[{"type":"string","example":"09:00","uniqueKey":"jobs.items.[INDEX].time_window_from.oneOf.0","typeLabel":"string"},{"type":"null","example":"09:00","uniqueKey":"jobs.items.[INDEX].time_window_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"jobs.items.[INDEX].time_window_from","typeLabel":"string | null"},"time_window_to":{"oneOf":[{"type":"string","example":"12:00","uniqueKey":"jobs.items.[INDEX].time_window_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"12:00","uniqueKey":"jobs.items.[INDEX].time_window_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"jobs.items.[INDEX].time_window_to","typeLabel":"string | null"},"job_sequence":{"type":"integer","example":1,"uniqueKey":"jobs.items.[INDEX].job_sequence","typeLabel":"integer"},"eta_time":{"type":"string","example":"07:05","uniqueKey":"jobs.items.[INDEX].eta_time","typeLabel":"string"},"run_number":{"type":"string","example":"1","uniqueKey":"jobs.items.[INDEX].run_number","typeLabel":"string"},"service_time":{"oneOf":[{"type":"integer","example":10,"uniqueKey":"jobs.items.[INDEX].service_time.oneOf.0","typeLabel":"integer"},{"type":"null","example":10,"uniqueKey":"jobs.items.[INDEX].service_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"jobs.items.[INDEX].service_time","typeLabel":"integer | null"},"geocoded_lat":{"type":"number","example":14.5542,"uniqueKey":"jobs.items.[INDEX].geocoded_lat","typeLabel":"number"},"geocoded_lng":{"type":"number","example":120.9839,"uniqueKey":"jobs.items.[INDEX].geocoded_lng","typeLabel":"number"},"has_latlng":{"type":"boolean","example":true,"uniqueKey":"jobs.items.[INDEX].has_latlng","typeLabel":"boolean"}},"uniqueKey":"jobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"jobs","typeLabel":"object[]"},"planned_routes":{"type":"array","description":"One entry per vehicle, once optimization has finished.","items":{"type":"object","description":"One vehicle's route within a plan.","properties":{"id":{"type":"string","example":"69001c6fe8ec5410e2570bc0","uniqueKey":"planned_routes.items.[INDEX].id","typeLabel":"string"},"vrp_id":{"type":"string","example":"69001c6de8ec5410e2570bb3","uniqueKey":"planned_routes.items.[INDEX].vrp_id","typeLabel":"string"},"name":{"type":"string","example":"1","uniqueKey":"planned_routes.items.[INDEX].name","typeLabel":"string"},"date":{"type":"string","format":"date","example":"2026-09-15","uniqueKey":"planned_routes.items.[INDEX].date","typeLabel":"string\u003cdate>"},"status":{"type":"string","description":"Vehicle route status: `to_be_confirm`, `route_assigned`, `route_assigned_without_driver`, or `unplanned_jobs`. See [Route status](/concepts/routes#route-status).","example":"to_be_confirm","uniqueKey":"planned_routes.items.[INDEX].status","typeLabel":"string"},"vehicle":{"type":"object","additionalProperties":true,"description":"The vehicle and its driver details.","uniqueKey":"planned_routes.items.[INDEX].vehicle","typeLabel":"object"},"time_window_from":{"type":"string","example":"07:00","uniqueKey":"planned_routes.items.[INDEX].time_window_from","typeLabel":"string"},"time_window_to":{"type":"string","example":"23:50","uniqueKey":"planned_routes.items.[INDEX].time_window_to","typeLabel":"string"},"start_time":{"type":"string","example":"07:00","uniqueKey":"planned_routes.items.[INDEX].start_time","typeLabel":"string"},"completion_time":{"type":"string","example":"08:12","uniqueKey":"planned_routes.items.[INDEX].completion_time","typeLabel":"string"},"total_distance":{"type":"number","description":"Meters.","example":15107,"uniqueKey":"planned_routes.items.[INDEX].total_distance","typeLabel":"number"},"total_time":{"type":"number","description":"Seconds.","example":4373.497,"uniqueKey":"planned_routes.items.[INDEX].total_time","typeLabel":"number"},"total_planned":{"type":"integer","example":3,"uniqueKey":"planned_routes.items.[INDEX].total_planned","typeLabel":"integer"},"total_unplanned":{"type":"integer","example":0,"uniqueKey":"planned_routes.items.[INDEX].total_unplanned","typeLabel":"integer"},"planned_jobs":{"type":"array","description":"Jobs in delivery order.","items":{"type":"object","properties":{"id":{"type":"string","example":"68e0bac7e8ec545357500616","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","example":"Delivery","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].type","typeLabel":"string"},"status":{"type":"string","example":"dispatched","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].status","typeLabel":"string"},"do_number":{"type":"string","example":"DO-10001","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].do_number","typeLabel":"string"},"address":{"type":"string","example":"Vicente Sotto St, CCP Complex, Pasay 1307","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].address","typeLabel":"string"},"deliver_to_collect_from":{"oneOf":[{"type":"string","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].deliver_to_collect_from","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].phone_number","typeLabel":"string | null"},"time_window_from":{"oneOf":[{"type":"string","example":"09:00","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_from.oneOf.0","typeLabel":"string"},{"type":"null","example":"09:00","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_from","typeLabel":"string | null"},"time_window_to":{"oneOf":[{"type":"string","example":"12:00","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"12:00","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].time_window_to","typeLabel":"string | null"},"job_sequence":{"type":"integer","example":1,"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].job_sequence","typeLabel":"integer"},"eta_time":{"type":"string","example":"07:05","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].eta_time","typeLabel":"string"},"run_number":{"type":"string","example":"1","uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].run_number","typeLabel":"string"},"service_time":{"oneOf":[{"type":"integer","example":10,"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].service_time.oneOf.0","typeLabel":"integer"},{"type":"null","example":10,"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].service_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].service_time","typeLabel":"integer | null"},"geocoded_lat":{"type":"number","example":14.5542,"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].geocoded_lat","typeLabel":"number"},"geocoded_lng":{"type":"number","example":120.9839,"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].geocoded_lng","typeLabel":"number"},"has_latlng":{"type":"boolean","example":true,"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX].has_latlng","typeLabel":"boolean"}},"uniqueKey":"planned_routes.items.[INDEX].planned_jobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"planned_routes.items.[INDEX].planned_jobs","typeLabel":"object[]"},"unplanned_jobs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"68e0bac7e8ec545357500616","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","example":"Delivery","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].type","typeLabel":"string"},"status":{"type":"string","example":"dispatched","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].status","typeLabel":"string"},"do_number":{"type":"string","example":"DO-10001","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].do_number","typeLabel":"string"},"address":{"type":"string","example":"Vicente Sotto St, CCP Complex, Pasay 1307","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].address","typeLabel":"string"},"deliver_to_collect_from":{"oneOf":[{"type":"string","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].deliver_to_collect_from","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].phone_number","typeLabel":"string | null"},"time_window_from":{"oneOf":[{"type":"string","example":"09:00","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_from.oneOf.0","typeLabel":"string"},{"type":"null","example":"09:00","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_from","typeLabel":"string | null"},"time_window_to":{"oneOf":[{"type":"string","example":"12:00","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"12:00","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].time_window_to","typeLabel":"string | null"},"job_sequence":{"type":"integer","example":1,"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].job_sequence","typeLabel":"integer"},"eta_time":{"type":"string","example":"07:05","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].eta_time","typeLabel":"string"},"run_number":{"type":"string","example":"1","uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].run_number","typeLabel":"string"},"service_time":{"oneOf":[{"type":"integer","example":10,"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].service_time.oneOf.0","typeLabel":"integer"},{"type":"null","example":10,"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].service_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].service_time","typeLabel":"integer | null"},"geocoded_lat":{"type":"number","example":14.5542,"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].geocoded_lat","typeLabel":"number"},"geocoded_lng":{"type":"number","example":120.9839,"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].geocoded_lng","typeLabel":"number"},"has_latlng":{"type":"boolean","example":true,"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX].has_latlng","typeLabel":"boolean"}},"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"planned_routes.items.[INDEX].unplanned_jobs","typeLabel":"object[]"}},"uniqueKey":"planned_routes.items.[INDEX]","typeLabel":"object"},"uniqueKey":"planned_routes","typeLabel":"object[]"},"unplanned_jobs":{"type":"array","description":"Jobs that couldn't be placed on any vehicle.","items":{"type":"object","properties":{"id":{"type":"string","example":"68e0bac7e8ec545357500616","uniqueKey":"unplanned_jobs.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","example":"Delivery","uniqueKey":"unplanned_jobs.items.[INDEX].type","typeLabel":"string"},"status":{"type":"string","example":"dispatched","uniqueKey":"unplanned_jobs.items.[INDEX].status","typeLabel":"string"},"do_number":{"type":"string","example":"DO-10001","uniqueKey":"unplanned_jobs.items.[INDEX].do_number","typeLabel":"string"},"address":{"type":"string","example":"Vicente Sotto St, CCP Complex, Pasay 1307","uniqueKey":"unplanned_jobs.items.[INDEX].address","typeLabel":"string"},"deliver_to_collect_from":{"oneOf":[{"type":"string","uniqueKey":"unplanned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"unplanned_jobs.items.[INDEX].deliver_to_collect_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"unplanned_jobs.items.[INDEX].deliver_to_collect_from","typeLabel":"string | null"},"phone_number":{"oneOf":[{"type":"string","uniqueKey":"unplanned_jobs.items.[INDEX].phone_number.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"unplanned_jobs.items.[INDEX].phone_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"unplanned_jobs.items.[INDEX].phone_number","typeLabel":"string | null"},"time_window_from":{"oneOf":[{"type":"string","example":"09:00","uniqueKey":"unplanned_jobs.items.[INDEX].time_window_from.oneOf.0","typeLabel":"string"},{"type":"null","example":"09:00","uniqueKey":"unplanned_jobs.items.[INDEX].time_window_from.oneOf.1","typeLabel":"null"}],"uniqueKey":"unplanned_jobs.items.[INDEX].time_window_from","typeLabel":"string | null"},"time_window_to":{"oneOf":[{"type":"string","example":"12:00","uniqueKey":"unplanned_jobs.items.[INDEX].time_window_to.oneOf.0","typeLabel":"string"},{"type":"null","example":"12:00","uniqueKey":"unplanned_jobs.items.[INDEX].time_window_to.oneOf.1","typeLabel":"null"}],"uniqueKey":"unplanned_jobs.items.[INDEX].time_window_to","typeLabel":"string | null"},"job_sequence":{"type":"integer","example":1,"uniqueKey":"unplanned_jobs.items.[INDEX].job_sequence","typeLabel":"integer"},"eta_time":{"type":"string","example":"07:05","uniqueKey":"unplanned_jobs.items.[INDEX].eta_time","typeLabel":"string"},"run_number":{"type":"string","example":"1","uniqueKey":"unplanned_jobs.items.[INDEX].run_number","typeLabel":"string"},"service_time":{"oneOf":[{"type":"integer","example":10,"uniqueKey":"unplanned_jobs.items.[INDEX].service_time.oneOf.0","typeLabel":"integer"},{"type":"null","example":10,"uniqueKey":"unplanned_jobs.items.[INDEX].service_time.oneOf.1","typeLabel":"null"}],"uniqueKey":"unplanned_jobs.items.[INDEX].service_time","typeLabel":"integer | null"},"geocoded_lat":{"type":"number","example":14.5542,"uniqueKey":"unplanned_jobs.items.[INDEX].geocoded_lat","typeLabel":"number"},"geocoded_lng":{"type":"number","example":120.9839,"uniqueKey":"unplanned_jobs.items.[INDEX].geocoded_lng","typeLabel":"number"},"has_latlng":{"type":"boolean","example":true,"uniqueKey":"unplanned_jobs.items.[INDEX].has_latlng","typeLabel":"boolean"}},"uniqueKey":"unplanned_jobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"unplanned_jobs","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"69001c6de8ec5410e2570bb3","name":"sample_run","date":"2026-09-15","mode":"drive","status":"to_be_confirm","message":"\u003cstring>","vehicle":{},"job_ids":["\u003cstring>"],"depot_location":{"id":"68f0d416e8ec54cbf4a04dba","name":"Main Depot","address":"SM Megamall, EDSA corner Doña Julia Vargas Ave, Mandaluyong, 1550 Metro Manila","addr_1":"\u003cstring>","addr_2":"\u003cstring>","addr_3":"\u003cstring>","zip_code":"\u003cstring>","country":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country_id":"\u003cstring>","location":[121.055626,14.583941],"address_lat":14.583941,"address_lng":121.055626},"end_depot_location":{"id":"68f0d416e8ec54cbf4a04dba","name":"Main Depot","address":"SM Megamall, EDSA corner Doña Julia Vargas Ave, Mandaluyong, 1550 Metro Manila","addr_1":"\u003cstring>","addr_2":"\u003cstring>","addr_3":"\u003cstring>","zip_code":"\u003cstring>","country":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country_id":"\u003cstring>","location":[121.055626,14.583941],"address_lat":14.583941,"address_lng":121.055626},"total_distance":15107,"total_time":4373.497,"total_planned":3,"total_unplanned":0,"type":"balanced","jobs":[{"id":"68e0bac7e8ec545357500616","type":"Delivery","status":"dispatched","do_number":"DO-10001","address":"Vicente Sotto St, CCP Complex, Pasay 1307","deliver_to_collect_from":"\u003cstring>","phone_number":"\u003cstring>","time_window_from":"09:00","time_window_to":"12:00","job_sequence":1,"eta_time":"07:05","run_number":"1","service_time":10,"geocoded_lat":14.5542,"geocoded_lng":120.9839,"has_latlng":true}],"planned_routes":[{"id":"69001c6fe8ec5410e2570bc0","vrp_id":"69001c6de8ec5410e2570bb3","name":"1","date":"2026-09-15","status":"to_be_confirm","vehicle":{},"time_window_from":"07:00","time_window_to":"23:50","start_time":"07:00","completion_time":"08:12","total_distance":15107,"total_time":4373.497,"total_planned":3,"total_unplanned":0,"planned_jobs":[{"id":"68e0bac7e8ec545357500616","type":"Delivery","status":"dispatched","do_number":"DO-10001","address":"Vicente Sotto St, CCP Complex, Pasay 1307","deliver_to_collect_from":"\u003cstring>","phone_number":"\u003cstring>","time_window_from":"09:00","time_window_to":"12:00","job_sequence":1,"eta_time":"07:05","run_number":"1","service_time":10,"geocoded_lat":14.5542,"geocoded_lng":120.9839,"has_latlng":true}],"unplanned_jobs":[{"id":"68e0bac7e8ec545357500616","type":"Delivery","status":"dispatched","do_number":"DO-10001","address":"Vicente Sotto St, CCP Complex, Pasay 1307","deliver_to_collect_from":"\u003cstring>","phone_number":"\u003cstring>","time_window_from":"09:00","time_window_to":"12:00","job_sequence":1,"eta_time":"07:05","run_number":"1","service_time":10,"geocoded_lat":14.5542,"geocoded_lng":120.9839,"has_latlng":true}]}],"unplanned_jobs":[{"id":"68e0bac7e8ec545357500616","type":"Delivery","status":"dispatched","do_number":"DO-10001","address":"Vicente Sotto St, CCP Complex, Pasay 1307","deliver_to_collect_from":"\u003cstring>","phone_number":"\u003cstring>","time_window_from":"09:00","time_window_to":"12:00","job_sequence":1,"eta_time":"07:05","run_number":"1","service_time":10,"geocoded_lat":14.5542,"geocoded_lng":120.9839,"has_latlng":true}]}}},"exampleType":"generated"}},"exampleType":"generated"},"6e32bd9b-e5f4-493e-8a4e-20d18f1674da":{"description":"The request body isn't valid JSON.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","example":"not_found","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","example":"Could not find job with this DO number","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"invalid_json_format"},"examples":{"Example":{"title":"Example","value":{"code":"invalid_json_format"}}},"exampleType":"examples"}},"exampleType":"examples"},"decea3da-b2af-465f-98af-e3831842fba4":{"description":"The API key is missing or invalid. A missing `X-API-KEY` returns `{ \"error\": \"Missing Authorization header\" }`; an invalid key returns `{ \"code\": \"invalid_key\", \"message\": \"Invalid key\" }`.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","title":"Missing key","required":["error"],"properties":{"error":{"type":"string","example":"Missing Authorization header","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"Missing key · object"},{"type":"object","title":"Invalid key","required":["code"],"properties":{"code":{"type":"string","example":"invalid_key","isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"string"},"message":{"type":"string","example":"Invalid key","uniqueKey":"oneOf.1.message","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"Invalid key · object"}],"uniqueKey":"","typeLabel":"Missing key · object | Invalid key · object"},"example":{"code":"invalid_key","message":"Invalid key"},"examples":{"Example":{"title":"Example","value":{"code":"invalid_key","message":"Invalid key"}}},"exampleType":"examples"}},"exampleType":"examples"},"13660a6a-e84e-4f61-b4b9-16290fa608e5":{"description":"Your API key's user doesn't have permission for this action.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","example":"forbidden","uniqueKey":"code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"forbidden"},"examples":{"Example":{"title":"Example","value":{"code":"forbidden"}}},"exampleType":"examples"}},"exampleType":"examples"},"56eac326-1ad9-406a-a42e-f429c733da23":{"description":"Validation failed. `code` is one of `invalid_data`, `missing_name_or_date`, `missing_jobs`, `missing_vehicles`, `error_vehicles`, `no_vehicles_found`, or `validation_failed`. Only `validation_failed` includes an `errors` array.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","example":"validation_failed","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","example":"Validation Failed","uniqueKey":"message","typeLabel":"string"},"errors":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","example":"do_number","uniqueKey":"errors.items.[INDEX].field","typeLabel":"string"},"codes":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX].codes.items.[INDEX]","typeLabel":"string"},"example":["can't be blank"],"uniqueKey":"errors.items.[INDEX].codes","typeLabel":"string[]"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"no_vehicles_found","message":"No Vehicles Found"},"examples":{"Example":{"title":"Example","value":{"code":"no_vehicles_found","message":"No Vehicles Found"}}},"exampleType":"examples"}},"exampleType":"examples"},"0904fedf-65e2-4dec-a00e-03e2a154b3ac":{"description":"Unexpected server error. Retry with exponential backoff, and contact Detrack support if it persists.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{"207345cc-b789-4672-8971-ea4e720c6c0e":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your Detrack API key, from **Integrations > API Key** in the dashboard.","scopes":[],"schemeName":"apiKey"}}},"servers":{"cdb0fbef-66b5-4170-b44d-db2ea0c7f212":{"url":"https://app.detrack.com/api/v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"Your Detrack API key, from **Integrations > API Key** in the dashboard.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"X-API-KEY","type":"string","description":"Your Detrack API key, from **Integrations > API Key** in the dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"X-API-KEY"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"detrack","siteName":"Detrack V2 API","title":"Plan a route - Detrack V2 API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-17T07:17:48.237Z","originalFileLocation":"api-reference/routes/plan.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Detrack V2 API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Plan a route - Detrack V2 API\">\u003cmeta data-mint-head property=\"og:description\" content=\"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Detrack V2 API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://detrack.mintlify.app/api-reference/routes/plan\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://detrack.mintlify.site/_mintlify/api/og/v2?division=Routes\u0026amp;title=Plan+a+route\u0026amp;description=POST+%2Fdn%2Froutes%2Fplan+creates+a+route+or+updates+an+existing+one+by+name+and+date%2C+then+returns+the+optimized+plan+with+sequenced+jobs.\u0026amp;theme=ec84d1d5e8d8f701aaf8b317\u0026amp;signature=72235e612a58f9129a1db8cf2021d9c839ace84a8751b2278ec7c9ed012459bf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Plan a route - Detrack V2 API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://detrack.mintlify.site/_mintlify/api/og/v2?division=Routes\u0026amp;title=Plan+a+route\u0026amp;description=POST+%2Fdn%2Froutes%2Fplan+creates+a+route+or+updates+an+existing+one+by+name+and+date%2C+then+returns+the+optimized+plan+with+sequenced+jobs.\u0026amp;theme=ec84d1d5e8d8f701aaf8b317\u0026amp;signature=72235e612a58f9129a1db8cf2021d9c839ace84a8751b2278ec7c9ed012459bf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/detrack/si4Dp7hkj5RVqb4q/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Detrack V2 API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0EA5E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://detrack.mintlify.app/api-reference/routes/plan\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/routes/plan.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://detrack.mintlify.app/#organization\",\"name\":\"Detrack V2 API\",\"url\":\"https://detrack.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/detrack/rsdMYc6lFdL5npcT/logo/detrack.png?fit=max\u0026auto=format\u0026n=rsdMYc6lFdL5npcT\u0026q=85\u0026s=222e2ae604737e372c37f9a071538d1c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://detrack.mintlify.app#website\",\"name\":\"Detrack V2 API\",\"url\":\"https://detrack.mintlify.app\",\"publisher\":{\"@id\":\"https://detrack.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://detrack.mintlify.app/api-reference/routes/plan#webpage\",\"url\":\"https://detrack.mintlify.app/api-reference/routes/plan\",\"name\":\"Plan a route\",\"description\":\"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.\",\"dateModified\":\"2026-11-17T07:17:48.237Z\",\"isPartOf\":{\"@id\":\"https://detrack.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://detrack.mintlify.app/api-reference/routes/plan#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://detrack.mintlify.app/api-reference/routes/plan#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Routes\",\"item\":\"https://detrack.mintlify.app/api-reference/routes/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Plan a route\",\"item\":\"https://detrack.mintlify.app/api-reference/routes/plan\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://detrack.mintlify.app/api-reference/routes/plan#apireference\",\"headline\":\"Plan a route\",\"name\":\"Plan a route\",\"description\":\"POST /dn/routes/plan creates a route or updates an existing one by name and date, then returns the optimized plan with sequenced jobs.\",\"url\":\"https://detrack.mintlify.app/api-reference/routes/plan\",\"mainEntityOfPage\":{\"@id\":\"https://detrack.mintlify.app/api-reference/routes/plan#webpage\"},\"dateModified\":\"2026-11-17T07:17:48.237Z\",\"publisher\":{\"@id\":\"https://detrack.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://detrack.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Detrack V2 API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Detrack V2 API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/routes/plan.md","siteName":"Detrack V2 API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"Jobs","pages":[{"title":"List jobs","sidebarTitle":"List jobs","openapi":"GET /dn/jobs","playground":"interactive","href":"/api-reference/jobs/list"},{"title":"Create a job","sidebarTitle":"Create job","openapi":"POST /dn/jobs","href":"/api-reference/jobs/create"},{"title":"Bulk create jobs","sidebarTitle":"Bulk create","openapi":"POST /dn/jobs/bulk","href":"/api-reference/jobs/bulk-create"},{"title":"Bulk update jobs","sidebarTitle":"Bulk update","openapi":"PUT /dn/jobs","href":"/api-reference/jobs/bulk-update"},{"title":"Bulk delete jobs","sidebarTitle":"Bulk delete","openapi":"DELETE /dn/jobs","href":"/api-reference/jobs/bulk-delete"},{"title":"Bulk export PODs or shipping labels","sidebarTitle":"Bulk export","openapi":"POST /dn/jobs/bulk/export","href":"/api-reference/jobs/bulk-export"},{"title":"Get bulk export status","sidebarTitle":"Export status","openapi":"GET /dn/jobs/export/status/{id}","playground":"interactive","href":"/api-reference/jobs/get-export-status"},{"title":"Retrieve a job","sidebarTitle":"Retrieve job","openapi":"GET /dn/jobs/show","playground":"interactive","href":"/api-reference/jobs/retrieve"},{"title":"Update a job","sidebarTitle":"Update job","openapi":"PUT /dn/jobs/update","href":"/api-reference/jobs/update"},{"title":"Delete a job","sidebarTitle":"Delete job","openapi":"DELETE /dn/jobs/delete","href":"/api-reference/jobs/delete"},{"title":"Reattempt a job","sidebarTitle":"Reattempt job","openapi":"POST /dn/jobs/reattempt","href":"/api-reference/jobs/reattempt"},{"title":"Download a job document","sidebarTitle":"Download document","openapi":"GET /dn/jobs/export","playground":"interactive","href":"/api-reference/jobs/export"},{"title":"Search jobs","sidebarTitle":"Search jobs","openapi":"POST /dn/jobs/search","href":"/api-reference/jobs/search"}]},{"group":"Depots","pages":[{"title":"List depots","sidebarTitle":"List depots","openapi":"GET /dn/depots","playground":"interactive","href":"/api-reference/depots/list"},{"title":"Retrieve a depot","sidebarTitle":"Retrieve depot","openapi":"GET /dn/depots/{name}","playground":"interactive","href":"/api-reference/depots/retrieve"},{"title":"Create a depot","sidebarTitle":"Create depot","openapi":"POST /dn/depots","href":"/api-reference/depots/create"},{"title":"Bulk create depots","sidebarTitle":"Bulk create","openapi":"POST /dn/depots/bulk","href":"/api-reference/depots/bulk-create"},{"title":"Bulk update depots","sidebarTitle":"Bulk update","openapi":"PUT /dn/depots","href":"/api-reference/depots/bulk-update"},{"title":"Bulk delete depots","sidebarTitle":"Bulk delete","openapi":"DELETE /dn/depots","href":"/api-reference/depots/bulk-delete"}]},{"group":"Contacts","pages":[{"title":"List contacts","sidebarTitle":"List contacts","openapi":"GET /dn/contacts","playground":"interactive","href":"/api-reference/contacts/list"},{"title":"Retrieve a contact","sidebarTitle":"Retrieve contact","openapi":"GET /dn/contacts/{id}","playground":"interactive","href":"/api-reference/contacts/retrieve"},{"title":"Create a contact","sidebarTitle":"Create contact","openapi":"POST /dn/contacts","href":"/api-reference/contacts/create"},{"title":"Bulk create contacts","sidebarTitle":"Bulk create","openapi":"POST /dn/contacts/bulk","href":"/api-reference/contacts/bulk-create"},{"title":"Update a contact","sidebarTitle":"Update contact","openapi":"PUT /dn/contacts/{id}","href":"/api-reference/contacts/update"},{"title":"Delete a contact","sidebarTitle":"Delete contact","openapi":"DELETE /dn/contacts/{id}","href":"/api-reference/contacts/delete"}]},{"group":"Routes","pages":[{"title":"List routes","sidebarTitle":"List routes","openapi":"GET /dn/routes","playground":"interactive","href":"/api-reference/routes/list"},{"title":"Retrieve a route","sidebarTitle":"Retrieve route","description":"GET /dn/routes/{name} looks up route plans by name. Returns matching plans newest first, each with its per-vehicle planned routes.","openapi":"GET /dn/routes/{name}","playground":"interactive","href":"/api-reference/routes/retrieve"},{"title":"Plan a route","sidebarTitle":"Plan route","openapi":"POST /dn/routes/plan","href":"/api-reference/routes/plan"}]},{"group":"Vehicle checks","pages":[{"title":"List vehicle check submissions","sidebarTitle":"List submissions","description":"GET /dn/vehicle_checklist_submissions returns a paginated list of the vehicle checks your drivers submitted, with every answer, photo link, and signature.","openapi":"GET /dn/vehicle_checklist_submissions","playground":"interactive","href":"/api-reference/vehicle-checks/list"},{"title":"Retrieve a vehicle check submission","sidebarTitle":"Retrieve submission","openapi":"GET /dn/vehicle_checklist_submissions/{id}","playground":"interactive","href":"/api-reference/vehicle-checks/retrieve"}]},{"group":"Contact imports","pages":[{"title":"Import contacts","sidebarTitle":"Import contacts","openapi":"POST /dn/contacts/import","href":"/api-reference/contacts/import"},{"title":"Get an upload URL","sidebarTitle":"Upload URL","openapi":"GET /dn/contacts/import/presign","playground":"interactive","href":"/api-reference/contacts/get-upload-url"},{"title":"Get import status","sidebarTitle":"Import status","openapi":"GET /dn/contacts/import/{id}","playground":"interactive","href":"/api-reference/contacts/get-import-status"},{"title":"Get the last import","sidebarTitle":"Last import","openapi":"GET /dn/contacts/import/last","playground":"interactive","href":"/api-reference/contacts/get-last-import"},{"title":"Download a sample file","sidebarTitle":"Sample file","openapi":"GET /dn/contacts/import/sample.{format}","href":"/api-reference/contacts/download-sample"}]}]}]},"basePath":"","title":"Plan a route - Detrack V2 API","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","SectionHeading-DyxPTJti.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}