Interlaken
API referenceAgents and workflowsAgent sessions

Read the session conversation (cursor-paged; pass next as ?after=)

GET
/api/v1/agent-sessions/{id}/messages

Requires the agent_sessions:read permission.

Authorization

AuthorizationBearer <token>

An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.

In: header

Path Parameters

id*string

Query Parameters

after?string
limit?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/agent-sessions/string/messages"
{  "items": [    {      "content": "string",      "created_at": "2019-08-24T14:15:22Z",      "kind": "string",      "payload": "string",      "seq": "string",      "turn_id": "2df5d97e-1e68-4315-ace5-61a464d94d93"    }  ],  "next": "string"}