Skip to main content

autessa.conversationSync

5 methods in the conversationSync namespace.

autessa.conversationSync.allREAD

autessa.conversationSync.all()

List every conversation-sync config in your current company.

Returns all configs owned by your current company (enabled and disabled alike), each fully resolved with its agent filter, evaluation/sandbox settings, and table-update rules. Not paginated; totalCount is simply the length of configs.

Request fields

No fields.

Response fields

  • Name
    errors
    Type
    string[]
    Description
  • Name
    deprecationWarnings
    Type
    string[]
    Description
  • Name
    sessionToken
    Type
    string
    Description
  • Name
    configs
    Type
    ConversationSyncConfigDto[]
    Description
  • Name
    totalCount
    Type
    number
    Description

autessa.conversationSync.createMUTATE

autessa.conversationSync.create({ name, description, enabled, agentIds, requiresEvaluation, allowSandboxConversations, tableUpdates })

Create a conversation-sync config that copies matching closed conversations into AutessaDB table rows.

Creates a config scoped to your current company. name must be unique within the company (a duplicate name is rejected). enabled defaults to true and allowSandboxConversations to false. Leave agentIds null or empty to watch every agent; otherwise only conversations from those agents sync. requiresEvaluation, when non-null, syncs only conversations whose has-evaluation state matches it. tableUpdates lists the AutessaDB tables to write and how (match column, conversation-JSON column, additional columns, onNoMatch). Creating the config does not sync anything retroactively — it applies to conversations closed and logged afterwards.

Request fields

  • Name
    name
    Type
    string
    Description
  • Name
    description
    Type
    string
    Description
  • Name
    enabled
    Type
    boolean
    Description
  • Name
    agentIds
    Type
    string (opaque id)[]
    Description
  • Name
    requiresEvaluation
    Type
    boolean
    Description
  • Name
    allowSandboxConversations
    Type
    boolean
    Description
  • Name
    tableUpdates
    Type
    TableUpdateConfig[]
    Description

Response fields

  • Name
    errors
    Type
    string[]
    Description
  • Name
    deprecationWarnings
    Type
    string[]
    Description
  • Name
    sessionToken
    Type
    string
    Description
  • Name
    configId
    Type
    string (opaque id)
    Description
    References conversation sync config by opaque id.
  • Name
    message
    Type
    string
    Description

autessa.conversationSync.deleteMUTATE

autessa.conversationSync.delete({ id })

Permanently delete a conversation-sync config.

Irreversible. Removes the config so no further conversations sync through it; already synced rows in AutessaDB are untouched. The config must belong to your current company.

Request fields

  • Name
    id
    Type
    string (opaque id)
    Description
    References conversation sync config by opaque id.

Response fields

  • Name
    errors
    Type
    string[]
    Description
  • Name
    deprecationWarnings
    Type
    string[]
    Description
  • Name
    sessionToken
    Type
    string
    Description
  • Name
    message
    Type
    string
    Description

autessa.conversationSync.getREAD

autessa.conversationSync.get({ id })

Fetch one conversation-sync config by id, fully resolved.

Returns the config with its agent filter, evaluation/sandbox settings, and table-update rules. The config must belong to your current company, else the call returns an access error.

Request fields

  • Name
    id
    Type
    string (opaque id)
    Description
    References conversation sync config by opaque id.

Response fields

  • Name
    errors
    Type
    string[]
    Description
  • Name
    deprecationWarnings
    Type
    string[]
    Description
  • Name
    sessionToken
    Type
    string
    Description
  • Name
    config
    Type
    ConversationSyncConfigDto
    Description

autessa.conversationSync.updateMUTATE

autessa.conversationSync.update({ id, name, description, enabled, agentIds, requiresEvaluation, allowSandboxConversations, tableUpdates })

Update a conversation-sync config; each non-null field replaces the stored value, and a non-null tableUpdates replaces the whole rule set.

Patch-style: only the fields you send change (send null / omit a field to leave it untouched), so read the config with conversationSync.get first and resubmit the pieces you want to keep. A non-null agentIds replaces the agent filter wholesale (an empty list means watch all agents); a non-null tableUpdates replaces every table-write rule. Changing name still enforces per-company uniqueness. The config must belong to your current company.

Request fields

  • Name
    id
    Type
    string (opaque id)
    Description
    References conversation sync config by opaque id.
  • Name
    name
    Type
    string
    Description
  • Name
    description
    Type
    string
    Description
  • Name
    enabled
    Type
    boolean
    Description
  • Name
    agentIds
    Type
    string (opaque id)[]
    Description
  • Name
    requiresEvaluation
    Type
    boolean
    Description
  • Name
    allowSandboxConversations
    Type
    boolean
    Description
  • Name
    tableUpdates
    Type
    TableUpdateConfig[]
    Description

Response fields

  • Name
    errors
    Type
    string[]
    Description
  • Name
    deprecationWarnings
    Type
    string[]
    Description
  • Name
    sessionToken
    Type
    string
    Description
  • Name
    message
    Type
    string
    Description