Skip to main content
GET
/
api
/
v1
/
sessions
List Sessions
curl --request GET \
  --url https://api.cognee.ai/api/v1/sessions \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

range
enum<string>
default:30d
Available options:
24h,
7d,
30d,
all
status
string | null
limit
integer
default:50
Required range: 1 <= x <= 500
offset
integer
default:0
Required range: x >= 0
order_by
string
default:last_activity_at
descending
boolean
default:true

Response

Successful Response