GET
/
v1
/
discovery_tasks
/
{task_id}
curl --request GET \
  --url https://api.extruct.ai/v1/discovery_tasks/{task_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "status": "created",
  "query": "<string>",
  "desired_num_results": 123,
  "is_exhausted": false,
  "num_results": 123,
  "table_id": "<string>"
}

Returns a company discovery task by ID. You can use this endpoint to check the status of the task and number of results collected so far.

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

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
is_exhausted
boolean
default:false
table_id
string | null