---
title: "Chat"
method: POST
path: "/api/v1/ai/chat"
tags: ["ai"]
---

# Chat

`POST /api/v1/ai/chat`

## Request

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

Ask Tera AI about the business. Read-only.

## Query parameters

- `brand_id` string, required

## Request body

- ChatRequest
  - `messages` ChatMessage[], required
    - `role` 'user' | 'assistant', required
    - `content` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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