---
title: "POST /chat"
method: POST
path: "/chat"
tags: ["chat"]
---

# POST /chat

`POST /chat`

## Request

- Base URL: `https://api.betteroff.finance`
- URL: `https://api.betteroff.finance/chat`
- Auth: HTTP bearer

## Request body

- object
  - `messages` unknown[], required
    - unknown
  - `requestId` string, uuid
  - `regenerateRunId` string, uuid
  - `conversationId` string
  - `model` string
  - `pageContext` object
    - `page` string, required
    - `route` string, starts_with, required
    - `filters` object
    - `selection` object
      - `kind` 'transaction' | 'recurring' | 'debt' | 'transfer' | 'todo', required
      - `id` string, required

## Response `200`

Success

## Other responses

- `default`: Problem details

---

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