Skip to content

Get a table's SQL definition

GET
/api/workspaces/{workspaceId}/databases/{id}/table-definition
workspaceId
required
string
id
required
string
table
string
schema
string
database
string

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message