Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qoder.com/llms.txt

Use this file to discover all available pages before exploring further.

GET /v1/vaults Retrieves all vaults under the current account with cursor pagination and status filtering.

Headers

HeaderRequiredDescription
AuthorizationYesBearer $QODER_PAT

Query parameters

ParameterTypeRequiredDescription
limitintegerNoMaximum number of records per page
afterstringNoCursor pagination: return records after this ID
statusstringNoFilter by status. One of: active, archived

Example request

# List all vaults
curl -X GET https://openapi.qoder.sh/api/v1/cloud/vaults \
  -H "Authorization: Bearer $QODER_PAT"

# Paginate
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/vaults?limit=2" \
  -H "Authorization: Bearer $QODER_PAT"

# Filter by status
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/vaults?status=archived" \
  -H "Authorization: Bearer $QODER_PAT"

Example response

HTTP 200 OK
{
  "data": [
    {
      "id": "vault_019e3bb940277f0db05ab74291acf6ef",
      "type": "vault",
      "display_name": "my-mcp-vault",
      "status": "active",
      "metadata": {},
      "created_at": "2026-05-18T15:34:16.874877Z",
      "updated_at": "2026-05-18T15:34:16.874877Z"
    }
  ],
  "first_id": "vault_019e3bb940277f0db05ab74291acf6ef",
  "last_id": "vault_019e3bb940277f0db05ab74291acf6ef",
  "has_more": false
}

Empty list response

{
  "data": [],
  "first_id": null,
  "last_id": null,
  "has_more": false
}

Response fields

FieldTypeDescription
dataarrayArray of Vault objects
first_idstring | nullID of the first record on the current page
last_idstring | nullID of the last record on the current page (use for cursor pagination)
has_morebooleanWhether more pages are available

Errors

HTTPTypeTrigger
401TOKEN_INVALIDMissing or invalid authentication token
See Errors for the full error envelope.