---
title: "Get a wrapped vault"
method: GET
path: "/api/vaults/{id}/wrapped"
---

# Get a wrapped vault

`GET /api/vaults/{id}/wrapped`

## Request

- Base URL: `https://api.hyperbrowser.ai`
- URL: `https://api.hyperbrowser.ai/api/vaults/{id}/wrapped`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/hyperbrowser/apis/hyperbrowser-api/docs/api/vaults/:id/wrapped/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the wrapped envelopes of a vault's customer-protected entries, each at the version its entry resolves to now. Unwrap them with your key and pass the vault to a sandbox or process as `{name, unwrapped}`. See [Customer-protected secrets](/sandboxes/customer-keys). Secrets are enabled for teams on request; please contact support to enable them (otherwise 403 SECRETS_FEATURE_DISABLED). Restricted API keys need the secrets.use scope. When you're signed in rather than using an API key, you must be a team owner or admin (otherwise 403 SECRETS_ADMIN_REQUIRED).

## Path parameters

- `id` string, uuid, required

## Response `200`

Success

- WrappedVault
  - `id` string, uuid, required
  - `name` string, required
  - `entries` object, required: The vault's customer-protected entries only, by environment variable, each at the version it resolves to now.

## Other responses

- `400`: Invalid vault ID.
- `401`: Authentication required.
- `403`: API_KEY_SCOPE_DENIED (the API key lacks a required scope), SECRETS_FEATURE_DISABLED, or SECRETS_ADMIN_REQUIRED.
- `404`: VAULT_NOT_FOUND, or SECRET_VERSION_NOT_FOUND: a customer-protected entry has no value yet.
- `500`: Internal server error.

## Changes

- **2026-11-10** `94dc06948680`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hyperbrowser/apis/hyperbrowser-api/changes/api/vaults/:id/wrapped/get.md)

---

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