Find the claim that bears on what you are about to assert

Ranked search over the claim ledger: the claim sentences themselves, the titles of their sources, what each source establishes, and the book titles, matched by their words and by their meaning, so a whole sentence in your own words works as a query. Use this rather than downloading the whole ledger when you have one thing to check. Every result arrives with its basis, its sources including what they do not establish, and a citation already written that carries the link.

get/claims/search

Request

  • Base URL: https://greenlitbooks.com/api/v1
  • URL: https://greenlitbooks.com/api/v1/claims/search
  • Auth: none required

Query parameters

qstring required

The search query. Required and non-empty.

basis'external' | 'argument' | 'method' | 'author-experience'

Restrict results to one kind of statement. basis=external returns only claims resting on a published result.

bookstring

Restrict results to one book, by slug.

limitinteger

Maximum number of results.

Response

Ranked claims

countinteger
totalMatchesinteger
reasonstring

Present only when there are no results, saying why: the query held no searchable words, every word was too common to search on, or no claim accounted for enough of it. An empty result is an answer, not a failure.

howToQuotestring

What a caller should understand about a result before quoting it.

Changes

No recorded changes to this operation across all 1 revision of this API.