API Endpoints
The public HTTP surface of your GLM Mini instance.
Models & chat
- POST /api/chat — send messages and receive a completion
- GET /api/models — list available models and capabilities
- GET /api/user-key-status — check whether the user has configured a key
User preferences
- GET /api/user-preferences/favorite-models — read the user's favourite models
- POST /api/user-preferences — save favourites and settings
Workflows & webhooks
All endpoints are versioned and documented in the API docs.
- POST /api/workflow/execute — run a workflow with given inputs
- POST /api/webhooks/:path — trigger a workflow from an external system