Skip to main content
GET
/
api
/
v1
/
agent-builder
/
{sessionId}
/
conversation
Get the persisted conversation history for a session from the database. Available after the agent has been saved (status = completed).
curl --request GET \
  --url https://dashboard.sequentum.com/api/v1/agent-builder/{sessionId}/conversation \
  --header 'Authorization: Bearer <token>'
{
  "sessionId": "<string>",
  "configId": 123,
  "status": "<string>",
  "totalMessageCount": 123,
  "lastUserPrompt": "<string>",
  "messageHistory": "<string>",
  "summarizedContext": "<string>",
  "updated": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.sequentum.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authorization header. Example: "Authorization: ApiKey {your-api-key}"

Authorization
string
header
required

OAuth 2.0 Bearer token. Example: "Authorization: Bearer {access-token}"

Path Parameters

sessionId
string
required

The session ID returned from /start

Response

OK

Response for the conversation history endpoint (GET /{sessionId}/conversation). Returns the persisted conversation from the database.

sessionId
string | null
configId
integer<int32>
status
string | null
totalMessageCount
integer<int32>
lastUserPrompt
string | null
messageHistory
string | null

JSON array of recent chat messages

summarizedContext
string | null

AI-generated summary of older messages (null if no summarization occurred)

updated
string<date-time>