---
title: "POST /v1/datasource"
method: POST
path: "/v1/datasource"
tags: ["Datasource"]
---

# POST /v1/datasource

`POST /v1/datasource`

## Request body

- MarksmanApiV1CreateDatasourceRequest
  - `name` string
  - `type` integer
  - `driver` integer
  - `metadata` object
  - `url` string
  - `remark` string
  - `levelUid` string

## Response `200`

OK

- MarksmanApiV1CreateDatasourceReply
  - `uid` string

## Changes

- **2026-03-25** `650c5b44c427` — 1 info
  - added the new optional request property `levelUid`
- **2026-03-10** `6e8f2c12531c` — 1 info
  - added the optional property `uid` to the response with the `200` status
- **2026-03-02** `f5c29f4f5b75` — 2 info
  - added the new optional request property `remark`
  - added the new optional request property `url`
- **2026-02-28** `f5912329bb01` — 4 warning
  - removed the request property `levelUid`
  - removed the request property `remark`
  - removed the request property `url`
  - removed the optional property `uid` from the response with the `200` status

[Change history](https://skmtc.dev/aide-family/apis/untitled-api-3/changes/v1/datasource/post.md)

---

[API](https://skmtc.dev/aide-family/apis/untitled-api-3.md) · [All operations](https://skmtc.dev/aide-family/apis/untitled-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aide-family/untitled-api-3/revisions/26ae221fccba/schema)
