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
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
table_id
string | null