trip_discovery
GET /trips/:tripID/discovery — Get the discovery block for a trip
Discovery-only read for a trip. Returns the same discovery block as GET /trips/:tripID (people, fullPool, whyToMeet, events, overlappingTrips) without the trip body. Useful for callers that just want "who should I meet on this trip?" — the AI agent gets the ranked top-10 + their whyToMeet paragraphs in a single request.
Use ?include= to subset the response — comma-separated from people,fullPool,whyToMeet,events,overlappingTrips. Default is all. Common patterns:
?include=people,whyToMeet— top-10 picks + their AI-written "why you should meet them" paragraphs (keyed by userID, each carrying{ text, generatedAt })?include=fullPool— every visible DCer travelling/local during the trip window?include=events— just events in the destination city during the trip window
Open to any authenticated DCer; hidden + guest profiles are filtered out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tripID | Yes | The trip ID | |
| include | No | Optional. Comma-separated subset of `people,fullPool,whyToMeet,events,overlappingTrips`. Default = all five. |