Itineraries (v2)
Generate the plan
Starts the AI build for the stored inputs, as the Generate button does: the monthly AI quota, the stop cap and the trip length rule apply; a build already running for the same inputs is answered instead of started twice. Poll GET .../build until terminal, then read the document.
post/api/v2/itineraries/{externalId}/generate
Request
- Base URL: https://www.endlesstravelplans.com
- URL: https://www.endlesstravelplans.com/api/v2/itineraries/{externalId}/generate
- Auth: HTTP bearer
Response
Example response
{
"external_id": "9c7e",
"state": "generating",
"build": {
"id": "b1",
"status": "pending",
"progress": 0,
"days_completed": 0,
"total_days": 5
}
}Changes
No recorded changes to this operation across all 1 revision of this API.