Hotels

Stream a hotel AI search task's events

The task's events as Server-Sent Events, from the start or after Last-Event-ID. The stream ends when the task ends its turn, or after 45 seconds: reconnect with the Last-Event-ID of the last event received.

get/v1/hotel_ai_search/tasks/{task_id}/events

Request

  • Base URL
    https://api.gojinko.com
  • URL
    https://api.gojinko.com/v1/hotel_ai_search/tasks/{task_id}/events
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

task_idstring required
Example:atk_example

Headers

Last-Event-IDstring

The id of the last event received.

Example:7

Response

The events.

Changes

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