This commit is contained in:
k
2026-09-21 22:17:05 +02:00
parent 19b791493f
commit 0943cdf5f3
3 changed files with 94 additions and 0 deletions
+1
View File
@@ -81,6 +81,7 @@ from the **Accounts** panel (each gets a one-time access key to hand over).
| POST | `/api/conversations/:id/archive`, `/api/conversations/:id/unarchive` | owner | archive (read-only) / restore to the list |
| GET | `/api/share/:publicId` | **public** | read-only shared chat JSON |
| GET | `/api/models` | Bearer | `[{id: "driver:model", …}]` across enabled drivers |
| GET/PATCH | `/api/admin/model-policy` | admin | per-model kill-switch + hourly/daily limits (users filtered, enforced in chat) |
| POST | `/api/chat` | Bearer | `{model, messages, conversationId?, stream?}` → JSON or SSE |
`POST /api/chat` with `conversationId` persists the user message + assistant