Chatty Analytics AI Decision API

The AI Decision API from Chatty Analytics — 13 operation(s) for ai decision.

GitHub OpenAPI

Operations 13

POST /chat_workspace/company/{company_id}/incoming_message_decision/chat/{chat_id} Incoming Message Decision #
POST /chat_workspace/company/{company_id}/smart_follow_up_decision/chat/{chat_id} Smart Follow Up Decision #
POST /chat_workspace/company/{company_id}/tagger_agent_decision_output/chat/{chat_id} Tagger Agent Decision Output #
POST /chat_workspace/company/{company_id}/escalate_ai_agent/chat/{chat_id} Escalate Ai Agent #
POST /chat_workspace/company/{company_id}/chat/{chat_id}/smart_follow_up_state Update Smart Follow Up State #
POST /chat_workspace/company/{company_id}/sync_ai_agent/chat/{chat_id}/assign Sync Assign Ai Agent #
POST /chat_workspace/company/{company_id}/sync_ai_agent/chat/{chat_id}/remove Sync Remove Ai Agent #
POST /chat_workspace/company/{company_id}/import_contact Import Contact #
POST /chat_workspace/company/{company_id}/accounts/{account_id}/import_contact Import Contact To Account #
POST /chat_workspace/company/{company_id}/sync_ai_agent/chat/{chat_id}/escalate Sync Escalate Ai Agent #
POST /chat_workspace/company/{company_id}/sync_ai_agent/chat/{chat_id}/deescalate Sync Deescalate Ai Agent #
POST /chat_workspace/company/{company_id}/cintia/tagger-output/chat/{chat_id} Sync Cintia Tagger Output #
POST /chat_workspace/company/{company_id}/audio_transcription/chat/{chat_id} Audio Transcription #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/letschatty-com:letschatty-com-ai-decision-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

letschatty-com-ai-decision-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Letschatty Com AI Decision API
  version: '4.0'
  description: 'Operations tagged AI Decision across 2 of this provider''s published API definitions: openapi.json, letschatty-com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: AI Decision
paths:
  /chat_workspace/company/{company_id}/incoming_message_decision/chat/{chat_id}:
    post:
      tags:
      - AI Decision
      summary: Incoming Message Decision
      operationId: incoming_message_decision_chat_workspace_company__company_id__incoming_message_decision_chat__chat_id__post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/smart_follow_up_decision/chat/{chat_id}:
    post:
      tags:
      - AI Decision
      summary: Smart Follow Up Decision
      operationId: smart_follow_up_decision_chat_workspace_company__company_id__smart_follow_up_decision_chat__chat_id__post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/tagger_agent_decision_output/chat/{chat_id}:
    post:
      tags:
      - AI Decision
      summary: Tagger Agent Decision Output
      operationId: tagger_agent_decision_output_chat_workspace_company__company_id__tagger_agent_decision_output_chat__chat_id__post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/escalate_ai_agent/chat/{chat_id}:
    post:
      tags:
      - AI Decision
      summary: Escalate Ai Agent
      operationId: escalate_ai_agent_chat_workspace_company__company_id__escalate_ai_agent_chat__chat_id__post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/chat/{chat_id}/smart_follow_up_state:
    post:
      tags:
      - AI Decision
      summary: Update Smart Follow Up State
      operationId: update_smart_follow_up_state_chat_workspace_company__company_id__chat__chat_id__smart_follow_up_state_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/sync_ai_agent/chat/{chat_id}/assign:
    post:
      tags:
      - AI Decision
      summary: Sync Assign Ai Agent
      operationId: sync_assign_ai_agent_chat_workspace_company__company_id__sync_ai_agent_chat__chat_id__assign_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/sync_ai_agent/chat/{chat_id}/remove:
    post:
      tags:
      - AI Decision
      summary: Sync Remove Ai Agent
      operationId: sync_remove_ai_agent_chat_workspace_company__company_id__sync_ai_agent_chat__chat_id__remove_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/import_contact:
    post:
      tags:
      - AI Decision
      summary: Import Contact
      description: Imports a contact into the account named by the payload's `account_id`, or the default one.
      operationId: import_contact_chat_workspace_company__company_id__import_contact_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/accounts/{account_id}/import_contact:
    post:
      tags:
      - AI Decision
      summary: Import Contact To Account
      description: 'The same import, into the account of the path. contacts-import-lambda uses it for a

        non-default account so that an api-chatty without accounts answers 404 (fails closed) instead

        of creating the whole list in the default account.'
      operationId: import_contact_to_account_chat_workspace_company__company_id__accounts__account_id__import_contact_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: account_id
        in: path
        required: true
        schema:
          type: string
          title: Account Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/sync_ai_agent/chat/{chat_id}/escalate:
    post:
      tags:
      - AI Decision
      summary: Sync Escalate Ai Agent
      operationId: sync_escalate_ai_agent_chat_workspace_company__company_id__sync_ai_agent_chat__chat_id__escalate_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/sync_ai_agent/chat/{chat_id}/deescalate:
    post:
      tags:
      - AI Decision
      summary: Sync Deescalate Ai Agent
      operationId: sync_deescalate_ai_agent_chat_workspace_company__company_id__sync_ai_agent_chat__chat_id__deescalate_post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/cintia/tagger-output/chat/{chat_id}:
    post:
      tags:
      - AI Decision
      summary: Sync Cintia Tagger Output
      operationId: sync_cintia_tagger_output_chat_workspace_company__company_id__cintia_tagger_output_chat__chat_id__post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /chat_workspace/company/{company_id}/audio_transcription/chat/{chat_id}:
    post:
      tags:
      - AI Decision
      summary: Audio Transcription
      operationId: audio_transcription_chat_workspace_company__company_id__audio_transcription_chat__chat_id__post
      parameters:
      - name: company_id
        in: path
        required: true
        schema:
          type: string
          title: Company Id
      - name: chat_id
        in: path
        required: true
        schema:
          type: string
          title: Chat Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
x-refined-from:
- openapi.json
- letschatty-com-openapi.json