Get Vault
api/beta/vaults/retrieve
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/beta/vaults/retrieve Changed · +15 / -16 lines
# Get Vault ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get Vault ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: Get Vault -url: https://platform.claude.com/docs/en/api/beta/vaults/retrieve ---- +# Get Vault -## Get Vault +**GET** `/v1/vaults/{vault_id}` -**get** `/v1/vaults/{vault_id}` - Get Vault -### Path Parameters +## Path parameters - `vault_id: string` -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Returns +## Returns -- `BetaManagedAgentsVault object { id, archived_at, created_at, 4 more }` +- `BetaManagedAgentsVault object` A vault that stores credentials for use by agents during sessions.
A timestamp in RFC 3339 format + format: date-time + - `created_at: string` A timestamp in RFC 3339 format + format: date-time + - `display_name: string` Human-readable name for the vault.
- `type: "vault"` - - `"vault"` - - `updated_at: string` A timestamp in RFC 3339 format -### Example + format: date-time -```http +## Example + +```bash curl https://api.anthropic.com/v1/vaults/$VAULT_ID \ -H 'anthropic-version: 2023-06-01' \ -H 'anthropic-beta: managed-agents-2026-04-01' \
-H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {