---
title: "Get Datasource"
method: GET
path: "/datasources/{datasource_id}"
tags: ["Data Sources"]
---

# Get Datasource

`GET /datasources/{datasource_id}`

Retrieve the given datasource record.

## Path parameters

- `datasource_id` string, required

## 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/akkio/apis/fastapi.md) · [All operations](https://skmtc.net/akkio/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akkio/fastapi/versions/6662a407c637/schema)
