GET
/
v1
/
discovery_tasks
/
{task_id}
/
results
curl --request GET \
  --url https://api.extruct.ai/v1/discovery_tasks/{task_id}/results
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "status": "created",
  "query": "<string>",
  "is_exhausted": false,
  "desired_num_results": 123,
  "num_results": 123,
  "discovered_num_results": 123,
  "num_search_results": 123,
  "discovered_num_search_results": 123,
  "results": [
    {
      "id": "<string>",
      "task_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "src_search_query": "<string>",
      "src_result_position": 123,
      "src_result_link": "<string>",
      "src_result_title": "<string>",
      "src_result_snippet": "<string>",
      "company_name": "<string>",
      "company_description": "<string>",
      "company_website": "<string>",
      "relevance": 123,
      "justification": "<string>"
    }
  ]
}

Returns a company discovery task results by ID. You can use this endpoint to get the results of the task.

Results are ordered by relevance (desc) and can be paginated.

Path Parameters

task_id
string
required

Query Parameters

offset
integer | null
limit
integer | null

Response

200
application/json
Successful Response
id
string
required
created_at
string
required
status
enum<string>
required
Available options:
created,
in_progress,
done,
failed
query
string
required
desired_num_results
integer
required
num_results
integer
required
discovered_num_results
integer | null
required
num_search_results
integer | null
required
discovered_num_search_results
integer | null
required
results
object[]
required
is_exhausted
boolean
default:false