---
title: "GetAPIChatAnswer"
method: POST
path: "/textql.rpc.public.chat.ChatService/GetAPIChatAnswer"
tags: ["ChatService"]
---

# GetAPIChatAnswer

`POST /textql.rpc.public.chat.ChatService/GetAPIChatAnswer`

## Headers

- `Connect-Protocol-Version` 1, required — Define the version of the Connect protocol
- `Connect-Timeout-Ms` number — Define the timeout, in ms

## Request body

- TextqlRpcPublicChatGetAPIChatAnswerRequest
  - `chatId` string

## Response `200`

Success

- TextqlRpcPublicChatGetAPIChatAnswerResponse
  - `answer` string
  - `complete` boolean
  - `error` string

## Other responses

- `default` — Error

---

[API](https://skmtc.net/textql/apis/textql-rpc-platform.md) · [All operations](https://skmtc.net/textql/apis/textql-rpc-platform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/textql/textql-rpc-platform/versions/31ce2b0c4427/schema)
