SearchVisits
SearchVisits pages through one of the team’s sites’ visits, newest first unless order_by says otherwise, 25 a page by default. conditions must name exactly one site with a siteId condition.
Authentication
A team API key, sent as Authorization: Bearer <key>.
The Cognito access token of a signed-in Edulead user (edulead auth login), sent as Authorization: Bearer <token>.
Headers
Query parameters
A JSON array of up to 30 conditions, all of which must hold: [{“field”: “siteId”, “operator”: “equals”, “value”: “<site id>”}, …]. Fields: siteId (equals; required, one site), ingestedAt (equals, gt, gte, lt, lte, between, between_string; an ISO 8601 date or date-time, or epoch milliseconds), and geo.subdivisions.isoCode (equals; “TX,CA” matches either).
Sort order: a sortable field name, optionally followed by ” desc”. The allowed values are listed.
Opaque token from a previous response; empty for the first page.
Response
Token for the next page; empty when this is the last page.