Replay a conversation's events, then follow new ones (server-sent events)
GET
/sandboxes/{id}/agent/v1/conversations/{conversation_id}/events
const url = 'https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/agent/v1/conversations/example/events';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.global.stillbox.example/v1/sandboxes/ws-7k2m9q4x8w3z5r6t/agent/v1/conversations/example/events \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
conversation_id
required
string
Query Parameters
Section titled “Query Parameters”after
integer
Only events after this sequence number
Responses
Section titled “Responses”Server-sent events
Media typetext/event-stream
string
No such sandbox in your organization (or no such file)
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}