Execute Agent Operating Procedure Asynchronously
BetaStart execution of an Agent Operating Procedure (AOP) asset asynchronously. Returns immediately with a thread_id for tracking execution progress without waiting for completion.
Headers
X-API-KEY
Request
This endpoint expects an object.
asset_id
ID of the existing AOP asset to execute
user_inputs
Optional user inputs to append to the AOP’s prompt as key-value pairs
Response
AOP execution started successfully
aop_asset_id
ID of the AOP asset that was executed
aop_config
Full configuration of the AOP asset
aop_title
Title of the AOP asset
base_prompt
Base prompt of the AOP before user inputs were added
enabled_tools
List of tools that were enabled for this execution
final_prompt
Final prompt used for execution including user inputs
message
Status message about the async execution
status
Status of the execution (always ‘started’ for async)
sync_server
Sync server URL used for execution
thread_id
Unique thread ID for tracking the execution
trigger_type
Type of trigger that initiated the execution