Skip to main content
Version: v3

Promote to Production

POST 

/agent-studio/agent/versions/:versionId/publish

Promotes a draft version to production.

Request​

Version stringrequired

API Version

Available optionsv3
versionId stringrequired

Draft/staging version ID to promote to production and publish

source string

Origin channel attributed to this write for auditing (e.g. public_api, internal)

application/json

Bodyrequired

    locationIdstringrequired

    Location ID for authorization

    userIdstring

    User ID performing the promotion action

    userNamestring

    User name performing the promotion action

    userEmailstring

    User email performing the promotion action

application/json

Version promoted and published successfully

Schema
    successbooleanrequired

    Success status

    messagestringrequired

    Response message

    dataobjectrequired

    Result data with production and new draft version details