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": [
{
"kind": "agent",
"name": "Company Description",
"key": "description",
"value": {
"agent_type": "research_pro",
"prompt": "Research the company {input} and provide a short description.",
"output_format": "text"
}
},
{
"kind": "agent",
"name": "Company Linkedin URL",
"key": "linkedin_url",
"value": {
"agent_type": "research_pro",
"prompt": "Find linkedin profile URL of the company {input}",
"output_format": "url"
}
},
{
"kind": "agent",
"name": "Company Linkedin Data",
"key": "linkedin_data",
"value": {
"agent_type": "linkedin",
"prompt": "{linkedin_url}",
"output_format": "text"
}
},
{
"kind": "agent",
"name": "Linkedin Activity Summary",
"key": "linkedin_activity",
"value": {
"agent_type": "llm",
"prompt": "Based on the company Linkedin profile data, summarize the recent activity as a bulleted list with names, dates and links. Data: {linkedin_data}",
"output_format": "text"
}
}
],
"insert_after": true
}'