Vaults changedapi/beta/vaults
Nearest release: v2.1.309, published 2 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+26added
Lines−26removed
From line
190
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits21to this page, all time
The whole hunk
from line 190, old and new numbered
/
from line 190
190190```bash
191191curl https://api.anthropic.com/v1/vaults \
192192 -H 'Content-Type: application/json' \
193 -H 'anthropic-version: 2023-06-01' \
193 -H 'anthropic-version: 2026-10-21' \
194194 -H 'anthropic-beta: managed-agents-2026-04-01' \
195 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
195 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
196196 -d '{
197197 "display_name": "Example vault",
198198 "metadata": {
from line 409
409409
410410```bash
411411curl https://api.anthropic.com/v1/vaults \
412 -H 'anthropic-version: 2023-06-01' \
412 -H 'anthropic-version: 2026-10-21' \
413413 -H 'anthropic-beta: managed-agents-2026-04-01' \
414 -H "X-Api-Key: $ANTHROPIC_API_KEY"
414 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
415415```
416416
417417#### Response (200)
from line 613
613613
614614```bash
615615curl https://api.anthropic.com/v1/vaults/$VAULT_ID \
616 -H 'anthropic-version: 2023-06-01' \
616 -H 'anthropic-version: 2026-10-21' \
617617 -H 'anthropic-beta: managed-agents-2026-04-01' \
618 -H "X-Api-Key: $ANTHROPIC_API_KEY"
618 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
619619```
620620
621621#### Response (200)
from line 825
825825```bash
826826curl https://api.anthropic.com/v1/vaults/$VAULT_ID \
827827 -H 'Content-Type: application/json' \
828 -H 'anthropic-version: 2023-06-01' \
828 -H 'anthropic-version: 2026-10-21' \
829829 -H 'anthropic-beta: managed-agents-2026-04-01' \
830 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
830 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
831831 -d '{
832832 "display_name": "Example vault",
833833 "metadata": {
from line 1005
10051005```bash
10061006curl https://api.anthropic.com/v1/vaults/$VAULT_ID \
10071007 -X DELETE \
1008 -H 'anthropic-version: 2023-06-01' \
1008 -H 'anthropic-version: 2026-10-21' \
10091009 -H 'anthropic-beta: managed-agents-2026-04-01' \
1010 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1010 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
10111011```
10121012
10131013#### Response (200)
from line 1198
11981198```bash
11991199curl https://api.anthropic.com/v1/vaults/$VAULT_ID/archive \
12001200 -X POST \
1201 -H 'anthropic-version: 2023-06-01' \
1201 -H 'anthropic-version: 2026-10-21' \
12021202 -H 'anthropic-beta: managed-agents-2026-04-01' \
1203 -H "X-Api-Key: $ANTHROPIC_API_KEY"
1203 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
12041204```
12051205
12061206#### Response (200)
from line 1748
17481748```bash
17491749curl https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials \
17501750 -H 'Content-Type: application/json' \
1751 -H 'anthropic-version: 2023-06-01' \
1751 -H 'anthropic-version: 2026-10-21' \
17521752 -H 'anthropic-beta: managed-agents-2026-04-01' \
1753 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
1753 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
17541754 -d '{
17551755 "auth": {
17561756 "token": "bearer_exampletoken",
from line 2101
21012101
21022102```bash
21032103curl https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials \
2104 -H 'anthropic-version: 2023-06-01' \
2104 -H 'anthropic-version: 2026-10-21' \
21052105 -H 'anthropic-beta: managed-agents-2026-04-01' \
2106 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2106 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
21072107```
21082108
21092109##### Response (200)
from line 2432
24322432
24332433```bash
24342434curl https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials/$CREDENTIAL_ID \
2435 -H 'anthropic-version: 2023-06-01' \
2435 -H 'anthropic-version: 2026-10-21' \
24362436 -H 'anthropic-beta: managed-agents-2026-04-01' \
2437 -H "X-Api-Key: $ANTHROPIC_API_KEY"
2437 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
24382438```
24392439
24402440##### Response (200)
from line 2901
29012901```bash
29022902curl https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials/$CREDENTIAL_ID \
29032903 -H 'Content-Type: application/json' \
2904 -H 'anthropic-version: 2023-06-01' \
2904 -H 'anthropic-version: 2026-10-21' \
29052905 -H 'anthropic-beta: managed-agents-2026-04-01' \
2906 -H "X-Api-Key: $ANTHROPIC_API_KEY" \
2906 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
29072907 -d '{
29082908 "display_name": "Example credential",
29092909 "metadata": {
from line 3090
30903090```bash
30913091curl https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials/$CREDENTIAL_ID \
30923092 -X DELETE \
3093 -H 'anthropic-version: 2023-06-01' \
3093 -H 'anthropic-version: 2026-10-21' \
30943094 -H 'anthropic-beta: managed-agents-2026-04-01' \
3095 -H "X-Api-Key: $ANTHROPIC_API_KEY"
3095 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
30963096```
30973097
30983098##### Response (200)
from line 3405
34053405```bash
34063406curl https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials/$CREDENTIAL_ID/archive \
34073407 -X POST \
3408 -H 'anthropic-version: 2023-06-01' \
3408 -H 'anthropic-version: 2026-10-21' \
34093409 -H 'anthropic-beta: managed-agents-2026-04-01' \
3410 -H "X-Api-Key: $ANTHROPIC_API_KEY"
3410 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
34113411```
34123412
34133413##### Response (200)
from line 3676
36763676```bash
36773677curl https://api.anthropic.com/v1/vaults/$VAULT_ID/credentials/$CREDENTIAL_ID/mcp_oauth_validate \
36783678 -X POST \
3679 -H 'anthropic-version: 2023-06-01' \
3679 -H 'anthropic-version: 2026-10-21' \
36803680 -H 'anthropic-beta: managed-agents-2026-04-01' \
3681 -H "X-Api-Key: $ANTHROPIC_API_KEY"
3681 -H "Authorization: Bearer $ANTHROPIC_API_KEY"
36823682```
36833683
36843684##### Response (200)
No line in this hunk matches that.