Analytics

Reads what was counted

By day, and broken down by page, referring site, country, device, browser, system and crawler, with the same number of days before for comparison where the tier shows those as well. While counting is switched off, the answer says so and has no figures.

get/lambdas/{privateKey}/analytics

Request

  • Base URL: https://genhttp.dev/api/v1
  • URL: https://genhttp.dev/api/v1/lambdas/{privateKey}/analytics
  • Auth: none declared

Path parameters

privateKeystring required

The editor key of the lambda. Holding it is what allows the call.

Query parameters

daysinteger

How many days, today included; left out, as many as the tier shows, which is also the most

Response

Whether visits are counted, and what was counted

Enabledboolean

Whether its visits are counted

Sincestring date-time nullable

When counting was switched on

Tierstring

Free, Premium or Demo - which decides how many days are shown

Daysinteger

How many days this answer covers, today included

Windowinteger

The most days its tier shows

Keptinteger

How many days are kept of every lambda, whatever its tier shows

Fromstring date

The first day of the answer, in UTC

Tostring date

The last day of the answer: today, in UTC

Earlieststring date nullable

The first day anything was counted on - before from where more is kept than shown

Updatedstring date-time nullable

When visits were last written down; the visits since then are not in this answer yet

IntervalSecondsinteger

How often visits are written down, in seconds

ConfirmedCrawlersstring[]

The operators whose crawlers are confirmed by the addresses they publish - Google, Bing, OpenAI, Apple, Perplexity - as far as those could be fetched

Changes

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