List Vaults

Updated at:

Paginated list of Vaults under the workspace. Archived items are excluded by default.

Prerequisites

Endpoint and authentication configured. For details, see Overview and authentication.

Endpoint

GET /vaults

Query parameters

FieldRequiredTypeDescription
include_archivedNobooleanWhether to include archived Vaults; default false
limitNointegerNumber of items per page; default 20, max 100
pageNostringPagination cursor; take from the next_page value of the previous response

Request example

curl -X GET "$AGENTSTUDIO_URL/vaults?limit=20" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"

Response example

{
  "data": [
    {
      "id": "vlt_xxx",
      "type": "vault",
      "display_name": "production-keys",
      "metadata": {
        "environment": "production"
      },
      "archived_at": null,
      "created_at": "2026-06-20T10:00:00Z",
      "updated_at": "2026-06-20T10:00:00Z"
    }
  ],
  "next_page": null
}

Response fields

FieldTypeDescription
dataarray<object>Array of Vault objects
data[].idstringVault ID, format vlt_xxx
data[].typestringAlways vault
data[].display_namestringHuman-readable name of the Vault
data[].metadataobjectCustom key-value pairs
data[].archived_atstring | nullArchive timestamp; null if not archived
data[].created_atstringCreation time, ISO 8601
data[].updated_atstringLast update time, ISO 8601
next_pagestring | nullNext page cursor; null when there is no more data

Error codes

HTTP statusError codeDescription
400InvalidParameterRequired parameter missing or invalid
401InvalidApiKeyInvalid API key provided