Get Vault

Updated at:

Retrieves the details of a single Vault by ID.

Prerequisites

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

Endpoint

GET/vaults/{vault_id}

Path parameters

vault_idstringRequired

Vault ID, format vlt_xxx

Request example

curl "$AGENTSTUDIO_URL/vaults/vlt_xxx" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"

Response fields

idstring

Vault ID, format vlt_xxx

typestring

Always vault

display_namestring

Human-readable name of the Vault

metadataobject

Custom key-value pairs

archived_atstring | null

Archive timestamp; null if not archived

created_atstring

Creation time, ISO 8601

updated_atstring

Last update time, ISO 8601

Response example

{
  "id": "vlt_xxx",
  "type": "vault",
  "display_name": "Production secrets vault",
  "metadata": {
    "environment": "production"
  },
  "archived_at": null,
  "created_at": "2026-06-20T10:00:00Z",
  "updated_at": "2026-06-20T10:00:00Z"
}

Error codes

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