planner

Log Plan Event

Log a client-side plan interaction event (alternative swapped in, stop skipped, plan started/completed/abandoned). Server-visible interactions (refinements, swap regenerations) are logged automatically by /query — this endpoint exists for the ones only the app can see.

post/api/v1/planner/{plan_id}/events

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/{plan_id}/events
  • Auth: HTTP bearer

Path parameters

plan_idstring uuid required

Request body

event_type'swap_requested' | 'alternative_swapped' | 'stop_skipped' | 'plan_started' | 'plan_completed' | 'plan_abandoned' | 'book_tickets_clicked' | 'push_prompt_shown' | 'push_prompt_accepted' | 'push_prompt_dismissed' | 'upgrade_prompt_shown' | 'upgrade_prompt_accepted' | 'upgrade_prompt_dismissed' required
payloadobject

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.