Suggest places for a chat message
GET
https://api.nicer.travel/agent/chat/{chatId}/suggestions
Suggests places to add to a trip's itinerary from one message of its chat (conversationId): the assistant reads that message and the ones before it, the trip's destinations and its itinerary, steered by ask when it is sent, runs one place search and answers up to three places the itinerary does not have yet, as activity segments, or null when none came back. Computed on every call and never stored. Only a participant of the chat may call it, for a chat of a trip that has an itinerary. Errors: 403 ERROR_UNAUTHORIZED for a caller who is not a participant or a chat without a trip; 409 ERROR_INVALID_REQUEST for a trip without an itinerary.
Authorization
Path parameters
Query parameters
Returns
200
OK
JSON
Any of the following:
- object
- null