Create a project
Create a project, optionally with a project-scoped routing policy and a spending limit. Requires the manage_projects scope.
Authentication
A management key (prefixed mgmt_), created in the dashboard under Settings, API keys, Management keys. Distinct from a regular gateway API key, and never used to call models.
Request
Project spending limit. hard_limit rejects requests with HTTP 402 once reached; soft_limit alerts only.
Project-scoped routing policy. PRIORITY requires priority_order; INTELLIGENT requires allowed_models (allowed_providers is derived). The two field sets are mutually exclusive by strategy.
Response
Derived from name; unique within the organization.
True when the project routes via the org default policy (no scoped policy).
The project’s scoped routing policy. The id is stable across updates (updates apply in place).
Project spending limit. hard_limit rejects requests with HTTP 402 once reached; soft_limit alerts only.