---
title: "Send Chat Message"
method: POST
path: "/chat/get-response"
tags: ["Chat"]
---

# Send Chat Message

`POST /chat/get-response`

## Request body

- object
  - `chat_thread_id` string — ID of chat to which you want to send message
  - `text` string — message
  - `documents` string[], nullable — Array of document ids

## Response `200`

- ChatInteraction[]
  - `actor` string — The actor (USER or AI) of the interaction
  - `created_at` string — The timestamp when the interaction was created
  - `dw_data` object, nullable — The data related to the data warehouse integration
  - `id` integer — The unique identifier of the interaction
  - `message` string — The message content of the interaction
  - `metadata` object, nullable — The metadata associated with the interaction
  - `model` string, nullable — The name of the model used for the interaction
  - `reference` union[], nullable — The list of references associated with the interaction
    - union
      - Document
        - `brain_id` string, required — A unique identifier for the “brain” associated with this document or data object
        - `created_at` string, required — The timestamp indicating when the document or file was created
        - `document_id` string, required — A unique identifier for the document associated with this object
        - `id` integer, required — An internal ID for this object
        - `name` string, required — The name of the file or document
        - `status` string, required — The current status of the document processing.
        - `type` string, required — The type of the document or file
        - `url` string, required — A URL link to access or download the file. This is likely a temporary signed URL from AWS S3, as it includes authentication details and an expiration timestamp
        - `metadata` object, nullable, required — Identifier for metadata object
          - `language_code` string, required — Identifier for ISO language code
          - `original_url` string, required — Identifier of the url for the original file
          - `original_object` string, required — URL link to access original object
          - `processed` boolean, required — Boolean to check whether the file is processed
      - object
  - `thread_id` string — The ID of the chat thread associated with the interaction
  - `timestamp` string — The timestamp when the interaction occurred
  - `user_credits` integer, nullable — The number of credits used by the user for the interaction

---

[API](https://skmtc.dev/byteleaphq/apis/athena-copy.md) · [All operations](https://skmtc.dev/byteleaphq/apis/athena-copy/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/byteleaphq/athena-copy/revisions/4eb764a8d0ce/schema)
