---
title: "Apply a Run"
method: POST
path: "/runs/{run}/actions/apply"
tags: ["runs"]
---

# Apply a Run

`POST /runs/{run}/actions/apply`

Apply a run that is paused waiting for confirmation after a plan.

This includes runs in the `planned` and `policy_checked` states.
This action is only required for runs that can't be auto-applied.

## Path parameters

- `run` string, required

## Request body

- ConfirmRequest — A request to confirm a run. Includes optional time when apply should be queued.
  - `apply-at` string, date-time, nullable — The UTC datetime at which the Apply should be queued.
  - `comment` string — The reason.

## Response `202`

Successfully queued an apply request.

## Other responses

- `404` — Run not found, or user unauthorized to perform action.
- `409` — Run was not paused for confirmation. Apply not allowed.
- `4XX` — Client error.
- `5XX` — Server error.

---

[API](https://skmtc.net/scalr/apis/scalr-iacp-api.md) · [All operations](https://skmtc.net/scalr/apis/scalr-iacp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalr/scalr-iacp-api/versions/fc927526ad12/schema)
