---
title: "Get environment variable names preview (safe - no sensitive values)"
method: GET
path: "/external-services/{id}/preview-environment-names"
tags: ["External Services"]
---

# Get environment variable names preview (safe - no sensitive values)

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

## 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-names`
- Auth: none declared

## Path parameters

- `id` integer, required

## Response `200`

List of environment variable names that would be provided

- string[]

## 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-names/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)
