Skip to main content
GET
Returns similar products linked to the agent’s directions. Similar products come from a catalog shared across teams. Only products linked to this agent’s similar_product directions, or to directions with origin shared_similar_product, are returned. The list is empty when the agent has no such direction. Read-only. Does not start a search. Results are ordered by last_seen_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.

Response

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