Export a tab as a reusable template.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
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
}
}