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

For local development:

Authentication

All routes require a valid bearer token in the Authorization 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

The endpoint merges a static provider catalog with Gizzi’s live GET /provider connected list so that newly-installed local models appear without restarting the API.

Recommend models

Query parameters

Response

Agent chat bridge

The endpoint returns a server-sent event (SSE) stream. The first event is a message_start, followed by content_block_delta events for text and reasoning, and a final finish event.

Request body

SSE event example

Voice presets

Returns { "voices": [] } when the optional voice service is not running.

Stream TTS

Audio bytes are streamed from the voice service.

Stream STT

CLI tools stubs

Response

The platform UI’s filesystem scanner is the real source of CLI tool discovery; these endpoints exist to keep client fallbacks quiet.

Error codes