Update Vault
POST
/anthropic/v1/vaults/{vault_id}● SupportedRequest parameters
vault_idstringrequiredpath: Vault ID (path or query parameter).
display_namestringoptionalUpdated human-readable name for the vault. 1-255 characters.
metadataobjectoptionalMetadata patch. Set a key to a string to upsert it, or to null to delete it. Omitted keys are preserved.
Returns
200
Supports create, list, retrieve, update, archive and delete. Lists accept limit, page and include_archived. Archiving a vault archives every credential in it and clears their values; deleting it removes every credential and cannot be undone. Metadata keys starting with anthropic. are reserved and cannot be written. The same vaults are also available through the native /vault/v1 API.
Errors follow the Claude Managed Agents format — see error codes
Request
curl
curl https://api.deepraxis.com/anthropic/v1/vaults/vlt_123 \
-H "x-api-key: $PRAXIS_API_KEY" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: managed-agents-2026-04-01" \
-H "Content-Type: application/json" \
-d '{"metadata":{"team":"docs"}}'Python
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.deepraxis.com/anthropic",
api_key="$PRAXIS_API_KEY",
)
result = client.beta.vaults.update("vlt_123", metadata={'team': 'docs'})
print(result)TypeScript
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({
baseURL: "https://api.deepraxis.com/anthropic",
apiKey: "$PRAXIS_API_KEY",
});
const result = await client.beta.vaults.update("vlt_123", {
"metadata": {
"team": "docs"
}
});
console.log(result);Response 200
{
"id": "vlt_95e96f6f23dd406595834f2951239d55",
"type": "vault",
"display_name": "walk-vault-r1-docs2-example",
"metadata": {
"team": "docs"
},
"created_at": "2026-10-12T11:36:07.051Z",
"updated_at": "2026-10-12T11:36:09.459Z",
"archived_at": null
}Response
HTTP 200
Successful response
application/json
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the vault. |
| archived_at | null | string | A timestamp in RFC 3339 format |
| created_at | string | A timestamp in RFC 3339 format |
| display_name | string | Human-readable name for the vault. |
| metadata | object | Arbitrary key-value metadata attached to the vault. |
| type | string | |
| updated_at | string | A timestamp in RFC 3339 format |