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
List pricing summary and effective pricing entries
/api/pricing
PUT
Update a pricing override
/api/pricing/reset
POST
Reset one pricing override to defaults
Request Logs
Endpoint
Method
Description
/api/request-logs
GET
Get request logs
/api/request-logs/dates
GET
Get available log dates
/api/request-logs/settings
GET
Get log settings
/api/request-logs/settings
PUT
Update log settings
Model Mapping
Endpoint
Method
Description
/api/model-mappings
GET
Get all model mappings
/api/model-mappings/provider/:provider
PUT
Set provider mapping
/api/model-mappings/reset
POST
Reset to defaults
/api/model-mappings/resolve
GET
Resolve a model name
Resources Catalog
Endpoint
Method
Description
/api/resources
GET
List curated resource entries with filters
/api/resources/summary
GET
Get resource catalog summary
/api/resources/:id
GET
Get one resource entry
Local Runtime Management
Endpoint
Method
Description
/api/local-runtimes
GET
Get local runtime status and configured runtimes
/api/local-runtimes/ollama-local
PUT
Update the built-in Ollama runtime config
/api/local-runtimes/enabled
POST
Enable or disable local model routing
/api/local-runtimes/check
POST
Check local runtime health
/api/local-runtimes/refresh-models
POST
Refresh discovered local models and routing targets
Image Generation
Independent of the chat API-key pool — image models have their own store
(~/.cligate/image-gen/), parameters and per-image billing. The assistant calls
them through a single generate_image tool; this surface manages the model
entries and a test/playground generate. See
docs/assistant-image-generation-design.zh-CN.md.
Endpoint
Method
Description
/api/image-gen/status
GET
Settings, model entries (secrets masked), available backend kinds (openai-images, volcengine-images for 即梦/Seedream, wanxiang for 通义万相), configured flag
/api/image-gen/models
GET
List image model entries
/api/image-gen/models
POST
Add an image model entry
/api/image-gen/models/:id
PUT
Update an image model entry (apiKey preserved if omitted/masked)
/api/image-gen/models/:id
DELETE
Remove an image model entry
/api/image-gen/models/:id/enabled
POST
Enable/disable an entry ({ enabled: boolean })
/api/image-gen/settings
GET
Get image-gen settings (requireApproval, defaultModelId, maxImagesPerCall)
Stream a generated/captured artifact file by id (path restricted to the config dir)
Desktop Mascot
Powers the optional desktop-assistant character window in the Electron build (not
applicable to plain server/web mode). See
docs/assistant-desktop-mascot-design.zh-CN.md.