---
title: "List Connected Sources"
method: GET
path: "/workspaces/{workspace_id}/connected-sources"
tags: ["connected-sources"]
---

# List Connected Sources

`GET /workspaces/{workspace_id}/connected-sources`

## Path parameters

- `workspace_id` string, required

## Response `200`

Successful Response

- ConnectedSource[]
  - `id` string, nullable
  - `linked_by_user_id` string, required
  - `adapter` 'github' | 'slack' | 'uploaded_file', required — Type of source adapter (github, uploaded_file, etc.)
  - `visibility` 'private' | 'public' — Visibility level of a source
  - `config` union, required
    - GitHubSourceConfig — Configuration for a GitHub source
      - `repo` string, required
      - `branch` string, required
    - SlackSourceConfig — Configuration for a Slack source
      - `slack_team_id` string, required
      - `channel_id` string, required
    - UploadedFileSourceConfig — Configuration for an uploaded file source
      - `file_id` string, required
  - `metadata` union, required
    - GitHubSourceMetadata — Metadata for a GitHub source
      - `installation_id` integer, required
      - `commit_sha` string, required
    - SlackSourceMetadata — Metadata for a Slack source
      - `team_name` string, nullable
      - `channel_name` string, required
      - `is_private` boolean
    - UploadedFileSourceMetadata — Metadata for an uploaded file source
      - `filename` string, required
      - `content_type` string, nullable
      - `size_bytes` integer, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/tryscott/apis/one-shot-api.md) · [All operations](https://skmtc.dev/tryscott/apis/one-shot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tryscott/one-shot-api/revisions/28bdface01df/schema)
