Table Management
Create Table
API Reference
Table Management
Company Search
AI Web Search
Table Management
Create Table
POST
/
v1
/
tables
curl --request POST \
--url https://api.extruct.ai/v1/tables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Supercharged Research",
"kind": "company",
"column_configs": [
{
"kind": "agent",
"name": "Company Description",
"key": "description",
"value": {
"agent_type": "research_pro",
"prompt": "Research the company {company_name} ({company_website}) and provide a short description.",
"output_format": "text"
}
}
]
}'
{
"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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.extruct.ai/v1/tables \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Supercharged Research",
"kind": "company",
"column_configs": [
{
"kind": "agent",
"name": "Company Description",
"key": "description",
"value": {
"agent_type": "research_pro",
"prompt": "Research the company {company_name} ({company_website}) and provide a short description.",
"output_format": "text"
}
}
]
}'
{
"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>"
}
}