Anthropic Vaults API

The Vaults API from Anthropic — 6 operation(s) for vaults.

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v1/vaults/{vault_id}/archive?beta=true Archive a credential vault · Archive Vault #
Ask an LLM
“How do I archive a vault I no longer want agents to use?”
“Can I retire a whole vault without deleting it?”
Tell an agent
Archive vault {vault_id}.
Retire vault {vault_id} but keep it on record.
POST /v1/vaults/{vault_id}/credentials/{credential_id}/archive?beta=true Archive a credential in a vault · Archive Credential #
Ask an LLM
“Can I archive one credential in a vault instead of deleting it?”
“What's the way to retire a single stored credential while keeping its history?”
Tell an agent
Archive credential {credential_id} in vault {vault_id}.
Retire vault {vault_id} credential {credential_id} without erasing it.
POST /v1/vaults/{vault_id}/credentials/{credential_id}/mcp_oauth_validate?beta=true Validate an MCP OAuth credential · Validate Credential #
Ask an LLM
“How do I check that a stored MCP OAuth credential still works?”
“Can I test a vault credential against its MCP server before an agent uses it?”
Tell an agent
Validate the MCP OAuth credential {credential_id} in vault {vault_id}.
Test whether vault {vault_id} credential {credential_id} can still authenticate to its MCP server.
GET /v1/vaults/{vault_id}/credentials/{credential_id}?beta=true Get a credential stored in a vault · Get Credential #
Ask an LLM
“What details can I see about one credential stored in a vault?”
“Can I look up a vault credential's display name and metadata?”
Tell an agent
Get credential {credential_id} from vault {vault_id}.
Show me vault {vault_id} credential {credential_id}.
POST /v1/vaults/{vault_id}/credentials/{credential_id}?beta=true Update a vault credential's auth or name · Update Credential #
Ask an LLM
“How do I replace the secret or auth details on an existing vault credential?”
“Can I rename a credential or change its metadata?”
Tell an agent
Replace the auth on credential {credential_id} in vault {vault_id} with {auth}.
Rename vault {vault_id} credential {credential_id} to {display_name}.
DELETE /v1/vaults/{vault_id}/credentials/{credential_id}?beta=true Delete a credential from a vault · Delete Credential #
Ask an LLM
“How do I permanently delete a credential from a vault?”
“Is deleting a vault credential reversible?”
Tell an agent destructive · confirm first
Delete credential {credential_id} from vault {vault_id}.
Permanently erase vault {vault_id} credential {credential_id}.
POST /v1/vaults/{vault_id}/credentials?beta=true Store a new credential in a vault · Create Credential #
Ask an LLM
“How do I add a new credential to a vault for my agents to use?”
“Can I name a credential when I store it?”
Tell an agent
Add credential {auth} to vault {vault_id}.
Store a new credential called {display_name} with auth {auth} in vault {vault_id}.
GET /v1/vaults/{vault_id}/credentials?beta=true List the credentials in a vault · List Credentials #
Ask an LLM
“Which credentials are stored in my vault?”
“Can I include archived credentials when listing a vault's contents?”
Tell an agent
List the credentials in vault {vault_id}.
Show all credentials in vault {vault_id}, archived included {include_archived}.
GET /v1/vaults/{vault_id}?beta=true Get a vault's details · Get Vault #
Ask an LLM
“What information is kept about a vault itself?”
“Can I look up one vault by its ID?”
Tell an agent
Get vault {vault_id}.
Show the name and metadata of vault {vault_id}.
POST /v1/vaults/{vault_id}?beta=true Rename a vault or change its metadata · Update Vault #
Ask an LLM
“Can I rename a vault after creating it?”
“Where do I change a vault's metadata?”
Tell an agent
Rename vault {vault_id} to {display_name}.
Set metadata {metadata} on vault {vault_id}.
DELETE /v1/vaults/{vault_id}?beta=true Delete a vault · Delete Vault #
Ask an LLM
“How do I permanently delete a vault?”
“Is there a way to remove a vault entirely rather than archive it?”
Tell an agent destructive · confirm first
Delete vault {vault_id}.
Permanently remove vault {vault_id} and everything in it.
POST /v1/vaults?beta=true Create a vault for agent credentials · Create Vault #
Ask an LLM
“How do I create a place to keep credentials my agents can use?”
“What do I need to provide to set up a new vault?”
Tell an agent
Create a vault named {display_name}.
Set up vault {display_name} with metadata {metadata}.
GET /v1/vaults?beta=true List my credential vaults · List Vaults #
Ask an LLM
“Which vaults exist in my account?”
“Can I list archived vaults as well as active ones?”
Tell an agent
List my vaults.
Show {limit} vaults per page, archived ones included {include_archived}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anthropic:anthropic-vaults-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

anthropic-vaults-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Anthropic Vaults API
servers:
- url: https://api.anthropic.com
tags:


# --- truncated at 32 KB (109 KB total) ---
# Full source: https://artifacts.apis.io/anthropic/openapi/anthropic-vaults-api-openapi.yml