Update a project
PATCH/api/v1/projects/:project_id
Updates a project's name, its attached guardrails (guardrail_ids — the project-scope baseline governing every tool call by every agent in the project), its orchestration concurrency limit (max_concurrent_runs), its continuation-chain ceiling (max_chain_generations), its orchestration nesting bound (max_run_depth), its inherited model route (default_model_route_id), its read-auditing opt-in (audit_reads_enabled), its trace-content retention window (trace_content_retention_days), and/or its zero-retention setting (trace_content_mode). At least one field is required. Requires admin role. Detaching a guardrail (removing an id) additionally requires guardrails:DetachGuardrail.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Project updated successfully
Invalid request body
Unauthorized
Forbidden (non-admin user)
Project not found
default_model_route_id cannot be cleared while consumers inherit it (PROJECT_DEFAULT_ROUTE_INHERITED).