---
title: "CREATE TABLE DDL"
method: GET
path: "/v1/tables/{name}/ddl"
tags: ["Exports"]
---

# CREATE TABLE DDL

`GET /v1/tables/{name}/ddl`

## Request

- Base URL: `https://api.rossdata.dev`
- URL: `https://api.rossdata.dev/v1/tables/{name}/ddl`
- Auth: none declared

CREATE TABLE with column-comment docs, PKs and FK constraints. Tables only.

## Path parameters

- `name` string, required

## Response `200`

OK

## Other responses

- `404`: Not a table

---

[API](https://skmtc.dev/rossdata/apis/rossdata-dev-api.md) · [All operations](https://skmtc.dev/rossdata/apis/rossdata-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rossdata/apis/rossdata-dev-api/revisions/8c796f2e258c?raw)
