Skip to main content
Retrieves paginated context memory messages for a specific agent node and memory instance.

Usage

curl "https://app.splox.io/api/v1/chat-memory/AGENT_NODE_ID?chat_id=SESSION_ID&limit=20" \
  -H "Authorization: Bearer YOUR_TOKEN"

Path Parameters

ParameterTypeDescription
agentNodeIdstring (uuid)The agent node ID

Query Parameters

ParameterTypeDefaultDescription
chat_idstringRequired. The context memory ID (resolved chat/session ID).
limitinteger20Messages per page (1–100).
cursorstringPagination cursor from previous response.

Response

{
  "messages": [
    {
      "id": "019c3221-...",
      "role": "user",
      "content": "What is the weather today?",
      "context_memory_id": "session-abc",
      "agent_node_id": "019c3221-...",
      "created_at": "2025-10-22T10:00:00Z"
    }
  ],
  "next_cursor": "2025-10-22T09:50:00Z",
  "has_more": true,
  "limit": 20
}