Skip to main content
GET
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.
object
Pagination details for the current page.

Errors

  • 400 VALIDATION_ERROR: a query parameter is invalid. The message is Invalid request and details lists the invalid fields.
  • 404 NOT_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.
  • 403 INSUFFICIENT_PERMISSIONS: the API key does not have the read:discovery permission.