planner
Nl Query
Natural-language planner endpoint.
Accepts a free-text query and returns 1-2 structured itinerary plans. The response is persisted so the user can retrieve their history and submit feedback on individual plans.
Steps (inside NLPlannerService.plan):
- Claude Haiku extracts structured intent from the query
- User's library places are haversine-filtered; weather fetched concurrently
- Google Places gap-fills types with fewer than 2 library results
- Claude Sonnet generates a single coherent day plan (returned as a one-item list for API backward compatibility)
Raises: 422 if Claude Haiku cannot parse the query into structured intent 500 if Claude Sonnet cannot produce a valid plan
post/api/v1/planner/query
Request
- Base URL: https://yondry.app (the document declares no server; this is the origin it was published from)
- URL: https://yondry.app/api/v1/planner/query
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.