GET
/
api
/
v1
/
table_template
curl --request GET \
  --url https://your-engine-url/api/v1/table_template/ \
  --header 'Authorization: <api-key>'
{
  "table_templates": [
    {
      "name": "<string>",
      "table_template": {
        "columns": [
          {
            "default": "<string>",
            "is_nullable": true,
            "type": "<string>",
            "name": "<string>"
          }
        ],
        "constraints": {
          "unique": [
            {
              "name": "",
              "columns": []
            }
          ],
          "primary_key": {
            "name": "",
            "columns": []
          },
          "foreign_keys": [
            {
              "name": "<string>",
              "reference_schema": "public",
              "reference_column": "<string>",
              "reference_table": "<string>",
              "column": "<string>"
            }
          ]
        }
      },
      "version": "<string>",
      "compatibility": "<string>",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter: 'Bearer <JWT>', where JWT is the access token. Example: Bearer access_token_comes_here

Query Parameters

order_by
string
default:recent
latest
boolean
default:false

Response

200
application/json
Successful Response
table_templates
object[]
required