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

# Get a vault

`GET /api/vaults/{id}`

## Request

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

Returns a vault and its entries. Secrets are enabled for teams on request; please contact support to enable them (otherwise 403 SECRETS_FEATURE_DISABLED). Restricted API keys need the secrets.read 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

- Vault: A named set of environment variables. Holds no values.
  - `id` string, uuid, required
  - `name` string, required: 1-128 letters, digits, `_` or `-`, starting with a letter or digit. Unique within your team.
  - `description` string, required
  - `entries` object, required: Environment variable name to entry.
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## 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: no vault with this ID in your team.
- `500`: Internal server error.

## Changes

- **2026-10-15** `225d94fe61a0`: 5 warning, 3 info
  - removed the optional property `entries/additionalProperties/field` from the response with the `200` status
  - removed the optional property `entries/additionalProperties/item` from the response with the `200` status
  - removed the optional property `entries/additionalProperties/reference` from the response with the `200` status
  - removed the optional property `entries/additionalProperties/section` from the response with the `200` status
  - …4 more
- **2026-10-15** `6ca0b00ee564`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hyperbrowser/apis/hyperbrowser-api/changes/api/vaults/:id/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)
