Skip to main content

Resume a chat stream

Reconnect to a chat that is still running, or replay one that just finished. The response is server-sent events in the same format as the streaming response of the create endpoint. Pass the sequence_id of the last event you received as last_seen_sequence_id, or omit it to start from the beginning of the stream. The final event is RESPONSE_COMPLETED or RESPONSE_FAILED, and its text covers only the events sent on this connection. Streams are kept for a limited time, so a chat that finished long ago returns 404.

Request​

Responses​

Server-sent events for the chat.