Local API for developers
Advanced settings exposes a local API for tools on the same computer. It binds to 127.0.0.1 only and is off by default.
- Open the app menu, Advanced settings, Local server.
- Turn Local API on. Wait until the base URL and token appear.
- Choose Copy URL and token. Send Authorization: Bearer with the token on each request.
- Supported routes include GET /v1/models and POST /v1/chat/completions with JSON or SSE. Unknown paths return 404 with code unknown_route.
- Turn Local API off when finished.
