---
title: "Sanitized JSON Output"
method: GET
path: "/plans/{plan}/sanitized-json-output"
tags: ["plans"]
---

# Sanitized JSON Output

`GET /plans/{plan}/sanitized-json-output`

Download plan file in machine-readable format with sanitized sensitive values.

## Path parameters

- `plan` string, required

## Query parameters

- `format` 'text' | 'gzip'

## Response `200`

Sanitized terraform json plan.

## Other responses

- `204` — Plan has not yet completed or can't be served.
- `307` — Redirects to JSON Output if the API server is not sure that the plan can be correctly sanitized and a user permissions allow to read sensitive plan values.
- `404` — Plan not found or user unauthorized to perform action or Blob object not found.
- `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)
