POST
/
v0
/
tile
curl --request POST \
  --url 'https://api.unify.ai/v0/tile/?checkpoint=None' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "123",
    "tab_id": "tab_456",
    "name": "Data Table",
    "type": "Table",
    "position": {
        "x": 0,
        "y": 0,
        "width": 6,
        "height": 4
    },
    "min_width": 2,
    "min_height": 2,
    "visible": true,
    "locked": false,
    "moved": false,
    "static": false,
    "table": "main_data",
    "auto_update": true,
    "freeze": false,
    "is_checkpoint": false,
    "table_tile": {
        "id": "table_123",
        "tile_id": "123",
        "table_type": "Data Table",
        "page_number": 1,
        "column_order": [
            "id",
            "name",
            "value"
        ],
        "hidden_columns": [],
        "columns_pin_left": [],
        "columns_pin_right": []
    },
    "created_at": "2024-01-01T12:00:00Z",
    "updated_at": "2024-01-01T12:00:00Z"
}

Create a new tile in a tab.

Authorizations

Authorization
string
required

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

Query Parameters

checkpoint
boolean

Whether to create a checkpoint tile (manual save)

Body

tab_id
string
required
name
string
required
position
object
required
type
string
required
min_width
number | null
min_height
number | null
visible
boolean
default:true
locked
boolean
default:false
moved
boolean
default:false
static
boolean
default:false
context
string | null
table
string | null
auto_update
string | null
freeze
string | null
filters
string | null
common_filter
string | null
metric
string | null
column_context
string | null
grouping
string | null
table_tile
any | null
plot_tile
any | null
view_tile
any | null
editor_tile
any | null
curl --request POST \
  --url 'https://api.unify.ai/v0/tile/?checkpoint=None' \
  --header "Authorization: Bearer $UNIFY_KEY"
  --header 'Content-Type: application/json' \
  --data '{}'
{
    "id": "123",
    "tab_id": "tab_456",
    "name": "Data Table",
    "type": "Table",
    "position": {
        "x": 0,
        "y": 0,
        "width": 6,
        "height": 4
    },
    "min_width": 2,
    "min_height": 2,
    "visible": true,
    "locked": false,
    "moved": false,
    "static": false,
    "table": "main_data",
    "auto_update": true,
    "freeze": false,
    "is_checkpoint": false,
    "table_tile": {
        "id": "table_123",
        "tile_id": "123",
        "table_type": "Data Table",
        "page_number": 1,
        "column_order": [
            "id",
            "name",
            "value"
        ],
        "hidden_columns": [],
        "columns_pin_left": [],
        "columns_pin_right": []
    },
    "created_at": "2024-01-01T12:00:00Z",
    "updated_at": "2024-01-01T12:00:00Z"
}