POST
/
v1
/
tables
/
{table_id}
/
clone
curl --request POST \
  --url https://api.extruct.ai/v1/tables/{table_id}/clone \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ],
  "kind": "generic",
  "columns": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "config": {
        "kind": "input",
        "name": "<string>",
        "key": "<string>"
      }
    }
  ],
  "owner": {
    "id": "<string>",
    "email": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

table_id
string
required

Query Parameters

schema_only
boolean
default:false

Clone only the schema, not the data.

Response

200
application/json
Successful Response
id
string
required

Table ID.

created_at
string
required

Table creation time.

name
string
required

Table name.

kind
enum<string>
required

Table type.

Available options:
generic,
company
columns
object[]
required

Table columns configurations.

owner
object
required
description
string | null

Table description.

tags
string[] | null

Table tags.