GET
/vaults/{vault_id}/credentialsList vault credentials
Lists a vault's credentials using ID-based pagination without returning secret values. See vaults.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
vault_idstringrequired
The ID of the vault.
orderstringoptional
Sort order by the `created_at` timestamp. Use `asc` for ascending order or `desc` for descending order. Defaults to `desc`.
limitintegeroptional
The maximum number of resources to return. Defaults to 20. Values are clamped between 1 and 100.
statusstringoptional
Filter by one status or a list, such as `status=active` or `status[]=active&status[]=archived`. Both statuses are included by default.
afterstringoptional
Return resources after this resource ID in the selected order.
200A page of vault credentials.
objectstringrequired
The object type, which is always `list`.
dataarray<object>required
The resources returned in this page, in the requested sort order.
first_idstringrequired
The ID of the first resource in `data`, or `null` if the page is empty.
last_idstringrequired
The ID of the last resource in `data`, or `null` if the page is empty. Pass this as `after` with the same order and filters.
has_morebooleanrequired
Whether there are more resources to retrieve after this page.
400The request was invalid.
errorobjectrequired
The error returned by the API.
401Authentication or project context was missing.
errorobjectrequired
The error returned by the API.
403The API key lacks the required management permission.
errorobjectrequired
The error returned by the API.
404The requested vault or credential was not found.
errorobjectrequired
The error returned by the API.
409The request conflicted with the current vault state.
errorobjectrequired
The error returned by the API.
500An internal error occurred.
errorobjectrequired
The error returned by the API.
503The service is temporarily unavailable.
errorobjectrequired
The error returned by the API.
Error handling
A 400 is returned: The request was invalid. A 401 is returned: Authentication or project context was missing. A 403 is returned: The API key lacks the required management permission. A 404 is returned: The requested vault or credential was not found. A 409 is returned: The request conflicted with the current vault state. A 500 is returned: An internal error occurred. A 503 is returned: The service is temporarily unavailable.