v2

latestOpenAPI 3.1.02026-07-26937792.5 KB

Switch Agent Version

Migrates an agent to use stable release version and updates Twilio voice URL

Args: agent_id (str): The ID of the agent to migrate version (str): The version to migrate to (defaults to "stable")

Returns: dict: Response with status and message - On success: {"status": "success", "message": "..."} - On error: {"status": "error", "message": "..."}

post/agent/switch-agent-version

Headers

authorizationstring nullable
x-internal-api-keystring nullable

Request body

agentIdstring required
versionstring nullable

Response

Successful Response

{"stackTrail":"paths:/agent/switch-agent-version:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}