---
title: "Promote a verified job to production"
method: POST
path: "/v1/autoimprove/job/{jobId}/promote"
tags: ["Autoimprove"]
---

# Promote a verified job to production

`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

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.

## Path parameters

- `jobId` string, uuid, required

## Response `200`

The verified changes are live on production.

- object
  - `data` AutoimproveJob, required: One Autoimprove job: Roark autonomously improving one agent toward one objective metric. Roark only ever changes the staging agent (a shadow clone by default); production changes exactly once, when verified changes are promoted.
    - `id` string, uuid, required
    - `organizationId` string, uuid, required
    - `projectId` string, uuid, required
    - `agentId` string, uuid, required
    - `stagingAgentId` string, uuid, required
    - `stagingKind` 'DESIGNATED' | 'SHADOW' | 'CHANNEL', required
    - `customerIntegrationId` string, uuid, nullable, required
    - `objectiveMetricDefinitionId` string, uuid, required
    - `objectiveLabel` string, required
    - `targetValue` number, required
    - `baselineValue` number, nullable, required
    - `currentValue` number, nullable, required
    - `trigger` 'ISSUE' | 'RUN_THRESHOLD_FAILED' | 'USER' | 'DEGRADATION', required
    - `issueId` string, uuid, nullable, required
    - `objectiveId` string, uuid, nullable, required
    - `validationRunPlanId` string, uuid, nullable, required
    - `status` 'RUNNING' | 'NEEDS_INPUT' | 'PAUSED' | 'AWAITING_PROMOTE' | 'PROMOTED' | 'NO_FIX' | 'CANCELLED' | 'FAILED', required
    - `workingMemory` string, nullable, required
    - `finalReport` string, nullable, required
    - `maxIterations` integer, required
    - `maxSimCalls` integer, required
    - `iterationCount` integer, required
    - `simCallsUsed` integer, required
    - `initiatedByUserId` string, uuid, nullable, required
    - `concludedAt` string, nullable, required: When the job reached a terminal status (ISO 8601).
    - `createdAt` string, required: When the job was created (ISO 8601).
    - `updatedAt` string, required: When the job last changed (ISO 8601).

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Autoimprove job not found
- `409`: Only a verified job awaiting review can be promoted
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

> 188 revisions in range; 1 not diffed.

- **2026-09-22** `29256c5296cf`: 1 breaking, 1 warning
  - the response property `data/customerIntegrationId` became nullable for the status `200`
  - added the new `CHANNEL` enum value to the `data/stagingKind` response property for the response status `200`
- **2026-09-21** `99617fc5ccab`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/roarkhq/apis/roark-analytics-api/changes/v1/autoimprove/job/:jobId/promote/post.md)

---

[API](https://skmtc.dev/roarkhq/apis/roark-analytics-api.md) - [All operations](https://skmtc.dev/roarkhq/apis/roark-analytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/roarkhq/apis/roark-analytics-api/revisions/efc3377249d1?raw)
