New: use Extruct search and tables from Claude, Codex, and more with the remote MCP server.
New: use Extruct search and tables from Claude, Codex, and more with the remote MCP server.
Clone table by ID.
Only allowed to admin users, from admin users, or users within same organization. Always clones the entire table hierarchy (parent and child tables). If schema_only=True, only schemas are cloned without data. If schema_only=False, creates an identical duplicate with all row relationships preserved.
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>",
"kind": "generic",
"columns": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"name": "<string>",
"key": "<string>",
"kind": "input"
}
}
],
"owner": {
"id": "<string>",
"email": "<string>"
},
"description": "<string>",
"tags": [
"<string>"
],
"child_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
],
"parent_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.extruct.ai/llms.txt
Use this file to discover all available pages before exploring further.
export EXTRUCT_API_TOKEN="YOUR_API_TOKEN"
export TABLE_ID="YOUR_TABLE_ID"
curl -X POST "https://api.extruct.ai/v1/tables/${TABLE_ID}/clone" \
-H "Authorization: Bearer ${EXTRUCT_API_TOKEN}" \
--data-urlencode "schema_only=true"
table_id (required): source table identifier.schema_only (optional): defaults to false; set true to clone structure without data.id.
401 UnauthorizedAuthorization: Bearer ${EXTRUCT_API_TOKEN}.
404 Not Found422 Unprocessable Entityschema_only query value.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Table ID.
Table creation time.
Table name.
Table type.
generic, company, people Table columns configurations.
Show child attributes
Show child attributes
Table description.
Table tags.
Child table relationships.
Show child attributes
Parent table relationships.
Show child attributes
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>",
"kind": "generic",
"columns": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"name": "<string>",
"key": "<string>",
"kind": "input"
}
}
],
"owner": {
"id": "<string>",
"email": "<string>"
},
"description": "<string>",
"tags": [
"<string>"
],
"child_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
],
"parent_relationships": [
{
"table_id": "<string>",
"relationship_type": "company_people"
}
]
}