POST
/v1/4bridge/4segments/tables/preview-ddlCreate tables preview ddl
Not yet documented — no summary in the API source.
Requires
Authorization: Bearer sk_...tenant_idRequest body application/json
table_namestringnullablenamestringnullablemysql_typestringnullablenullablebooleanis_pkbooleansource_field_originstringnullableResponses
No response body.
curl --request POST \
--url 'https://api.4comply.io/v1/4bridge/4segments/tables/preview-ddl' \
--header 'Authorization: Bearer sk_...' \
--header 'tenant_id: your-tenant-id' \
--header 'Content-Type: application/json' \
--data '{
"table_name": "Example name",
"columns": [
{
"name": "Example name",
"mysql_type": "string",
"nullable": true,
"is_pk": true,
"source_field_origin": "string"
}
]
}'