Create or replace Review agent
Create the Review agent custom agent with its canonical ID and Inspect-owned safe configuration, or restore that configuration. Repeating the same request produces the same agent and preserves the runner Review agent policy. Requires a system API key with the `ci:webhook` tag.
Base URL
PUT
Create the Review agent custom agent with its canonical ID and Inspect-owned safe configuration, or restore that configuration. Repeating the same request produces the same agent and preserves the runner Review agent policy. Requires a system API key with the ci:webhook tag.
bearerAuthheader
AuthorizationBearer <token>API key authentication. Use your API key as the bearer token.
Existing custom agent replaced
application/json- response
data*Full agent configuration for a single ID. Includes fields not present on the list-agents response.
curl -X PUT 'https://your-org.inspect.com/api/public/v1/agents/managed/review-buddy'Example Response
{ "data": { "prompt": "string", "created_by": "string", "skills": [ "string" ], "capabilities": { "edit": true, "git_write": true, "browser": true, "user_skills": true, "repo_skills": true, "datadog": true, "customer_data_access": true, "notion": true, "inspect_sessions": true, "web_search": true, "artifacts": true, "tools": {}, "linear": true, "feature_flags": true, "zendesk": true, "sentry": true, "deepwiki": true }, "prompt_context_mode": "append", "repositories": [ "string" ], "repo_hint": "string", "id": "string", "name": "string", "description": "string", "model": "string", "is_builtin": true, "created_at": "2019-08-24T14:15:22Z" }}