Skip to main content
GET
List sessions
Use this endpoint to list your conversations, for example in a chat sidebar.

What EDN does

Returns your sessions, most recently active first. Deleted sessions are left out.

Required headers

Request

Response

200 OK

Errors

See Error handling.

Authorizations

Authorization
string
header
required

Your EDN API key, sent as Bearer YOUR_API_KEY. Create keys in the Console.

Query Parameters

limit
integer
default:50

Max sessions to return (capped at 200)

Required range: x >= 1
offset
integer
default:0

Pagination offset

Required range: x >= 0
project_id
string | null

Optional project filter - only sessions in this project

q
string | null

Case-insensitive substring filter on the session title

Response

Successful Response

sessions
SessionSummary · object[]
required

The page of sessions, most recently active first.

total
integer
required

How many sessions match, across all pages.