---
title: "POST /api/assistant/chat"
method: POST
path: "/api/assistant/chat"
tags: ["Public"]
---

# POST /api/assistant/chat

`POST /api/assistant/chat`

## Request

- Base URL: `https://idkrx.com`
- URL: `https://idkrx.com/api/assistant/chat`
- Auth: none required

AI assistant chat (dev-only, experimental)

## Request body

- object
  - `messages` object[], required
    - `id` string, required
    - `role` 'user' | 'assistant', required
    - `content` string, required
  - `clientContext` object
    - `locale` string, required
    - `pathname` string, required

## Response `200`

Streaming UI message response

## Other responses

- `429`: Rate limited

---

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