LLM Gateway API
Model catalog, usage rollup, and workspace virtual keys via LiteLLM.
Base path: /v1/workspaces/{workspace_id}/llm
Inference goes to LiteLLM directly — Control Plane is not in the token data path. Store the virtual key in Secrets (for example LITELLM_API_KEY).
See also: Customer Portal — LLM Gateway
Models
GET /v1/workspaces/{workspace_id}/llm/modelsReturns the Groundfloor catalog plus BYO models when provider keys exist in workspace secrets.
Permission: read
Usage
GET /v1/workspaces/{workspace_id}/llm/usage?since_seconds=604800&limit=100| Query | Default | Notes |
|---|---|---|
since_seconds | 86400 | Lookback window |
limit | — | Max rows |
Permission: read
Virtual key
POST /v1/workspaces/{workspace_id}/llm/virtual-keyMints or rotates the workspace virtual key. The plaintext key is returned once.
Permission: administer