---
title: "Ai Chat"
method: POST
path: "/api/ai/chat"
tags: ["settings", "sync", "ai"]
---

# Ai Chat

`POST /api/ai/chat`

## Request

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

SSE streaming AI chat endpoint.

Bridges the sync proxy_llm_stream functions (which write to handler.wfile)
to an async StreamingResponse via an asyncio.Queue adapter.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api.md) · [All operations](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/revisions/e832a1260f0b?raw)
