---
title: "Read raw secret value (audited, admin-only)"
method: GET
path: "/api/v1/hosting/apps/{app_id}/secrets/{id}/value"
tags: ["hosting"]
---

# Read raw secret value (audited, admin-only)

`GET /api/v1/hosting/apps/{app_id}/secrets/{id}/value`

## Request

- Base URL: `https://composal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://composal.com/api/v1/hosting/apps/{app_id}/secrets/{id}/value`
- Auth: HTTP bearer

## Path parameters

- `app_id` string, required
- `id` string, required

## Response `200`

Raw secret value for the current active version

- object
  - `id` string, required
  - `slug` string, required
  - `env_key` string, nullable
  - `version_number` integer, required
  - `value` string, required
  - `value_kind` string, required
  - `value_digest` string, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: No active version found
- `422`: Unprocessable entity
- `502`: Bad gateway

---

[API](https://skmtc.dev/composal/apis/vex-api.md) - [All operations](https://skmtc.dev/composal/apis/vex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/composal/apis/vex-api/revisions/74298a24e040?raw)
