Update Agent Configuration
Update an existing agent configuration.
Supports partial updates - you can update just the api_key field, or any other field(s).
All fields in the request body are optional.
Requires agent:write permission + billing feature 'write_custom_agent'.
Example:
# Update only the API key
PUT /agent-configurations/{id}
{
"api_key": "sk-new-key-value"
}
# Update multiple fields
PUT /agent-configurations/{id}
{
"agent_name": "New Name",
"api_key": "sk-new-key-value",
"mcp_config": {"proxy_url": "https://proxy.example.com", "access_level": "read"}
}
# Enable/disable dome auto-apply (when true, saving dome config auto-applies it)
PUT /agent-configurations/{id}
{
"dome_manually_configured": true
}
PUT
Update Agent Configuration
Body
application/json
Model for updating an agent (all fields optional).
Response
Successful Response
Agent domain model.
Access level for agent analysis.
Black Box: URL only - behavioral testing only Grey Box: Agent configuration - structure/capabilities analysis White Box: Source code access - full code + sandbox runtime analysis
Available options:
black_box, grey_box, white_box