Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/lib/content/reference/api/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ These run behind protected-route auth middleware:
| `POST` | `/v1/classify` | Classification endpoint |
| `POST` | `/v1/embeddings` | OpenAI-compatible embeddings endpoint |
| `POST` | `/v1/interactions` | Gemini Interactions API; only the Gemini provider backend serves it, other backends answer `501` |
| `POST` | `/v1/systemone` | Native System One API; only regular HTTP workers serve it, deployments without a regular HTTP worker for the model answer `501` |

`/v1/systemone` relays a non-streaming System One request to a regular HTTP worker's own `/v1/systemone`. Request fields SMG does not know are forwarded unchanged, and the worker's response — status, headers, and body, backend errors included — is returned as is.

Before relaying, SMG checks that `model` names a served model (unknown models answer `404`), that `state` is text or structured JSON, and that `questions` maps at least one name to a question, with at least one criterion on each `score` question; a body that fails these checks answers `400`.

`/v1/systemone` is available since v1.12.0.

These pages cover the other inference endpoints, which use the same auth:

Expand Down
Loading