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

Request

  • Base URL
    https://api.phonely.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.phonely.ai/agent/switch-agent-version
  • Auth
    none declared

Headers

authorizationstring nullable
x-internal-api-keystring nullable

Request body

agentIdstring required
versionstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.