The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: List Credentials
3url: https://platform.claude.com/docs/en/api/beta/vaults/credentials/list
4---
5
16# List Credentials
27
38**GET** `/v1/vaults/{vault_id}/credentials`
from line 37
3237
3338 - `string`
3439
35 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
40 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
3641
3742 - `"message-batches-2024-09-24"`
3843
from line 85
8085
8186 - `"user-profiles-2026-08-18"`
8287
88 - `"user-profiles-2026-09-04"`
89
8390 - `"advisor-tool-2026-03-01"`
8491
8592 - `"managed-agents-2026-04-01"`
from line 129
122129
123130 - `"mid-conversation-system-clear-at-2026-08-21"`
124131
132- `"anthropic-workspace-id": optional string`
133
125134## Returns
126135
127136- `data: optional array of BetaManagedAgentsCredential`
from line 137
128137
129138 List of credentials.
130139
140 - `type: "vault_credential"`
141
131142 - `id: string`
132143
133144 Unique identifier for the credential.
from line 157
146157
147158 OAuth credential details for an MCP server.
148159
160 - `type: "mcp_oauth"`
161
149162 - `mcp_server_url: string`
150163
151164 URL of the MCP server this credential authenticates against.
152165
153 - `type: "mcp_oauth"`
154
155166 - `expires_at: optional string or null`
156167
157168 A timestamp in RFC 3339 format
from line 215
204215
205216 Static bearer token credential details for an MCP server.
206217
218 - `type: "static_bearer"`
219
207220 - `mcp_server_url: string`
208221
209222 URL of the MCP server this credential authenticates against.
210223
211 - `type: "static_bearer"`
212
213224 - `BetaManagedAgentsEnvironmentVariableAuthResponse object`
214225
215226 Environment variable credential details. The secret value is never returned.
216227
228 - `type: "environment_variable"`
229
217230 - `injection_location: BetaManagedAgentsInjectionLocationResponse`
218231
219232 Where in the outbound request the secret value is substituted.
from line 253
240253
241254 The secret is substituted only on requests to the listed hosts.
242255
256 - `type: "limited"`
257
243258 - `allowed_hosts: array of string`
244259
245260 Hostnames on which the secret will be substituted. An entry matches the request host exactly; a `*.`-prefixed entry matches any subdomain of the named domain but not the domain itself.
246261
247 - `type: "limited"`
248
249262 - `secret_name: string`
250263
251264 Name of the environment variable.
252265
253 - `type: "environment_variable"`
254
255266 - `created_at: string`
256267
257268 A timestamp in RFC 3339 format
from line 272
261272 - `metadata: map[string]`
262273
263274 Arbitrary key-value metadata attached to the credential.
264
265 - `type: "vault_credential"`
266275
267276 - `updated_at: string`
268277