---
title: "Ledger AI Terminal chat alias"
method: POST
path: "/v1/ai-terminal/chat"
---

# Ledger AI Terminal chat alias

`POST /v1/ai-terminal/chat`

## Request

- Base URL: `https://theneuralledger.com`
- URL: `https://theneuralledger.com/v1/ai-terminal/chat`
- Auth: HTTP bearer

Alias of /v1/ai-terminal for chat-oriented clients. Each successful request reserves one Ledger AI Terminal question before model work begins.

## Request body

- object
  - `question` string, required: Natural-language question for Ledger AI Terminal. Alias: message, prompt, or query.
  - `conversationId` string: Existing Ledger AI conversation id to continue. Alias: conversation_id.
  - `messages` object[]: Optional user/assistant message history; the latest user message is used as the question.
    - `role` 'user' | 'assistant', required
    - `content` string, required

## Response `200`

Successful response.

- object

## Other responses

- `401`: Missing or invalid API key.
- `429`: Monthly API call limit exceeded.

---

[API](https://skmtc.dev/theneuralledger/apis/the-neural-ledger-api.md) · [All operations](https://skmtc.dev/theneuralledger/apis/the-neural-ledger-api/llms.txt) · [OpenAPI document](https://skmtc.dev/theneuralledger/apis/the-neural-ledger-api/revisions/992ca9963dfa?raw)
