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.
Get a Deep Search task by ID.
curl --request GET \
--url https://api.extruct.ai/v1/discovery_tasks/{task_id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "created",
"query": "<string>",
"desired_num_results": 123,
"is_exhausted": false,
"num_results_discovered": 0,
"num_results_enriched": 0,
"num_results_evaluated": 0,
"num_results": 0,
"table_id": "<string>",
"auto_data_sources": true,
"data_sources": [
"web_search"
],
"criteria": [
{
"key": "<string>",
"name": "<string>",
"criterion": "<string>"
}
]
}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 TASK_ID="YOUR_TASK_ID"
curl --get "https://api.extruct.ai/v1/discovery_tasks/${TASK_ID}" \
-H "Authorization: Bearer ${EXTRUCT_API_TOKEN}"
task_id (required): Task identifier returned by create-task.statusis_exhaustednum_results_discoverednum_results_enrichednum_results_evaluatednum_resultsnum_results_discovered: candidates gathered from the selected data sources.num_results_enriched: discovered candidates that passed the relevance pre-filter and were enriched with company profiles.num_results_evaluated: enriched candidates that have been fully scored across all criteria.num_results: evaluated candidates currently counted as high-fit, meaning at least 75% of criteria are graded 4 or 5.status=done or is_exhausted=true.
401 UnauthorizedAuthorization: Bearer ${EXTRUCT_API_TOKEN}.
404 Not FoundTASK_ID from create-task response.
status=failedBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
created, in_progress, done, failed Total number of company candidates discovered from search
Number of candidates enriched with company profiles
Number of candidates that had criteria evaluation completed
Total number of results
web_search, linkedin, maps Show child attributes
curl --request GET \
--url https://api.extruct.ai/v1/discovery_tasks/{task_id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"status": "created",
"query": "<string>",
"desired_num_results": 123,
"is_exhausted": false,
"num_results_discovered": 0,
"num_results_enriched": 0,
"num_results_evaluated": 0,
"num_results": 0,
"table_id": "<string>",
"auto_data_sources": true,
"data_sources": [
"web_search"
],
"criteria": [
{
"key": "<string>",
"name": "<string>",
"criterion": "<string>"
}
]
}