The whole hunk
from line 115, old and new numbered
/
lines
from line 115
115115
116116- `"anthropic-workspace-id": optional string`
117117
118 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
119
120 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
121
118122### Body parameters
119123
120124- `display_name: string`
from line 327
323327
324328- `"anthropic-workspace-id": optional string`
325329
330 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
331
332 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
333
326334### Returns
327335
328336- `data: optional array of BetaManagedAgentsVault`
from line 413
405413
406414- `vault_id: string`
407415
416 Unique identifier of the vault to retrieve.
417
408418### Headers
409419
410420- `"anthropic-beta": optional array of AnthropicBeta`
from line 519
509519
510520- `"anthropic-workspace-id": optional string`
511521
522 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
523
524 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
525
512526### Returns
513527
514528- `BetaManagedAgentsVault object`
from line 596
582596
583597- `vault_id: string`
584598
599 Unique identifier of the vault to update.
600
585601### Headers
586602
587603- `"anthropic-beta": optional array of AnthropicBeta`
from line 702
686702
687703- `"anthropic-workspace-id": optional string`
688704
705 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
706
707 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
708
689709### Body parameters
690710
691711- `display_name: optional string or null`
from line 798
778798
779799- `vault_id: string`
780800
801 Unique identifier of the vault to delete.
802
781803### Headers
782804
783805- `"anthropic-beta": optional array of AnthropicBeta`
from line 904
882904
883905- `"anthropic-workspace-id": optional string`
884906
907 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
908
909 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
910
885911### Returns
886912
887913- `BetaManagedAgentsDeletedVault object`
from line 949
923949
924950- `vault_id: string`
925951
952 Unique identifier of the vault to archive.
953
926954### Headers
927955
928956- `"anthropic-beta": optional array of AnthropicBeta`
from line 1055
10271055
10281056- `"anthropic-workspace-id": optional string`
10291057
1058 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1059
1060 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
1061
10301062### Returns
10311063
10321064- `BetaManagedAgentsVault object`
from line 1187
11551187
11561188- `vault_id: string`
11571189
1190 Identifier of the vault to create the credential in.
1191
11581192#### Headers
11591193
11601194- `"anthropic-beta": optional array of AnthropicBeta`
from line 1293
12591293
12601294- `"anthropic-workspace-id": optional string`
12611295
1296 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1297
1298 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
1299
12621300#### Body parameters
12631301
12641302- `auth: BetaManagedAgentsMCPOAuthCreateParams or BetaManagedAgentsStaticBearerCreateParams or BetaManagedAgentsEnvironmentVariableCreateParams`
from line 1677
16391677
16401678- `vault_id: string`
16411679
1680 Identifier of the vault to list credentials for.
1681
16421682#### Query parameters
16431683
16441684- `include_archived: optional boolean`
from line 1799
17591799
17601800- `"anthropic-workspace-id": optional string`
17611801
1802 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
1803
1804 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
1805
17621806#### Returns
17631807
17641808- `data: optional array of BetaManagedAgentsCredential`
from line 2006
19622006
19632007- `vault_id: string`
19642008
2009 Identifier of the vault containing the credential.
2010
19652011- `credential_id: string`
19662012
2013 Unique identifier of the credential to retrieve.
2014
19672015#### Headers
19682016
19692017- `"anthropic-beta": optional array of AnthropicBeta`
from line 2116
20682116
20692117- `"anthropic-workspace-id": optional string`
20702118
2119 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
2120
2121 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
2122
20712123#### Returns
20722124
20732125- `BetaManagedAgentsCredential object`
from line 2314
22622314
22632315- `vault_id: string`
22642316
2317 Identifier of the vault containing the credential.
2318
22652319- `credential_id: string`
22662320
2321 Unique identifier of the credential to update.
2322
22672323#### Headers
22682324
22692325- `"anthropic-beta": optional array of AnthropicBeta`
from line 2424
23682424
23692425- `"anthropic-workspace-id": optional string`
23702426
2427 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
2428
2429 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
2430
23712431#### Body parameters
23722432
23732433- `auth: optional BetaManagedAgentsMCPOAuthUpdateParams or BetaManagedAgentsStaticBearerUpdateParams or BetaManagedAgentsEnvironmentVariableUpdateParams`
from line 2761
27012761
27022762- `vault_id: string`
27032763
2764 Identifier of the vault containing the credential.
2765
27042766- `credential_id: string`
27052767
2768 Unique identifier of the credential to delete.
2769
27062770#### Headers
27072771
27082772- `"anthropic-beta": optional array of AnthropicBeta`
from line 2871
28072871
28082872- `"anthropic-workspace-id": optional string`
28092873
2874 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
2875
2876 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
2877
28102878#### Returns
28112879
28122880- `BetaManagedAgentsDeletedCredential object`
from line 2916
28482916
28492917- `vault_id: string`
28502918
2919 Identifier of the vault containing the credential.
2920
28512921- `credential_id: string`
28522922
2923 Unique identifier of the credential to archive.
2924
28532925#### Headers
28542926
28552927- `"anthropic-beta": optional array of AnthropicBeta`
from line 3026
29543026
29553027- `"anthropic-workspace-id": optional string`
29563028
3029 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
3030
3031 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
3032
29573033#### Returns
29583034
29593035- `BetaManagedAgentsCredential object`
from line 3225
31493225
31503226- `vault_id: string`
31513227
3228 Identifier of the vault containing the credential.
3229
31523230- `credential_id: string`
31533231
3232 Unique identifier of the credential to validate.
3233
31543234#### Headers
31553235
31563236- `"anthropic-beta": optional array of AnthropicBeta`
from line 3335
32553335
32563336- `"anthropic-workspace-id": optional string`
32573337
3338 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
3339
3340 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
3341
32583342#### Returns
32593343
32603344- `BetaManagedAgentsCredentialValidation object`
from line 3399
33153399
33163400 - `"succeeded"`
33173401
3402 The token endpoint returned a new access token.
3403
33183404 - `"failed"`
33193405
3406 The token endpoint returned an error response. See `http_response` for detail.
3407
33203408 - `"connect_error"`
33213409
3410 The token endpoint could not be reached (DNS, TLS, or connection error).
3411
33223412 - `"no_refresh_token"`
33233413
3414 No refresh token is stored for the credential, so no exchange was attempted.
3415
33243416 - `status: BetaManagedAgentsCredentialValidationStatus`
33253417
33263418 Overall verdict of a credential validation probe.
from line 3419
33273419
33283420 - `"valid"`
33293421
3422 The credential successfully authenticated against its MCP server.
3423
33303424 - `"invalid"`
33313425
3426 The probe reached the MCP server and was rejected, and a refresh (if attempted) did not recover it.
3427
33323428 - `"unknown"`
3429
3430 The probe could not determine validity — for example, a transport error or a successful refresh that was not re-probed.
33333431
33343432 - `validated_at: string`
33353433