Skip to main content
GET
Returns one cursor per search query the agent built from its sources. fetched_up_to_rank shows how far down the search results the agent has read for that query. Read-only. Does not start a search. Results are ordered by last_fetched_at, newest first. 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.
string
Only return cursors built from this source type: topic, competitor, or lookalike.

Response

boolean
true when the request succeeds.
array
Search cursors.
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.