Get Discovery Task
Get a Deep Search task by ID.
Overview
This endpoint returns the current state of a Deep Search task. It is the primary status endpoint for polling progress, checking counters, and seeing whether the task is exhausted.Example request
Key parameters
task_id(required): Task identifier returned by create-task.
statusis_exhaustednum_results_discoverednum_results_enrichednum_results_evaluatednum_results
num_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.
Success signal
The task is complete whenstatus=done or is_exhausted=true.
Common errors
401 Unauthorized
Check that your header is Authorization: Bearer ${EXTRUCT_API_TOKEN}.
404 Not Found
The task ID is invalid or unavailable in your workspace. Re-check TASK_ID from create-task response.
status=failed
The task did not complete. Inspect returned error details, then retry create-task or use resume if appropriate.
Related endpoints
Related guides
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
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 The resolved, sorted list of registered domains that were excluded from this run (union of exclude_domains and the visible results of exclude_task_ids at creation time). Capped at 1000.