---
title: "Download State Version"
method: GET
path: "/state-versions/{state_version}/download"
tags: ["state-versions"]
---

# Download State Version

`GET /state-versions/{state_version}/download`

Download the `terraform.tfstate`

## Path parameters

- `state_version` string, required

## Response `200`

## Other responses

- `302` — The location of the temporary download link.
- `404` — State version not found or user unauthorized to perform action.
- `422` — The state version is not uploaded yet.
- `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/revisions/fc927526ad12/schema)
