plan

List all plans for a trip.

If the trip has no plan yet, auto-create one on first read so the frontend has something to show immediately: from journey/stay date ranges when the itinerary has them, else an empty scaffold from the trip's own stated length (extracted dates or onboarding's duration_days). Trips with neither return the empty list.

get/trips/{trip_id}/plans

Request

  • Base URL
    https://stardrift.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://stardrift.ai/trips/{trip_id}/plans
  • Auth
    none declared

Path parameters

trip_idstring required

Query parameters

probeboolean

Return only building, with an empty plans. For build pollers, which read nothing else.

Response

Successful Response

buildingboolean

Changes

    • breaking

      added to the ////// response property oneOf list for the response status

    • breaking

      added to the //// response property oneOf list for the response status

    • info

      added ground_ref discriminator mapping keys to the ////// response property for the response status

    • info

      added ground_ref discriminator mapping keys to the //// response property for the response status

    • info

      added the new optional query request parameter probe