Overview

The Onboarding API powers the brain-setup wizard in the packaged Allternit Platform app. It reads and saves user configuration, discovers local-model providers and CLI subprocess brains, validates provider credentials, and proxies project initialization to the Gizzi Runtime. Provider credentials are handed directly to Gizzi and are never persisted by the API.

Base URL

For local development:

Authentication

Routes that mutate state require a valid bearer token. Read-only discovery endpoints may be called by an authenticated desktop session.

Endpoints

Read configuration

Response

Save configuration

Provider API keys are stripped from this payload and must be saved through the provider endpoint.

Save a provider

Provider fields

Response

Discover local models

Response

The endpoint probes local-model servers, desktop model gateways, and a configurable set of CLI subprocess brains. CLI entries report whether the binary is on PATH and its version string.

Validate a provider key

Response

Validation is provider-specific. For unknown providers, the endpoint accepts the key without remote validation and returns a warning in error.

Initialize a project

Proxies the request to Gizzi’s /v1/project/init endpoint and returns the runtime response verbatim.

Error codes

  • Providers — provider discovery and connection
  • Local Brains — self-hosted and local model setup
  • Brains — managed brain configuration