Skip to main content
GET
List chat sessions

Authorizations

Authorization
string
header
required

MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.

Query Parameters

projectId
string

Filter to one project.

status
enum<string>
default:active

active (default) or archived.

Available options:
active,
archived
limit
integer
default:50

Page size, 1–200. Defaults to 50.

Required range: 1 <= x <= 200
before
string

Cursor: the previous page's nextCursor (a lastActivityAt timestamp).

Response

One page of chat sessions, newest activity first.

items
object[]
required
nextCursor
string

Pass as before to fetch the next page. Omitted on the last page.