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{ id, type }

Confirmation of a deleted vault.

id: string

Unique identifier of the deleted vault.

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

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

id: string

Unique identifier for the vault.

archived_at: string or null

A timestamp in RFC 3339 format

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.

type: "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
驗證憑證
POST/v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate