Skip to main content
GET
/
super-agent
/
sessions
/
{sessionId}
/
messages
Get Super Agent Session History
curl --request GET \
  --url https://api.attention.tech/v2/super-agent/sessions/{sessionId}/messages \
  --header 'Authorization: <api-key>'
{
  "session_id": "session-uuid-456",
  "title": "Q1 Revenue Analysis",
  "status": "ACTIVE",
  "messages": [
    {
      "id": "msg-uuid-1",
      "session_id": "session-uuid-456",
      "content": "What were our Q1 revenue results?",
      "role": "user",
      "timestamp": "2024-03-18T14:30:00Z",
      "metadata": {}
    },
    {
      "id": "msg-uuid-2",
      "session_id": "session-uuid-456",
      "content": "Revenue targets were met at 105%.",
      "role": "assistant",
      "timestamp": "2024-03-18T14:30:05Z",
      "metadata": {}
    }
  ]
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Path Parameters

sessionId
string
required

The session ID to retrieve messages for

Response

Session messages retrieved successfully

session_id
string

The session ID

title
string

Session title

status
string

Current session status

messages
object[]

List of messages in the session