Autoimprove

Promote a verified job to production

Changed on

Apply the verified staging changes to the PRODUCTION agent. Only a job in AWAITING_PROMOTE can be promoted.

A snapshot of the production configuration is taken immediately before the write, so the promote is fully rollbackable. After the promote the staging shadow and its phone number are cleaned up.

post/v1/autoimprove/job/{jobId}/promote

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/autoimprove/job/{jobId}/promote
  • Auth
    HTTP bearer

Path parameters

jobIdstring uuid required

Response

The verified changes are live on production.

Changes

    • breaking

      the response property / became nullable for the status

    • warning

      added the new CHANNEL enum value to the / response property for the response status

    • info

      endpoint added