Skip to main content
GET
List sessions

Query Parameters

workspace
string | null
Pattern: ^wrk
limit
string | null

Maximum number of sessions to return. Defaults to the newest 50 sessions.

order
enum<string> | null

Session order for the first page. Use desc for newest first or asc for oldest first.

Available options:
asc,
desc
search
string | null
parentID

Filter by parent session. Use null to return only root sessions.

Pattern: ^ses
directory
string | null
project
string | null
subpath
string | null
cursor
string | null

Opaque pagination cursor returned as cursor.previous or cursor.next in the previous response.

Response

SessionsResponse

data
object[]
required
cursor
object
required