Events in one year

50 a page. Years run from -9999 (9999 BC) to 2100; a year outside them is a 404. An index holds at most 2,000 events a year (sampled).

get/year/{year}

Request

  • Base URL: https://www.edgechat.ai/api/v1
  • URL: https://www.edgechat.ai/api/v1/year/{year}
  • Auth: none declared

Path parameters

yearinteger required

An integer, negative for BC.

Query parameters

pageinteger

Page, from 1.

fieldsstring

Comma-separated keys: each result (or the answer, when it has no results) keeps only these.

Response

OK

yearinteger
totalinteger

The events in the index for this answer. An index holds at most 2000; when it is full the answer is a sample and says sampled.

pageinteger
pagesinteger
sampledboolean

true when the index holds its cap (2000): total counts the sample, not every dated sentence.

capinteger

Changes

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