GET
/
v1
/
discovery_tasks
curl --request GET \
  --url https://api.extruct.ai/v1/discovery_tasks \
  --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
  }
]

Returns a list of company discovery tasks. You can use this endpoint to get the list of tasks and their statuses.

Authorizations

Authorization
string
header
required

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

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