---
title: "Get source UI spec"
method: POST
path: "/api/v1/project/{projectid}/sources/spec"
tags: ["Sources"]
---

# Get source UI spec

`POST /api/v1/project/{projectid}/sources/spec`

Retrieve the UI spec for a specific source type/version.

## Path parameters

- `projectid` string, required

## Request body

- DtoSpecRequest
  - `type` string, required — enum: postgres,mongodb,mysql,mssql,db2,s3,kafka,iceberg
  - `version` string, required

## Response `200`

OK

## Other responses

- `400` — failed to validate request
- `401` — unauthorized
- `413` — payload too large
- `500` — failed to get spec

## Changes

- **2026-07-17** `f1bcf21b1556` — 1 info
  - added the non-success response with the status `413`
- **2026-02-07** `8881928f860b` — 1 info
  - removed the non-success response with the status `413`

[Change history](https://skmtc.dev/datazip-inc/apis/olake-ui-api/changes/api/v1/project/:projectid/sources/spec/post.md)

---

[API](https://skmtc.dev/datazip-inc/apis/olake-ui-api.md) · [All operations](https://skmtc.dev/datazip-inc/apis/olake-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datazip-inc/olake-ui-api/revisions/f1bcf21b1556/schema)
