Search checks

GET
/v1/checks/search

Full-text search over the account's checks: the title, the whole document and the names of the sources it matched. Every word is required and matches as a prefix, so segur finds seguramente; accents are ignored. Checks whose title holds every word come first, then the best text matches, then the newest. excerpt is a window of the document around the hit with each matched run wrapped in [[ and ]].

Authorization

bearerAuth
AuthorizationBearer <token>

Create a key under Account → API. Send it as Authorization: Bearer st_live_…. Keys carry scopes: checks:write (create, cancel, delete; add, change and delete source rules), checks:read (list, get; list source rules) and usage:read (credit position).

In: header

Query Parameters

q*string

The words to find.

Lengthlength <= 200
limit?integer

Hits to return, 1 to 200 (default 50). total counts every match.

Range1 <= value <= 200

Response Body

application/json

curl -X GET "https://example.com/v1/checks/search?q=climate"
{  "hits": [    {      "id": "string",      "matchedIn": [        "title"      ],      "excerpt": "string",      "excerptAtStart": true    }  ],  "total": 0}