---
title: "Ai Chat"
method: POST
path: "/ai-chat"
tags: ["AI Chat"]
---

# Ai Chat

`POST /ai-chat`

## Request

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

## Request body

- AiChatPayload
  - `prompt` string, required
  - `page_size` integer, nullable
  - `context` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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