Skip to main content
POST
Results found so far stay readable. Cancelling stops the search from starting new work. Provider calls already in progress may finish, add results and be charged. The search reaches status: cancelled once that work has finished. Cancelling a search that has already finished returns it unchanged. Cancelling twice costs nothing.
A client timeout or a closed connection does not cancel a search. Call this endpoint to stop spending.

Path parameters

string
required
The search’s id, returned when it was started.

Response

  • 202 Cancellation was requested. Work already in progress is finishing.
  • 200 The search had already finished. It is returned unchanged.
string
required
company_search or people_search.
string
required
The search’s identifier. Use it to read status and results.
string
required
queued and running are in progress. completed, failed and cancelled are terminal. completed means this run finished, not that every matching record in the world was found.
string | null
required
Why a finished search stopped. null while it is in progress. Can also be null on a failed search; read error.Options: target_reached, sources_exhausted, usage_limit_reached, retrieval_limit_reached, query_needs_clarification, provider_failed, cancelled.
string | null
required
A message when status is failed. Results found before the failure stay readable.
string | null
required
The natural-language request, when the search was started with query.
integer
required
The most results this search will return.
object | null
required
How a query was read. null until the query has been interpreted, and for searches started with filters or criteria.
object[]
required
Ambiguous wording in the query and how it was read.
object
required
Counts so far. They only increase.
number
required
Credits charged for this search so far. 1 credit = $1.00.
boolean
required
true after a cancel request, until the search reaches cancelled.
string
required
When the search was started.
string | null
required
When the search reached a terminal status.
string | null
required
When the search and its results stop being readable. null when no expiry is set.
string
required
The URL of this search’s status.
string
required
The URL of this search’s results.

Errors

Every error uses the same shape. See Errors.