You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All endpoints under /api/v1/ require session authentication via the
neuronprompter_session cookie, except where noted. The session cookie is
obtained by calling the session creation endpoint.
System
Method
Path
Description
GET
/api/v1/health
Health check (no authentication required)
POST
/api/v1/shutdown
Shut down the server (not available in headless/serve mode)
Sessions
Method
Path
Description
POST
/api/v1/sessions
Create a session (login; no authentication required)
Copy content to the clipboard with variable substitution
GET
/api/v1/clipboard/history
Get the clipboard copy history
DELETE
/api/v1/clipboard/history
Clear the clipboard copy history
Settings
Method
Path
Description
GET
/api/v1/settings/db-path
Get the database file path
GET
/api/v1/settings/app/{key}
Get an application-level setting by key
PUT
/api/v1/settings/app/{key}
Set an application-level setting by key
GET
/api/v1/settings/user/{user_id}
Get all settings for a user
PUT
/api/v1/settings/user
Replace the current user's settings
PATCH
/api/v1/settings/user
Partially update the current user's settings
Ollama (API-Level)
These endpoints are registered in the core API router and are available in
both GUI and headless modes.
Method
Path
Description
POST
/api/v1/ollama/status
Check Ollama connectivity status
POST
/api/v1/ollama/improve
Request an Ollama-powered prompt improvement
POST
/api/v1/ollama/translate
Request an Ollama-powered prompt translation
POST
/api/v1/ollama/autofill
Request Ollama-powered metadata autofill
Server-Sent Events (Web Only)
These endpoints are registered by the web crate and are only available when
the frontend is served (not in headless API-only mode).
Method
Path
Description
GET
/api/v1/events/logs
SSE stream of server log events
GET
/api/v1/events/models
SSE stream of model operation events
Setup (Web Only)
Method
Path
Description
GET
/api/v1/web/setup/status
Get the first-run setup status
POST
/api/v1/web/setup/complete
Mark the first-run setup as complete
Doctor (Web Only)
Method
Path
Description
GET
/api/v1/web/doctor/probes
Run dependency and health probes
MCP Registration (Web Only)
Method
Path
Description
GET
/api/v1/web/mcp/status
Get MCP registration status for all targets
POST
/api/v1/web/mcp/{target}/install
Install the MCP server configuration for a target
POST
/api/v1/web/mcp/{target}/uninstall
Uninstall the MCP server configuration for a target
Ollama Model Management (Web Only)
These endpoints are registered by the web crate and provide model lifecycle
management through the frontend.
Method
Path
Description
GET
/api/v1/web/ollama/status
Check Ollama daemon availability
GET
/api/v1/web/ollama/models
List locally available Ollama models
GET
/api/v1/web/ollama/running
List currently running Ollama models
GET
/api/v1/web/ollama/catalog
List models available in the Ollama catalog
POST
/api/v1/web/ollama/pull
Pull (download) an Ollama model
POST
/api/v1/web/ollama/delete
Delete a local Ollama model
POST
/api/v1/web/ollama/show
Show details of an Ollama model
Native Dialogs (Web Only)
These endpoints proxy native OS file dialogs and are only functional when
running in GUI mode (native_dialogs: true).
Method
Path
Description
POST
/api/v1/web/dialog/save
Open a native save-file dialog
POST
/api/v1/web/dialog/open-file
Open a native open-file dialog
POST
/api/v1/web/dialog/open-dir
Open a native open-directory dialog
Notes
The default request body limit is 2 MiB. Import endpoints under /api/v1/io/
allow up to 10 MiB.
The /api/v1/shutdown endpoint is omitted in headless (serve) mode. Use
Ctrl+C or SIGTERM to stop the server instead.
Web-only endpoints (prefixed with /api/v1/web/ or /api/v1/events/) are
registered by the neuronprompter-web crate and are not available when
running the API server standalone.
Path parameters use the {param} syntax (e.g., {prompt_id}, {user_id}).
CORS is restricted to the configured origin. In development mode (--dev),
common localhost origins on ports 3000, 3030, and 5173 are permitted.