Skip to main content
GET
Fetch results
Fetches results that are already available for a task. Fetch can be called while the task is running and after either terminal state. pts defaults to 0. num defaults to 5 and must be between 1 and 500.

Example

Response

The API does not return a cursor. Calculate the next position as pts + count. The task is fully consumed only when status is done or error and your next position is at least ready_count. Fetch is available only to the API key that created the task. Missing and cross-key tasks both return 404 not_found. See Task results for the complete polling and fetch loop.

Authorizations

Authorization
string
header
default:lev8_live_...
required

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

Query Parameters

leads_search_id
string
required
Minimum string length: 1
pts
integer
default:0
Required range: x >= 0
num
integer
default:5
Required range: 1 <= x <= 500

Response

Current result items.

object
string
Allowed value: "entity_search_items"
leads_search_id
string
Example:

"leads_search_01JABCDEF123456789"

status
string
Example:

"running"

pts
integer
Example:

0

num
integer
Example:

5

count
integer
Example:

5

ready_count
integer
Example:

10

limit
integer
Example:

20

entities
object[]