GET /api/v1/cloud/vaults
Retrieves vaults under the current account with cursor pagination and optional name search. Archived vaults are excluded by default.
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Maximum number of records per page. Default 20, range 1-100. Values above 100 return 400 invalid_request_error. |
page | string | No | Claude-style forward cursor. Equivalent to after_id; mutually exclusive with before_id and after_id |
after_id | string | No | Cursor pagination: return records after this ID. Mutually exclusive with page and before_id |
before_id | string | No | Cursor pagination: return records before this ID. Mutually exclusive with page and after_id |
include_archived | boolean | No | Set to true to include archived vaults |
name | string | No | Search vaults by display name |
Example request
Example response
HTTP 200 OKEmpty list response
Response fields
| Field | Type | Description |
|---|---|---|
data | array | Array of Vault objects |
next_page | string | null | Forward cursor for the next page; use as page when has_more is true |
first_id | string | null | ID of the first record on the current page |
last_id | string | null | ID of the last record on the current page (use for cursor pagination) |
has_more | boolean | Whether more pages are available |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 400 | invalid_request_error | Invalid limit, or more than one of page, before_id, and after_id is provided |
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
Related
Authenticate with vaults
Store and inject secrets safely into agent sessions.