# Generate customSQL for table Endpoint: GET /table-metadata/{tableMetadataId}/generateCustomSQL Version: 5.1.45 Security: api_key ## Path parameters: - `tableMetadataId` (integer, required) The ID of the table for which customSQL has to be generated ## Response 200 fields (application/json): - `customSql` (string) Custom SQL for the table. Example: "SELECT FROM public table1" ## Response 400 fields ## Response 403 fields ## Response 404 fields