Skip to content
中文

Archive Vault

POST/anthropic/v1/vaults/{vault_id}/archive● Supported

Request parameters

  • vault_idstringrequired

    path: Vault ID (path or query parameter).

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 -X POST https://api.deepraxis.com/anthropic/v1/vaults/vlt_123/archive \
  -H "x-api-key: $PRAXIS_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "anthropic-beta: managed-agents-2026-04-01"
Python
from anthropic import Anthropic

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

result = client.beta.vaults.archive("vlt_123")
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.archive("vlt_123");
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:19.535Z",
  "archived_at": "2026-10-12T11:36:19.535Z"
}

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