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
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
Server-sent events for the chat.
Invalid request (malformed JSON, invalid parameter values, unknown fields).
Missing or invalid authentication token.
Token valid but lacks permission for the requested operation.
Resource not found.
Rate limit exceeded. Includes Retry-After header.
Unexpected server-side failure.
Backend temporarily unavailable.