---
title: "Get Datasource By Org"
method: GET
path: "/datasources"
tags: ["Data Sources"]
---

# Get Datasource By Org

`GET /datasources`

Retrieve all datasource records for the user's organization.

## Query parameters

- `org_id` string, nullable

## Response `200`

Successful Response

- DataSource[]
  - `_owner` string, required — ID of user that created this entry.
  - `_org` string, required — ID of user's active organization when creating this entry.
  - `id` string — ID of this entry.
  - `name` string, required
  - `type` 'bigquery' | 's3' | 'duckdb' | 'snowflake' | 'databricks' | 'databricks_warehouse' | 'databricks_volume', required
  - `transient_view_sql` string, nullable
  - `creds` DataSourceCreds, required
  - `config` DataSourceConfig, required
    - `tables` string[]
    - `skipSupplementalInfoRefresh` boolean
    - `chatOnlyTables` string[]
    - `tags` object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/akk/apis/fastapi.md) · [All operations](https://skmtc.net/akk/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akk/fastapi/revisions/6662a407c637/schema)
