Overwrite AOP configuration
Overwrite the configuration of an existing AOP asset. Replaces the entire AOP configuration (prompt, agent config, structured output, etc.) with the provided values. Fields not included in the request body will be reset to their defaults.
Authentication
X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
asset_id
Request
This endpoint expects an object.
agentId
ID of the agent to use for execution
agent_config
Full agent configuration override for this AOP
description
Human-readable description of what the AOP does
icon
Icon identifier for UI display
prompt
The main prompt/instructions for the AOP
section
Section/category for organization
structured_output
JSON schema for structured output
Response
AOP configuration updated successfully
asset_id
ID of the AOP asset that was updated
message
Human-readable status message
status
Status of the operation
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
