- Universal API
- Logging
- Projects
- DELDelete Project Contexts
- POSTCommit Project
- POSTRollback Project
- GETGet project commit history
- GETGet Favorites
- POSTCreate Favorite
- GETGet Favorite
- PATCHUpdate Favorite
- DELDelete Favorite
- POSTCreate Project
- DELDelete Project Logs
- DELDelete Project
- PATCHUpdate Project
- GETGet Project
- GETList Projects
- POSTExport Project Template
- POSTImport Project Template
- DEL
- Contexts
- Logs
- Configs
- Account
Projects
Export Project Template
POST
/
v0
/
project
/
export_template
Copy
Ask AI
curl --request POST \
--url 'https://api.unify.ai/v0/project/export_template' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Copy
Ask AI
{
"template": {
"interfaces": [
{
"name": "Analytics Dashboard",
"tabs": [
{
"name": "Overview",
"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": {
"interfaces": 1,
"tabs": 1,
"tiles": 1
}
}
Export project interfaces as a reusable template.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Copy
Ask AI
curl --request POST \
--url 'https://api.unify.ai/v0/project/export_template' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Copy
Ask AI
{
"template": {
"interfaces": [
{
"name": "Analytics Dashboard",
"tabs": [
{
"name": "Overview",
"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": {
"interfaces": 1,
"tabs": 1,
"tiles": 1
}
}
Copy
Ask AI
curl --request POST \
--url 'https://api.unify.ai/v0/project/export_template' \
--header "Authorization: Bearer $UNIFY_KEY" \
--header 'Content-Type: application/json' \
--data '{}'
Copy
Ask AI
{
"template": {
"interfaces": [
{
"name": "Analytics Dashboard",
"tabs": [
{
"name": "Overview",
"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": {
"interfaces": 1,
"tabs": 1,
"tiles": 1
}
}
Assistant
Responses are generated using AI and may contain mistakes.