πŸ” Get Session

Retrieve detailed information about a specific session, including its current state, history, and metadata.

Endpoint: GET /sessions/{session_id}

Response:

jsonCopyEdit{
  "id": "session_id_1",
  "created_at": "2025-05-17T09:00:00Z",
  "status": "active",
  "messages": [
    {
      "role": "user",
      "content": "Hello, how can I transfer tokens?",
      "timestamp": "2025-05-17T09:01:00Z"
    },
    {
      "role": "assistant",
      "content": "To transfer tokens, please provide the recipient's address and amount.",
      "timestamp": "2025-05-17T09:01:30Z"
    }
  ]
}

Last updated