Resume Stream
Replay an in-progress Agent session stream. Authenticate with X-Api-Key.
The Last-Event-ID header takes priority over the lastEventId query parameter. Both values are the SSE event ID bound to the current run. A completed session can be replayed only while the stream is still retained. An aborted session or an expired stream returns HTTP 204. The response is SSE and is not wrapped in { code, data }.
Authorizations
Need to get API Key from AiToEarn. Click to go to "API Key Obtaining Tutorial".
Headers
SSE resume cursor. It takes priority over the lastEventId query parameter.
Path Parameters
Session ID.
Query Parameters
Resume cursor. The Last-Event-ID header takes priority over this parameter.
Response
Native third-party protocol response or SSE data, not wrapped in the AiToEarn common response envelope.
Native third-party protocol response, not wrapped in the AiToEarn common response envelope.

