Agent Environment
agent-configurations
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/v1/agent-configurations/{id}
Path parameters
idstring uuid required
Request body
Response
Successful Response