---
title: "AI Copilot"
method: POST
path: "/ai-chat"
tags: ["Default"]
---

# AI Copilot

`POST /ai-chat`

Chat with our AI copilot powered by Neyman AI trained on the extensive Finnhub's global data. You can ask it any finance-related questions just like with other LLM models and receive results in texts and widgets.

## Request body

- AIChatBody
  - `messages` AIChatMessage[], required — Messages
    - `role` string — Role system/user
    - `content` string — Content
  - `stream` boolean — Stream responses

## Response `200`

successful operation

- AIChatResponse
  - `chatId` string — Chat ID.
  - `content` string — Response text.
  - `querySummary` string — Query summary
  - `relatedQueries` object[] — Related queries.
  - `tickers` object[] — List of tickers mentioned.
  - `sources` object[] — Sources.
  - `widgets` object[] — Widgets.

## Changes

- **2026-07-17** `415b27331384` — 1 info
  - endpoint added
- **2020-05-26** `c5b8e420b78c` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/finnhub-stock-api/apis/finnhub-api/changes/ai-chat/post.md)

---

[API](https://skmtc.dev/finnhub-stock-api/apis/finnhub-api.md) · [All operations](https://skmtc.dev/finnhub-stock-api/apis/finnhub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/finnhub-stock-api/finnhub-api/revisions/415b27331384/schema)
