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