The OpenAPI spec atDocumentation Index
Fetch the complete documentation index at: https://www.halite-app.com/llms.txt
Use this file to discover all available pages before exploring further.
docs/api/openapi.json is generated from the live backend schema. After changing any Pydantic model or route, regenerate it and commit the updated file.
Regenerate the spec
From the repository root:- Activates (or creates) the backend
.venv. - Boots the app against a throwaway SQLite database.
- Calls
app.openapi()to extract the spec. - Injects
x-mint: {metadata: {playground: none}}to disable the Mintlify interactive playground (Halite is self-hosted; there is no public server to call against). - Writes the result to
docs/api/openapi.json.
Regenerate TypeScript types
The frontend’s typed API client is generated from the same schema. After runninggen-openapi.sh (or independently after backend changes), regenerate the TypeScript types:
frontend/src/shared/api/types.gen.ts. Do not hand-edit that file — it will be overwritten on the next run.
The Mintlify docs preview (
mint dev / mint broken-links) requires Node ≤ 24. The Mintlify CLI does not support Node 25+. Use an LTS Node release when working on the docs.Related pages
- Frontend — the generated types and where they live
- API Reference — the rendered API reference