GET
/
v1
/
discovery_tasks
/
{task_id}
/
results
curl --request GET \
  --url https://api.extruct.ai/v1/discovery_tasks/{task_id}/results \
  --header 'Authorization: Bearer <token>'
{
  "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,
  "table_id": "<string>",
  "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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

task_id
string
required

Query Parameters

offset
integer | null
limit
integer | null

Response

200
application/json

Successful Response

The response is of type object.