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

# Ledger AI Terminal answer

`POST /v1/ai-terminal`

## Request

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

Runs the same Ledger AI Terminal investigation used by the website and returns an AI answer, evidence citations, conversation metadata, normal API usage, and the separate 50/month Ledger AI question usage.

## 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)
