---
title: "Get Workspace's Current State Version"
method: GET
path: "/workspaces/{workspace}/current-state-version"
tags: ["state-versions"]
---

# Get Workspace's Current State Version

`GET /workspaces/{workspace}/current-state-version`

Fetch the current state version for the given workspace.

This state version will be the input state when running terraform operations.

## Path parameters

- `workspace` string, required

## Response `200`

Successfully returned current state version for the given workspace.

## Other responses

- `404` — Workspace not found, workspace does not have a current state version, or user unauthorized to perform action.
- `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)
