Agent

Roll an agent back to a version

Changed on

Publishes a new version, numbered after the latest, with this version's settings and makes it live. History stays append-only. An open draft started before this is kept but can no longer be published (409 agent_draft_base_changed); discard it or start a new one. Pass expectedLiveVersionId to be refused (409 agent_live_version_changed) if another version went live since you read it.

post/v1/agent/{agentId}/versions/{versionId}/rollback

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/agent/{agentId}/versions/{versionId}/rollback
  • Auth
    HTTP bearer

Path parameters

agentIdstring uuid required
versionIdstring uuid required

Request body

summarystring
expectedLiveVersionIdstring uuid

The live version when you decided to roll back. When sent, the rollback is refused with 409 if another version went live since.

Response

The new live version.

Changes

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • breaking

      removed the required property /// from the response with the status

    • info

      added the required property /// to the response with the status

    • info

      endpoint added