Overview
The Platform v1 API groups utility endpoints used by the Allternit Platform surfaces: an agent chat bridge to the Gizzi Runtime, a model catalog with live local-model merging, model recommendations, voice TTS/STT proxying, and CLI tool stubs.Base URL
Authentication
All routes require a valid bearer token in theAuthorization header. The chat bridge forwards relevant auth headers to the Gizzi Runtime so that password-protected local daemons work correctly.
Endpoints
Health
Response
List models
Response
GET /provider reports as connected: CLI brains it found on the machine, API-key providers, local providers and Allternit Cloud. There is no built-in fallback list, so a model appears only when it can run right now, and a newly installed model appears without restarting the API.
tier comes from the server’s model metadata for known models and is standard for other remote models. Models of local providers (sidecar, ollama, lmstudio, bonsai, omlx, and any id starting with local) are always local.
Unavailable
If Gizzi can’t be reached or returns an error, the endpoint returns503:
Recommend models
Query parameters
Response
GET /models and return the same 503 models_unavailable when it can’t be read.
Agent chat bridge
message_start, followed by content_block_delta events for text and reasoning, and a final finish event.
Request body
SSE event example
Voice presets
{ "voices": [] } when the optional voice service is not running.
Stream TTS
Stream STT
CLI tools stubs
Response
Error codes
Related pages
- Agent Chat — dedicated chat completion surface
- Chat Completions — remote-model-compatible completions
- Voice — voice gateway endpoints
- Providers — model provider configuration