Returns the search runs of a Discovery Agent, newest first. Runs that found nothing only because the agent was waiting are not included. Requires the read:discovery permission.
Path Parameters
string
required
Agent ID.
Query Parameters
integer
default:"1"
Page number, starting at 1.
integer
default:"20"
Number of results per page, from 1 to 100.
Response
boolean
true when the request succeeds.
array
Search runs.
Show Run fields
string
Run ID.
string
Agent that owns the run.
string
serp or lookalike.
string
pending, running, completed, empty, or failed.
integer
Search depth recorded on the run.
string
ISO 8601 timestamp.
string | null
ISO 8601 timestamp, or null while the run is not finished.
string | null
Error message when the run failed, otherwise null.
integer
Search queries planned for the run.
integer
Search queries fetched.
integer
Fetched queries that returned no results.
integer
Search results the run looked at.
integer
New candidates the run created.
string
ISO 8601 timestamp.
string
ISO 8601 timestamp.
object
Pagination details for the current page.
Show Pagination fields
integer
Current page number.
integer
Results per page.
integer
Total number of matching results.
integer
Total number of pages.
boolean
Whether a next page exists.
boolean
Whether a previous page exists.
Errors
400VALIDATION_ERROR: a query parameter is invalid. The message is Invalid request and details lists the invalid fields.
404NOT_FOUND: no agent with this ID exists for your team, or the agent was deleted. An agent that belongs to another team also returns 404. The message is Discovery agent not found.
403INSUFFICIENT_PERMISSIONS: the API key does not have the read:discovery permission.