curl --request POST \
--url https://agents.kore.ai/api/public/analytics/projects/{projectId}/sessions/{sessionId}/transcript \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"includeSummary": true,
"limit": 50
}
'{
"success": true,
"data": {
"sessionId": "c6c7dfd6-3988-468b-89b2-86907d5acbba",
"turns": [
{
"messageId": "msg_01",
"role": "assistant",
"timestamp": "2026-11-26T10:00:00.000Z",
"content": "Welcome to Venus Bank! May I have your customer ID?"
},
{
"messageId": "msg_02",
"role": "user",
"timestamp": "2026-11-26T10:00:05.000Z",
"content": "cust-001"
}
],
"nextCursor": null,
"hasMore": false,
"ordering": {
"mode": "durable",
"version": 2
},
"summary": {
"text": "The customer asked about their credit cards. ...",
"messageCount": 13,
"summarizedMessageCount": 13,
"truncated": false,
"requestId": "sum_7f3c2a9e4b1d4c0a"
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}Get session transcript using JWE payload
POST
/
api
/
public
/
analytics
/
projects
/
{projectId}
/
sessions
/
{sessionId}
/
transcript
curl --request POST \
--url https://agents.kore.ai/api/public/analytics/projects/{projectId}/sessions/{sessionId}/transcript \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"includeSummary": true,
"limit": 50
}
'{
"success": true,
"data": {
"sessionId": "c6c7dfd6-3988-468b-89b2-86907d5acbba",
"turns": [
{
"messageId": "msg_01",
"role": "assistant",
"timestamp": "2026-11-26T10:00:00.000Z",
"content": "Welcome to Venus Bank! May I have your customer ID?"
},
{
"messageId": "msg_02",
"role": "user",
"timestamp": "2026-11-26T10:00:05.000Z",
"content": "cust-001"
}
],
"nextCursor": null,
"hasMore": false,
"ordering": {
"mode": "durable",
"version": 2
},
"summary": {
"text": "The customer asked about their credit cards. ...",
"messageCount": 13,
"summarizedMessageCount": 13,
"truncated": false,
"requestId": "sum_7f3c2a9e4b1d4c0a"
}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"resetRequired": true
}
}POST endpoint when the request parameters must be encrypted. When request encryption is on for the Platform Key, send the body as an encrypted JWE. For details, see List conversation messages using JWE payload. When response encryption is on, the endpoint returns encrypted responses, as for the other analytics endpoints.
Prerequisites
- A Platform Key bound to the project, sent in the
x-api-keyheader, with thesession:readpermission. - The ID of a session in the project.
- For
includeSummary, a model bound to theconversation_summaryfeature in the project.
Request
Send the session ID in the path. The path takes one ID. A comma-separated list returns400 SINGLE_SESSION_ONLY. Set Content-Type to application/json or application/jose+json. Any other type returns 415 UNSUPPORTED_MEDIA_TYPE.
The body is optional. When you send one, it is a flat JSON object with these keys. An unknown key returns 400.
| Key | Description |
|---|---|
cursor | The nextCursor value from the previous page. Omit it for the first page. |
limit | The number of messages per page, from 1 to 200. The default is 50. |
includeSummary | A boolean. When true, the first page includes data.summary. The default is false. |
{ "includeSummary": true, "limit": 50 }
Related articles:
- Get session transcript: The GET form, with the response fields and errors.
- Generate conversation summary: Summarize a saved session or a transcript that you send.
Path Parameters
Body
application/jsonapplication/jose+json
Was this page helpful?