List the conversations the caller can read, newest activity first, to build a conversation picker or to find a conversation of a project; returns one page of conversations, filtered by project reference and paged with the returned cursor until it is null.
Arguments
projectReferenceStringlimitIntcursorStringtypeStringOnly conversations of this type, e.g. chat.
participantIds[ID!]Only conversations that include every listed participant id (at most 20 UUIDs).
agentIdStringOnly conversations with this agent participant (public agent id).
userIdIDOnly conversations with this user participant (user UUID).
searchStringCase-insensitive title substring (1-200 characters).
sortByStringSort key, as on REST: updated_at (default), created_at, title or message_count.
sortOrderStringSort direction, as on REST: desc (default) or asc.
Responses
query Conversations { conversations { data { id projectId respondingAgentId type title summary status currentNode messageCount lastMessageAt metadata createdBy archivedAt createdAt updatedAt initialMessageId } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } }}{ "data": { "conversations": { "data": [ { "id": "string", "projectId": "string", "respondingAgentId": "string", "type": "string", "title": "string", "summary": "string", "status": "string", "currentNode": "string", "messageCount": 0, "lastMessageAt": "string", "metadata": {}, "createdBy": "string", "archivedAt": "string", "createdAt": "string", "updatedAt": "string", "initialMessageId": "string" } ], "pageInfo": { "hasNextPage": false, "hasPreviousPage": false, "startCursor": "string", "endCursor": "string" } } }}The ConversationConnection! in data.conversations.