Skip to main content
API reference sections

Schema

ActivityPage

GET /v1/events/activity - one bounded page of one subject's activity.

Paged exactly like [EventPage]: a seq cursor, oldest first, next_after to continue, and next_after equal to the request's after when the page is empty. One cursor convention across the whole journal is what keeps a page from being silently skipped.

Type object

Shape

FieldTypeDescription
entriesrequiredarray of ActivityEntry
next_afterrequiredinteger (uint64, >= 0)

Pass back as after to continue.

retention_daysrequiredinteger (uint32, >= 0)

How far back this answer can possibly reach. Activity is device-local and the journal keeps nothing beyond this window, so an empty page has two readings - nothing happened, or it happened longer ago than this - and a surface can only say the honest one if it is told the number. It is carried on every page rather than only on an empty one, because a full page is equally horizonless without it.

Example
{
  "entries": [
    {
      "seq": 0,
      "name": "string",
      "occurred_at_ms": 0,
      "actor": {},
      "actor_token": "string",
      "correlation_id": {},
      "attrs": {
        "key": {
          "t": "id",
          "v": "00000000-0000-4000-8000-000000000000"
        }
      }
    }
  ],
  "next_after": 0,
  "retention_days": 0
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.