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

Export a tab 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
tab_id
string | null
interface_id
string | null
tab_name
string | null
checkpoint
boolean
default:"false"
curl --request POST \
  --url 'https://api.unify.ai/v0/tab/export_template' \
  --header "Authorization: Bearer $UNIFY_KEY" \
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "template": {
        "name": "Overview Tab",
        "tiles": [
            {
                "name": "Data Table",
                "type": "Table",
                "position": {
                    "x": 0,
                    "y": 0,
                    "width": 6,
                    "height": 4
                }
            }
        ]
    },
    "metadata": {
        "exported_at": "2024-01-01T12:00:00Z"
    },
    "export_stats": {
        "tabs": 1,
        "tiles": 1
    }
}