API referenceAdmin models
Read the published model catalog
Platform admins only. Includes disabled models, routes, and the revision required for publishing.
GET
apiKeyheader
AuthorizationBearer <snoze_sk_…>Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
Success
application/json- response
data*Example Request
curl -X GET 'https://api.snoze.dev/v1/admin/models'Example Response
{ "data": { "models": [ { "id": "string", "label": "string", "icon": "string", "group": "frontier", "vision": true, "documents": true, "maxImageBytes": 0, "video": true, "audio": true, "disabled": true, "costX": 0, "description": "string", "speed": 0, "intelligence": 0, "effortLevels": [ "minimal" ], "tier": "A", "minPlan": "free", "metadata": { "inputModalities": [ "string" ], "outputModalities": [ "string" ], "supportedParameters": [ "string" ], "reasoning": { "mandatory": true, "supportedEfforts": [ "string" ], "defaultEffort": "string", "defaultEnabled": true }, "contextLength": 0, "maxOutputTokens": 0, "pricing": { "prompt": "string", "completion": "string", "inputCacheRead": "string", "inputCacheWrite": "string", "request": "string", "tiers": [ { "minPromptTokens": 0, "prompt": "string", "completion": "string", "inputCacheRead": "string", "inputCacheWrite": "string" } ] }, "created": 0, "expirationDate": "string", "canonicalSlug": "string" } } ], "routes": { "policies": { "agent.fast": "string", "agent.strong": "string", "structured.fast": "string", "structured.strong": "string" }, "autoLadder": [ "string" ], "autoModelByPlan": { "free": "string", "team": "string", "business": "string", "enterprise": "string" }, "onboarding": "string" }, "revision": 0, "updatedAt": "string" }}Cancel a deal
Closes the deal and, for Polar-billed deals, cancels the subscription at period end. Entitlements fall back to the workspace's own subscription.
Add or update a model
Imports provider capabilities and pricing, validates access policy and routes, and atomically publishes an audited revision. Platform admins only.