---
title: "Browse the provider for a source scope"
method: GET
path: "/v2/workspaces/{id}/connectors/{cid}/browse"
tags: ["Connectors"]
---

# Browse the provider for a source scope

`GET /v2/workspaces/{id}/connectors/{cid}/browse`

## Request

- Base URL: `https://api.infolang.ai`
- URL: `https://api.infolang.ai/v2/workspaces/{id}/connectors/{cid}/browse`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

A shallow listing fetched through the stored credential: Drive folders, or the Notion pages and databases the integration was granted. This route exists so a client can present a scope picker WITHOUT ever holding a provider token — the response contains no credential material of any kind.

Requires the `connectors:write` scope. Accepts all three lanes: a session JWT (bounded by the caller's role on this workspace) or an `il_*` machine credential whose own scope set, workspace set and validity window cover it — both ceilings apply and neither can raise the other, so a credential carrying `connectors:write` is still refused where the role does not permit it.

A credential with no scope record resolves to `LEGACY_DEFAULT`, which does NOT include `connectors:write` — mint a key with it explicitly (`POST /v2/workspaces/{id}/keys`).

## Path parameters

- `id` string, required
- `cid` string, required

## Response `200`

What the human can pick

- object
  - `connection_id` string, required
  - `entries` object[], required
    - `id` string, required
    - `name` string, required
    - `kind` 'folder' | 'page' | 'database', required

## Other responses

- `401`: Missing/invalid credential, or `credential_expired` — the credential is outside its `[not_before, expires_at)` window and must be replaced
- `403`: `insufficient_scope` — the credential's own scope set, or the caller's role on this workspace, does not cover the scope this route requires (the missing scope is named in the message). Or `forbidden` — the credential is not scoped to this workspace, or holds no grant on it
- `404`: No such connector in this workspace
- `409`: `connector_not_authorized` — the connection has no stored credential yet. Or `connector_credential_unreadable` / `provider_not_configured`
- `502`: The provider refused or was unreachable

---

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