Skip to content
中文

Create Vault

POST/anthropic/v1/vaults● Supported

Request body

  • display_namestringrequired

    Human-readable name for the vault. 1-255 characters.

  • metadataobjectoptional

    Arbitrary key-value metadata to attach to the vault. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.

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 \
  -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 '{"display_name":"walk-vault-r1-docs2-example"}'
Python
from anthropic import Anthropic

client = Anthropic(
    base_url="https://api.deepraxis.com/anthropic",
    api_key="$PRAXIS_API_KEY",
)

result = client.beta.vaults.create(display_name='walk-vault-r1-docs2-example')
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.create({
  "display_name": "walk-vault-r1-docs2-example"
});
console.log(result);

Response 200

{
  "id": "vlt_95e96f6f23dd406595834f2951239d55",
  "type": "vault",
  "display_name": "walk-vault-r1-docs2-example",
  "metadata": {},
  "created_at": "2026-10-12T11:36:07.051Z",
  "updated_at": "2026-10-12T11:36:07.051Z",
  "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