---
title: "Chat"
method: POST
path: "/api/chat"
---

# Chat

`POST /api/chat`

## Request

- Base URL: `https://nempulse.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://nempulse.com.au/api/chat`
- Auth: none declared

## Request body

- ChatRequest
  - `question` string, required

## Response `200`

Successful Response

- ChatResponse
  - `sql` string, required
  - `columns` string[], required
  - `rows` array[], required
    - unknown[]
      - unknown
  - `row_count` integer, required
  - `truncated` boolean, required
  - `explanation` string, required
  - `remaining` object, required
  - `answer_type` string
  - `suggestions` string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nempulse/apis/nempulse-api.md) · [All operations](https://skmtc.dev/nempulse/apis/nempulse-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nempulse/apis/nempulse-api/revisions/4a10f7a6ddcf?raw)
