Pagination
Lists (GET /v1/checks, GET /v1/geos) are returned
page by page:
{
"items": [ … ],
"next_cursor": "…"
}
limitsets the page size: 1 to 200, 100 by default.- If there is another page, the response has
next_cursor. Pass it unchanged ascursorto get the next page, with no repeats. - The last page has no
next_cursor. - The cursor is opaque. Do not build or edit one: any value the server did
not give you gets
400invalid-parameter.
curl "https://api.linkspect.com/v1/checks?limit=50&status=completed" \ -H "Authorization: Bearer $LINKSPECT_KEY" curl "https://api.linkspect.com/v1/checks?limit=50&status=completed&cursor=$NEXT" \ -H "Authorization: Bearer $LINKSPECT_KEY"
GET /v1/checks lists your key's checks, newest first, without
cohorts and user filters (get a single check for those). It can be filtered by
status, created_after and
created_before.