GraphQL reference

AiChatCreateInput

Input

Autogenerated input type of AiChatCreate

mutation { organization(id: $organizationId) { aiChatCreate } }

Example

mutation AiChatCreate(
  $organizationId: ID!
  $input: AiChatCreateInput!
) {
  organization(id: $organizationId) {
    aiChatCreate(input: $input) {
        aiChat
        errors
      }
  }
}

Fields

FieldTypeDescription
aiChatIdString!
assistantMessageIdString!
clientMutationIdStringA unique identifier for the client performing the mutation.
dataJSON
mutationMetadataJSON
nowISO8601DateTime
typeString
userMessageContextJSON
userMessageFiles[CreateAttachment!]
userMessageIdString!
userMessageTextString!