v10

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

List archived conversations

Retrieve all archived conversations for the authenticated user.

Overview:

Archived conversations are hidden from the main list but preserved for reference. This endpoint returns only conversations where isArchived: true and archivedBy is set. Results include conversations the caller owns and those shared with them.

Filtering and sorting:

Results can be narrowed using search, shared, startDate, endDate, and conversationId. Sorting is controlled by sortBy and sortOrder. Pagination is controlled by page and limit.

Unarchiving:

Use PATCH /conversations/{conversationId}/unarchive to restore a conversation to the active list.

get/conversations/show/archives

Query parameters

pageinteger

Page number (1-indexed)

limitinteger

Items per page

sortBy'createdAt' | 'lastActivityAt' | 'title'

Field to sort by

sortOrder'asc' | 'desc'

Sort direction

searchstring

Case-insensitive substring match against title and message content (max 1000 chars)

sharedboolean

Filter by shared status

startDatestring date-time

Include conversations created on or after this timestamp

endDatestring date-time

Include conversations created on or before this timestamp

conversationIdstring objectId

Restrict results to a single conversation by identifier

Response

List of archived conversations

Example response

{
  "conversations": [
    {
      "title": "Q4 Financial Report Discussion"
    }
  ]
}