Skip to main content
POST
/
tables
Create Table
curl --request POST \
  --url https://api.example.com/tables \
  --header 'Content-Type: application/json' \
  --cookie fastapiusersauth= \
  --data '
{
  "name": "<string>",
  "columns": [
    {
      "name": "<string>",
      "type": "TEXT",
      "nullable": true,
      "default": "<unknown>"
    }
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

fastapiusersauth
string
cookie
required

Query Parameters

workspace_id
string<uuid>
required

Body

application/json

Create model for a table.

name
string
required

The name of the table

Required string length: 1 - 100
columns
TableColumnCreate · object[]

The columns of the table

Response

Successful Response