---
title: "Get model DDL"
method: GET
path: "/storage/models/{uuid}/ddl"
tags: ["Storage - Models"]
---

# Get model DDL

`GET /storage/models/{uuid}/ddl`

Get the DDL for a model's table in the system of record

## Path parameters

- `uuid` string, required — Resource UUID

## Response `200`

Successful response

- object
  - `ddl` string, required — Data Definition Language for the model table.
  - `language` string, required — System of record dialect (e.g. snowflake, bigquery).

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/getcargo/apis/cargo-api.md) · [All operations](https://skmtc.net/getcargo/apis/cargo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getcargo/cargo-api/revisions/1d5a19e01d83/schema)
