GET /v1/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 |
after_id | string | No | Cursor pagination: return records after this ID |
before_id | string | No | Cursor pagination: return records before this ID |
include_archived | boolean | No | Set to true to include archived vaults |
name | string | No | Search vaults by display name |
created_at[gte] | string | No | Include vaults created at or after this RFC 3339 timestamp |
created_at[lte] | string | No | Include vaults created at or before this RFC 3339 timestamp |
Example request
Example response
HTTP 200 OKEmpty list response
Response fields
| Field | Type | Description |
|---|---|---|
data | array | Array of Vault objects |
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 |
|---|---|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
Related
Authenticate with vaults
Store and inject secrets safely into agent sessions.