POST /runtime/execute
Evaluate policies and execute via HTTP or MCP proxy.
POST
/runtime/executeGoverned executionHTTP proxy mode
json
{
"input": { "action": "api_call", "resource": "url", "agent": "ops-bot" },
"execution": {
"mode": "http_proxy",
"method": "GET",
"url": "https://api.example.com/data",
"headers": { "accept": "application/json" },
"body": null
},
"approval_id": "optional"
}MCP proxy mode
json
{
"input": { "action": "search", "agent": "bot", "tool": "search_documents" },
"execution": {
"mode": "mcp_proxy",
"server": "analytics",
"tool": "search_documents",
"arguments": { "query": "report" }
}
}Errors
- 400 invalid_execution_mode, invalid_execution, invalid_execution_url
- 403 execution_target_denied
- 404 mcp_server_not_found
- 502 execution_failed
- 503 audit_persist_failed