GET List 1Password Vaults

List the 1Password vaults a connected identity source's token can read

GEThttps://api.anakin.io/v1/wire/identity-sources/{id}/1password/vaults

1Password-specific endpoint. Vault → item browsing is namespaced under /1password/ because each provider exposes its own structure. The /identity-sources management endpoints (connect, list, verify, disconnect, …) are provider-agnostic; this one is not — a future provider would expose its own browse shape.

Lists the vaults that a connected identity source's token can read. This is a live call to 1Password — the engine uses the source's stored token to enumerate vaults at request time, so the result always reflects the current state of the connected account.

Use a vault's id as the \{vault_id\} path segment in GET /v1/wire/identity-sources/{id}/1password/vaults/{vault_id}/items to browse the login items it contains.

Requires an X-API-Key. The source must belong to the authenticated user.


Path Parameters

ParameterTypeDescription
id requiredstring (UUID)The connected source's ID. Get it from GET /v1/wire/identity-sources

Response

200 OK
{
  "status": "ok",
  "vaults": [
    {
      "id": "abcd1234",
      "name": "Engineering"
    }
  ]
}
FieldTypeDescription
vaults[].idstringVault ID. Use this as \{vault_id\} in the items endpoint
vaults[].namestringDisplay name of the vault

Error Responses

All errors return JSON of the form { "status": "error", "error": { "code": "...", "message": "..." } }.

CodeHTTPWhen
SOURCE_REVOKED400The token was rejected by 1Password — reconnect the source (it is now marked revoked)
SOURCE_INACTIVE400The source is not active
SOURCE_UPSTREAM_ERROR502Could not reach 1Password
PROVIDER_NOT_SUPPORTED400No source is registered for this provider
PROVIDER_NOT_BROWSABLE400The provider doesn't support browsing
SOURCE_NOT_AVAILABLE503The source resolver isn't configured on this engine
NOT_FOUND404Source not found
FORBIDDEN403The source belongs to another user

Code Examples

curl https://api.anakin.io/v1/wire/identity-sources/f1e2d3c4-b5a6-7890-1234-56789abcdef0/1password/vaults \
  -H "X-API-Key: your_api_key"

Rate limit

30 requests per minute per user (each call makes a live request to 1Password).