---
title: "Connections Enumerate"
method: POST
path: "/connections/{connection_id}/enumerate"
---

# Connections Enumerate

`POST /connections/{connection_id}/enumerate`

## Request

- Base URL: `https://www.clipzyn.com/v1`
- URL: `https://www.clipzyn.com/v1/connections/{connection_id}/enumerate`
- Auth: HTTP bearer

Enumerate a connection's catalog and stage what it finds as catalog sources.

Runs the provider's connector over a bounded window and upserts each item, so
repeating the call is safe and reports how many rows were new. YouTube and
Drive need external_account_id (the channel or folder) the first time, since
consent is account-wide; send it in the body once and it is remembered. A
connection that is not active is validation_error, an unknown one is
not_found, and a provider with no connector here is ENGINE_PENDING. Requires the explicitly minted `bernayser:write` scope; bernayser:read permits safe projections and bernayser:write permits mutations. This BERNAYSER operation is quota-neutral. While dark it returns not_found, and a valid key without the required scope receives scope_missing. Fix a non-retryable request or credential before retrying; for rate_limited or service_unavailable, wait for retry_after_sec and retry once.

## Path parameters

- `connection_id` string, required

## Request body

- ConnectionEnumerateRequest
  - `external_account_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/clipzyn/apis/clipzyn-api.md) · [All operations](https://skmtc.dev/clipzyn/apis/clipzyn-api/llms.txt) · [OpenAPI document](https://skmtc.dev/clipzyn/apis/clipzyn-api/revisions/a0f30a836536?raw)
