DocsAccount & workspace

OpenAPI specification

Model IDs and options in examples are illustrative. Select an available model from GET /v1/models and check its capabilities and current prices.

Guardrails

Account and workspace rules combine with API-key restrictions. Manage rules with GET /api/controls/guardrails and PUT /api/controls/guardrails/account or /workspace. Supply allowOperated, allowTools, maxOutputTokens (or null), models and providers. Empty lists allow all at that scope. A blocked request returns 403 guardrail_violation. Set allowOperated to false to allow only your own provider keys, with no paid usage. Output limits and tool restrictions apply to text; model and provider restrictions apply to every request. Combos keep their own step order and each step must pass guardrails.