---
title: "List connections and the provider catalogue"
method: GET
path: "/v2/workspaces/{id}/connectors"
tags: ["Connectors"]
---

# List connections and the provider catalogue

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

## Request

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

Returns the workspace's connections AND the provider catalogue with a `configured` flag per provider — one call backs the whole tile grid. Never returns provider tokens.

Requires the `connectors:read` 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:read` 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:read` — mint a key with it explicitly (`POST /v2/workspaces/{id}/keys`).

## Path parameters

- `id` string, required

## Response `200`

Connections in the workspace, plus every provider this build supports

- object
  - `connectors` object[], required
    - `connection_id` string, required
    - `workspace_id` string, required
    - `provider` 'google_drive' | 'notion', required
    - `status` 'pending_auth' | 'active' | 'error' | 'revoked', required
    - `target_namespace` string, required
    - `source_scope` unknown
    - `synced_count` number, required
    - `created_at` string, required
    - `updated_at` string, required
    - `last_sync_at` string, nullable, required
    - `error` string, nullable, required
  - `providers` object[], required
    - `provider` 'google_drive' | 'notion', required
    - `display_name` string, required
    - `configured` boolean, required
    - `scopes` string[], required
    - `scope_kind` 'folder' | 'pages', 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

---

[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)
