POST
/
v0
/
tile
/
export_template
curl --request POST \
  --url 'https://api.unify.ai/v0/tile/export_template' \
  --header "Authorization: Bearer $UNIFY_KEY" \
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "template": {
        "name": "Data Table",
        "type": "Table",
        "position": {
            "x": 0,
            "y": 0,
            "width": 6,
            "height": 4
        },
        "table_tile": {
            "table_type": "Data Table",
            "column_order": [
                "id",
                "name",
                "value"
            ]
        }
    },
    "metadata": {
        "exported_at": "2024-01-01T12:00:00Z"
    },
    "export_stats": {
        "tiles": 1
    }
}

Export a tile as a reusable template.

Authorizations

Authorization
string
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

include_metadata
boolean
default:"true"
description
string | null
tags
[string]
default:"[]"
template_name
string | null
tile_id
string | null
tab_id
string | null
tile_name
string | null
checkpoint
boolean
default:"false"
curl --request POST \
  --url 'https://api.unify.ai/v0/tile/export_template' \
  --header "Authorization: Bearer $UNIFY_KEY" \
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "template": {
        "name": "Data Table",
        "type": "Table",
        "position": {
            "x": 0,
            "y": 0,
            "width": 6,
            "height": 4
        },
        "table_tile": {
            "table_type": "Data Table",
            "column_order": [
                "id",
                "name",
                "value"
            ]
        }
    },
    "metadata": {
        "exported_at": "2024-01-01T12:00:00Z"
    },
    "export_stats": {
        "tiles": 1
    }
}