Skip to main content
GET
/
vault
/
{vaultId}
Retrieve a vault item
curl --request GET \
  --url https://api.altostrat.io/vault/{vaultId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "vlt_01h3j4k5l6m7n8p9q0r1s2t3u4",
  "name": "External Service API Key",
  "created_at": "2025-10-31T10:00:00.000000Z",
  "expires_at": "2026-10-31T10:00:00.000000Z"
}

Authorizations

Authorization
string
header
required

Standard JWT for user sessions obtained via Altostrat authentication.

Path Parameters

vaultId
string
required

The prefixed ID of the vault item (e.g., vlt_...).

Response

The requested vault item object.

id
string

The unique prefixed identifier for the vault item.

Example:

"vlt_01h3j4k5l6m7n8p9q0r1s2t3u4"

name
string

The name of the vault item. For API keys, use the api-key: prefix.

Example:

"External Service API Key"

created_at
string<date-time>

The timestamp when the item was created.

Example:

"2025-10-31T10:00:00.000000Z"

expires_at
string<date-time> | null

The timestamp when the item expires and can no longer be used.

Example:

"2026-10-31T10:00:00.000000Z"