---
title: "Create Data Source"
method: POST
path: "/api/data-sources"
tags: ["data_sources"]
---

# Create Data Source

`POST /api/data-sources`

## Request

- Base URL: `https://app.dataassist.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.dataassist.io/api/data-sources`
- Auth: none declared

## Request body

- CreateDataSourceRequest
  - `name` string, required
  - `source_type` string, required
  - `config` object, required
  - `dialect` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataassist/apis/dataassist-io-server.md) · [All operations](https://skmtc.dev/dataassist/apis/dataassist-io-server/llms.txt) · [OpenAPI document](https://skmtc.dev/dataassist/apis/dataassist-io-server/revisions/43b22ccf75fe?raw)
