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.
Create new columns in the table.
curl --request POST \
--url https://api.extruct.ai/v1/tables/{table_id}/columns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"column_configs": [
{
"name": "<string>",
"key": "<string>",
"kind": "input"
}
],
"insert_after": true
}
'[
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"name": "<string>",
"key": "<string>",
"kind": "input"
}
}
]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}/columns" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${EXTRUCT_API_TOKEN}" \
-d '{
"column_configs": [
{
"kind": "agent",
"name": "Description",
"key": "description",
"value": {
"agent_type": "research_pro",
"prompt": "Describe what the company does in 2 sentences.",
"output_format": "text"
}
}
],
"insert_after": true
}'
table_id (required): target table identifier.column_configs (required): list of new column config objects.insert_after (optional): defaults to true; can be true, false, or a column ID string.401 UnauthorizedAuthorization: Bearer ${EXTRUCT_API_TOKEN}.
404 Not Found422 Unprocessable Entitycolumn_configs shape or unsupported insert_after value.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Insert new columns after this column id. If true (default), insert in the end. If false, insert in the beginning.
Successful Response
Show child attributes
curl --request POST \
--url https://api.extruct.ai/v1/tables/{table_id}/columns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"column_configs": [
{
"name": "<string>",
"key": "<string>",
"kind": "input"
}
],
"insert_after": true
}
'[
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"config": {
"name": "<string>",
"key": "<string>",
"kind": "input"
}
}
]