Create a new Deep Search task.
query (required): Natural-language description of companies to find.desired_num_results (optional): target result count; default 100, min 1, max 250.auto_data_sources (optional): default true.data_sources (optional): ignored when auto_data_sources=true.criteria (optional): explicit criterion definitions; each is graded 1-5 in results. If omitted, criteria are inferred from query.criteria, Extruct generates them for you. If you provide criteria, those are used instead.id and initial status. Save id and use it with task/status/results endpoints.
401 UnauthorizedAuthorization: Bearer ${EXTRUCT_API_TOKEN}.
422 Unprocessable Entitydesired_num_results outside 1..250. Validate body first:
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Ideal description of companies to find
Target number of results for this task. Maximum is 250.
1 <= x <= 250Automatically determine best data sources based on query
Manual data source selection (ignored if auto_data_sources=True)
web_search, linkedin, maps Optional criteria for evaluating discovered companies. Each criterion will be graded on a 1-5 scale.
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