---
title: "Handle Simplified Chat Message"
method: POST
path: "/chat/send-message-simple-api"
---

# Handle Simplified Chat Message

`POST /chat/send-message-simple-api`

This is a Non-Streaming version that only gives back a minimal set of information

## Request body

- BasicCreateChatMessageRequest — Before creating messages, be sure to create a chat_session and get an id Note, for simplicity this option only allows for a single linear chain of messages
  - `chat_session_id` integer, required
  - `message` string, required
  - `retrieval_options` RetrievalDetails
    - `run_search` 'always' | 'never' | 'auto' — An enumeration.
    - `real_time` boolean
    - `filters` BaseFilters
      - `source_type` DocumentSource[]
      - `document_set` string[]
      - `time_cutoff` string, date-time
      - `tags` Tag[]
        - `tag_key` string, required
        - `tag_value` string, required
    - `enable_auto_detect_filters` boolean
    - `offset` integer
    - `limit` integer
  - `query_override` string
  - `search_doc_ids` integer[]

## Response `200`

Successful Response

- ChatBasicResponse
  - `answer` string
  - `answer_citationless` string
  - `simple_search_docs` SimpleDoc[]
    - `semantic_identifier` string, required
    - `link` string
    - `blurb` string, required
    - `match_highlights` string[], required
    - `source_type` 'ingestion_api' | 'slack' | 'web' | 'google_drive' | 'gmail' | 'requesttracker' | 'github' | 'gitlab' | 'guru' | 'bookstack' | 'confluence' | 'discourse' | 'slab' | 'salesforce' | 'jira' | 'productboard' | 'file' | 'notion' | 'zulip' | 'linear' | 'hubspot' | 'document360' | 'gong' | 'google_sites' | 'zendesk' | 'loopio' | 'sharepoint' | 'teams' | 'freshdesk', required — An enumeration.
  - `error_msg` string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/engineertheory/apis/recap-backend.md) · [All operations](https://skmtc.net/engineertheory/apis/recap-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/engineertheory/recap-backend/revisions/ea9db8f9a24d/schema)
