v10

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-0582185581.9 KB
Agents

List agent conversations

Paginated list of conversations for the agent (owned and shared-with-me), excluding archived threads.

get/agents/{agentKey}/conversations

Path parameters

agentKeystring required

Agent identifier used to scope the conversation list.

Query parameters

pageinteger

1-based page number. Defaults to 1.

limitinteger

Page size. Defaults to 20; maximum 100.

sortBystring

Preferred sort field. Supported values are createdAt, lastActivityAt, and title.

The current gateway validator preserves legacy behavior: unsupported values are accepted but ignored, and the handler falls back to lastActivityAt.

sortOrderstring

Preferred sort direction. Supported values are asc and desc.

The current gateway validator preserves legacy behavior: unsupported values are accepted but ignored, and the handler falls back to descending order.

searchstring

Case-insensitive search term applied to conversation title and messages.content. Maximum length is 1000 characters. HTML/XSS payloads and format specifiers are rejected.

startDatestring
Example:2026-05-26T00:00:00.000Z

Inclusive lower bound on createdAt. The handler accepts any JavaScript-parseable date string; invalid values return HTTP 400.

endDatestring
Example:2026-05-27T00:00:00.000Z

Inclusive upper bound on createdAt. The handler accepts any JavaScript-parseable date string; invalid values return HTTP 400.

statusstring

Optional status filter applied to the sharedWithMeConversations branch of the response. The main conversations list ignores this parameter.

isArchived'true' | 'false'

Optional archived flag applied to the sharedWithMeConversations branch before the route-level non-archived guard is enforced. Accepted values are true and false.

Response

Conversation list