---
title: "Promote a running canary to the default"
method: POST
path: "/api/v1/canaries/{experiment_id}/promote"
tags: ["canaries"]
---

# Promote a running canary to the default

`POST /api/v1/canaries/{experiment_id}/promote`

## Request

- Base URL: `https://api.outrival.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outrival.com/api/v1/canaries/{experiment_id}/promote`
- Auth: HTTP bearer

Returns ``{"canary": <canary body>, "configuration": <installed default>}``.

## Path parameters

- `experiment_id` string, uuid, required

## Request body

- PromoteCanaryRequest: Install the canary's configuration as the new default.
  - `actor_user_id` string, uuid, required: Who promoted it, or the system user

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: The bearer is not the canary service token
- `404`: No canary has this id
- `409`: error_code canary_launch_gate (admit refused or needs a release) or canary_stale (the canary is not running)
- `422`: Validation Error
- `503`: CANARY_SERVICE_TOKEN is not configured

## Changes

- **2026-10-21** `a63b52fb6b6e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outrival/apis/fastapi/changes/api/v1/canaries/:experiment_id/promote/post.md)

---

[API](https://skmtc.dev/outrival/apis/fastapi.md) - [All operations](https://skmtc.dev/outrival/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/outrival/apis/fastapi/revisions/f27d90300b5e?raw)
