Skip to content

The open alternative to Salesforce, designed for AI.

605 B
Raw Blame
import { gql } from '@apollo/client';

export const START_WORKSPACE_SETUP_CHAT = gql`
  mutation StartWorkspaceSetupChat(
    $companyContext: JSON
    $personContext: JSON
  ) {
    startWorkspaceSetupChat(
      companyContext: $companyContext
      personContext: $personContext
    ) {
      outcome
      thread {
        id
        title
        totalCacheReadTokens
        totalInputTokens
        totalOutputTokens
        contextWindowTokens
        conversationSize
        totalInputCredits
        totalOutputCredits
        deletedAt
        createdAt
        updatedAt
      }
    }
  }
`;