API Compatibility
Relay targets practical compatibility for local model servers, not vendor-complete parity.
Supported Endpoints
GET /healthGET /v1/modelsGET /v1/models/:modelPOST /v1/chat/completionsPOST /v1/completionsPOST /v1/responsesGET /v1/responses/:idDELETE /v1/responses/:idPOST /v1/messagesPOST /v1/messages/count_tokensPOST /v1/embeddingsPOST /v1/rerankPOST /rerankGET /relay/capabilitiesPOST /relay/capabilities/refreshGET /relay/statsGET /relay/requestsGET /relay/requests/:id
Non-Goals
- Hosted assistants/threads/runs orchestration
- Realtime APIs
- Image/audio/file APIs
- Full vendor control-plane semantics
Behavior Notes
- Unknown/hosted-only fields are governed by field policy settings.
- Streaming output is normalized to protocol-appropriate SSE.
- Capability endpoints expose unsupported/degraded areas at runtime.