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

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.

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