Sessions
List Sessions
List your conversations with agents, most recent activity first.
GET
Preview. This endpoint is available to organisations in the Wordsmith MCP pilot. Other organisations receive
403 mcp_not_enabled. See the preview overview.updated_at values, which keep milliseconds, may not be in strict order, but every page continues the same order without repeating or skipping a session. A session is one conversation with an agent. The list holds the sessions you started, in the Wordsmith app or through the API, as the app’s own session list does. To read a session someone shared with you, use Get Session with its id.
Read a session’s messages with List Messages. These endpoints are read-only. To ask a question, in a new session or an existing one, use Create Question.
List items leave out message_count. Get Session returns it.
Authentication
Requires an API key, or an OAuth token withsessions:read.
Query parameters
string
Only sessions with this agent. Find agent ids with List Agents.
string
Search session titles and message text, up to 200 characters, as the app’s session search does. Results come best match first instead of most recent first.
string
The
cursor from the previous page. Omit it for the first page.integer
default:"50"
Sessions per page, from
1 to 200.Response
Returns200 with {"items": [...], "cursor": "..."}. Each item is a session. cursor is null on the last page.
string
The session id.
string | null
The agent the session is with, as List Agents names it:
default for the default agent.string | null
The session’s title.
string
Opens the session in Wordsmith.
string
ISO 8601 UTC.
string
When the last message was added. ISO 8601 UTC.