GET /v1/vaults/{vault_id}
Retrieves the details of a single vault by ID.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
vault_id | string | Yes | Vault unique identifier |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
Example response
HTTP 200 OKResponse fields
| Field | Type | Description |
|---|---|---|
id | string | Vault unique identifier with the vault_ prefix |
type | string | Always "vault" |
display_name | string | Display name |
status | string | Status: active or archived |
metadata | object | Custom metadata |
archived_at | string | Archive time; present only when archived |
created_at | string | Creation time (ISO 8601) |
updated_at | string | Last update time (ISO 8601) |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
| 404 | not_found_error | Vault does not exist or is not accessible: “Vault ‘{vault_id}’ was not found.” |
Related
Authenticate with vaults
Store and inject secrets safely into agent sessions.