Analytics

Switches counting on

Counting starts with the next request. Nothing happens if it is on already.

put/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.

Response

Analytics, switched on

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.