ghl_agent_studio_execute_managed
Execute a published Managed Agent by sending one JSON turn to its production snapshot; reuse sessionId for follow-up turns and Idempotency-Key for safe retries.
Instructions
Execute a published Managed Agent Runs one JSON turn against the published production snapshot. Omit sessionId on the first turn and pass the returned sessionId on subsequent turns. Reuse the same Idempotency-Key only when retrying the exact same logical turn. For a 429 response, retry that key only when retryable is true and Retry-After is present. Endpoint: POST /agent-studio/managed-agents/{managedAgentId}/execute (Version header: v3; source: v3/agent-studio-v3.json) Requires a Sub-Account (location) token. OAuth scopes: managed-agents.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| managedAgentId | Yes | Managed Agent ID. | |
| Idempotency-Key | Yes | Unique key for this logical turn. Maximum 128 characters. |