Developers / Agents

Get a conversation's transcript

GET https://api.echonova.ai/v1/agents/{agentId}/conversations/{sessionId}/transcript

Returns the newest `limit` messages of one conversation, oldest first inside the page. For older messages, pass the createdAt of the first message of the page as before. Needs the agents:read scope on the key.

Headers

Authorization string Required

Bearer, a space, then your API key, which starts with ek_. Create keys in the portal under Developers, API Keys.

Path parameters

agentId string Required

The agent id, as GET /v1/agents returned it.

sessionId string Required

The conversation id, as GET /v1/agents/{agentId}/conversations returned it.

Query parameters

limit integer Optional

How many of the newest messages to return.

1 to 50default 20
before string Optional

Only messages sent before this ISO 8601 date-time. Pass the createdAt of the oldest message you have to get the page before it.

Response

200 application/json Every response uses this envelope.

data object

The result.

success boolean

true for a successful call.

statusCode integer

Repeats the HTTP status.

errorMessage string or null

null on success.

Errors

Same envelope, with success false and data null. All errors

GET /v1/agents/{agentId}/conversations/{sessionId}/transcript

curl "https://api.echonova.ai/v1/agents/{agentId}/conversations/{sessionId}/transcript" \
  -H "Authorization: Bearer YOUR_API_KEY"

{
  "data": [
    {
      "id": "6652a1b2c3d4e5f6a7b8c9d0",
      "direction": "inbound",
      "sender": "customer",
      "text": "How much is the Pro plan?",
      "createdAt": "2026-11-02T10:00:01.000Z"
    }
  ],
  "success": true,
  "statusCode": 200,
  "errorMessage": null
}