Skip to main content
GET
/
api
/
v2
/
vaults
List vaults
curl --request GET \
  --url https://agp.eu.hcompany.ai/api/v2/vaults \
  --header 'Authorization: Bearer <token>'
Returns the vault configs owned by your organization, with offset-based pagination. Returns an object with total, limit, offset, and a vaults array of vault objects.

Query parameters

limit
integer
default:"50"
Maximum number of configs to return. Between 1 and 1000.
offset
integer
default:"0"
Number of configs to skip before collecting the page.

Examples

curl "https://agp.eu.hcompany.ai/api/v2/vaults?limit=50&offset=0" \
  -H "Authorization: Bearer $HAI_API_KEY"
Response
{
  "total": 1,
  "limit": 50,
  "offset": 0,
  "vaults": [
    {
      "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "org_id": "org_123",
      "name": "prod-1password",
      "provider_config": {"provider": "onepassword", "op_vault_id": "abcd1234efgh5678"},
      "created_at": "2026-05-07T14:30:00Z",
      "updated_at": "2026-05-07T14:30:00Z"
    }
  ]
}