Get DDL for a specific object of the latest revision by name

Returns one object's DDL from the latest revision.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
Query Params
string
required
boolean
Defaults to false
string
enum
Defaults to None

How regular tables with SQL logic appear. none (the default) leaves the DDL as it is. ctas
creates each such table as CREATE TABLE ... AS its logic, with the modeled column list where the platform
takes one, followed by ALTER statements for what the platform cannot declare inside it. ctasNoColumns
does the same without the column list. separate leaves the DDL as it is and adds each table's
objectLogic. Values other than none work for Snowflake, BigQuery, Databricks and Azure
Synapse projects, and SQL Server takes separate only; any other project answers 400.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/xml
application/json