Update a project
Update fields you send. routing_policy fully replaces the scoped policy in place (stable id); uses_organization_default_routing=true deletes it.
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.
Path parameters
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.