---
title: "Download a Policy Input"
method: GET
path: "/runs/{run}/policy-input"
tags: ["runs"]
---

# Download a Policy Input

`GET /runs/{run}/policy-input`

## Request

- Base URL: `https://example.scalr.io/api/iacp/v3`
- URL: `https://example.scalr.io/api/iacp/v3/runs/{run}/policy-input`
- Auth: HTTP bearer

Get a Zip archive with policy check input data generated for a given run.

See [Policy Input](https://docs.scalr.io/docs/policy-as-code) data structure.

## Path parameters

- `run` string, required

## Query parameters

- `stage` 'pre_plan' | 'post_plan'

## Response `200`

Successfully generated input archive.

## Other responses

- `404`: Run or policy input data was not found, or user unauthorized to perform the action.
- `409`: A required run operation is not completed.
- `4XX`: Client error.
- `5XX`: Server error.

## Changes

- **2026-11-03** `d3e1dc85657a`: 1 info
  - added the non-success response with the status `409`

[Operation history](https://skmtc.dev/scalr/apis/scalr-iacp-api/changes/runs/:run/policy-input/get.md)

---

[API](https://skmtc.dev/scalr/apis/scalr-iacp-api.md) - [All operations](https://skmtc.dev/scalr/apis/scalr-iacp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/scalr/apis/scalr-iacp-api/revisions/d3e1dc85657a?raw)
