---
title: "Get environment variables preview with masked sensitive values"
method: GET
path: "/external-services/{id}/preview-environment-masked"
tags: ["External Services"]
---

# Get environment variables preview with masked sensitive values

`GET /external-services/{id}/preview-environment-masked`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/external-services/{id}/preview-environment-masked`
- Auth: none declared

## Path parameters

- `id` integer, required

## Response `200`

Preview of environment variables with sensitive values masked as ***

- object

## Other responses

- `400`: The service's stored configuration cannot be used to build its variables
- `404`: Service not found
- `500`: Internal server error

## Changes

- **2026-11-04** `aa6ea92a9415`: 1 info
  - added the non-success response with the status `400`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/external-services/:id/preview-environment-masked/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
