Claude Platform Docs

保存庫

建立保存庫
POST/v1/vaults
列出保存庫
GET/v1/vaults
擷取保存庫
GET/v1/vaults/{vault_id}
更新保存庫
POST/v1/vaults/{vault_id}
刪除保存庫
DELETE/v1/vaults/{vault_id}
封存保存庫
POST/v1/vaults/{vault_id}/archive
Models
BetaManagedAgentsDeletedVault object{ type: "vault_deleted", id }

Confirmation of a deleted vault.

type: "vault_deleted"
id: string

The unique ID of the deleted vault (vlt_...).

BetaManagedAgentsVault object{ type: "vault", id, archived_at, 4 more }

A vault that stores credentials for use by agents during sessions.

type: "vault"
id: string

The unique ID of the vault (vlt_...).

archived_at: string or null

When the vault was archived. Null if not archived.

formatdate-time
created_at: string

A timestamp in RFC 3339 format

formatdate-time
display_name: string

Human-readable name for the vault.

metadata: map[string]

Arbitrary key-value metadata attached to the vault.

updated_at: string

A timestamp in RFC 3339 format

formatdate-time

保存庫憑證

建立憑證
POST/v1/vaults/{vault_id}/credentials
列出憑證
GET/v1/vaults/{vault_id}/credentials
擷取憑證
GET/v1/vaults/{vault_id}/credentials/{credential_id}
更新憑證
POST/v1/vaults/{vault_id}/credentials/{credential_id}
刪除憑證
DELETE/v1/vaults/{vault_id}/credentials/{credential_id}
封存憑證
POST/v1/vaults/{vault_id}/credentials/{credential_id}/archive
驗證 MCP OAuth 憑證
POST/v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate