AnthropicClaude Managed Agents

Create Vault

Create a credential vault that holds the third-party credentials an agent needs.

POST /anthropic/v1/vaults● Supported

Request body

  • display_namestring必填

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

  • metadataobject可选

    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

Response

HTTP 200

Successful response

application/json

NameTypeDescription
idstringUnique identifier for the vault.
archived_atnull | stringA timestamp in RFC 3339 format
created_atstringA timestamp in RFC 3339 format
display_namestringHuman-readable name for the vault.
metadataobjectArbitrary key-value metadata attached to the vault.
typestring
updated_atstringA timestamp in RFC 3339 format