---
title: "FAQ chatbot (RAG, streaming)"
method: POST
path: "/api/chat"
---

# FAQ chatbot (RAG, streaming)

`POST /api/chat`

## Request

- Base URL: `https://agenticplug.ai`
- URL: `https://agenticplug.ai/api/chat`
- Auth: none declared

Streams a grounded answer from the agenticplug.ai wiki via pgvector retrieval. Browser-oriented; rate-limited and origin-restricted.

## Request body

- object
  - `messages` object[], required
  - `sessionId` string
  - `consentToTranscriptStorage` boolean

## Response `200`

UI message stream

## Other responses

- `429`: Rate limited

---

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