Skip to main content
POST
Take one step of the staged switch from a baseline to an owned deployment: canary, primary, rollback, finish, or abandon

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

name
string
required
Minimum string length: 1

Body

application/json
step
enum<string>
required

canary, primary (the baseline as fallback), and rollback (the baseline alone) apply to any baseline. finish (the owned deployment alone; rollback ends) and abandon (the baseline alone if it is ready, otherwise the owned deployment alone on its PASS verdict) apply to a deployment baseline only. From primary, abandon while the baseline cannot serve is refused with migration_abandon_would_commit (HTTP 409), and nothing changes: finish commits to the new model.

Available options:
canary,
primary,
rollback,
finish,
abandon
canary_basis_points
integer
default:500

Share of traffic the canary sends to the owned deployment, in basis points (500 = 5%).

Required range: 1 <= x <= 500
expected_plan_id
string

The active serving plan the caller decided from (the endpoint's active_serving_plan_id). When the endpoint serves another, the step is refused with migration_plan_changed (HTTP 409) and nothing changes; a step that another step overtook is refused the same way. Plans are reused by their content, so the same stage reached again has the same id: the field stops a page rendered at another stage (primary, say) from acting on a canary, and it does not cover the models' readiness. Omitted, the step is taken against the plan the endpoint serves when it is read; sent empty, it is refused (HTTP 422). Requires a control plane with this field: an older one refuses the unknown field (HTTP 400).

Required string length: 1 - 255
verdict_id
string

The signed PASS migration verdict a canary rests on; primary uses the canary's when omitted. A PASS that a BLOCK or UNKNOWN for the same run and revision supersedes is refused by Release Guard with reason migration_verdict_superseded, in the usual 409 migration body.

window_seconds
integer
default:3600

Release Guard window for the per-binding comparison.

Required range: 60 <= x <= 2592000

Response

Success

The response is of type object.