Get a session transcript

GET
/agent/sessions/{sessionId}

Requires agents:history, a different scope from listing. Reading what was SAID is a different disclosure from knowing a conversation exists.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key from Settings > API access, sent as Authorization: Bearer sp_live_.... Send exactly one credential per request; a request carrying both a bearer token and a session cookie is rejected rather than resolved by precedence.

In: header

Path Parameters

sessionId*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/agent/sessions/string"
{  "id": "string",  "title": "string",  "channelType": "string",  "createdAt": "2019-08-24T14:15:22Z",  "messages": [    {      "id": "string",      "role": "string",      "content": "string",      "createdAt": "2019-08-24T14:15:22Z"    }  ]}

Last updated on