AiChatQueries
No description
type AiChatQueries {
listChats(
processId: Long
subjectKind: String
subjectId: Long
): [WorkflowChat!]
getChat(
chatId: Long!
beforeSeq: Long
limit: Int
): ChatDataGql
approvalGrants: [ApprovalGrant!]
barryConversations: [BarryConversation!]
barryComposerDefault: BarryComposerDefault
}
Fields
AiChatQueries.listChats ● [WorkflowChat!] list object
List the AI copilot chats of a process, newest first
AiChatQueries.listChats.processId ● Long scalar
AiChatQueries.listChats.subjectKind ● String scalar
Chat subject kind: workflow | agent | home
AiChatQueries.listChats.subjectId ● Long scalar
AiChatQueries.getChat ● ChatDataGql object
Get a chat with one page of its transcript, newest page first (cursor by seq)
AiChatQueries.getChat.chatId ● Long! non-null scalar
AiChatQueries.getChat.beforeSeq ● Long scalar
AiChatQueries.getChat.limit ● Int scalar
AiChatQueries.approvalGrants ● [ApprovalGrant!] list object
The signed-in user's standing approvals ("Approve always") in this organization: one row per tool key, with usage counters
AiChatQueries.barryConversations ● [BarryConversation!] list object
The signed-in member's Barry conversations in this organization, most recently active first, each with the objects it touched (most recent first, at most 5; moreObjects counts the rest)
AiChatQueries.barryComposerDefault ● BarryComposerDefault object
The AI connection and model a Barry message with none selected runs on, as the server resolves them: the organization's credits connection, else its only enabled AI connection, with the connection's default model or the product default. Null when the organization has several connections and no credits one (a real choice). Never credentials.
Returned By
aiChat query