Activity

The audit trail, newest first

One page of the trail, or of a few records’ part of it with entity. limit caps a page at 1000 and offset moves the window, so a client that wants the whole history reads it a page at a time until offset + events.length reaches total. The portfolio snapshot carries only the newest events, so this is where the rest is read.

get/api/v1/activity

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/activity
  • Auth: API key in cookie better-auth.session_token

Query parameters

limitinteger

How many events to return, newest first. 1–1000, default 100.

offsetinteger

How many of the newest events to skip before counting limit. Default 0. Page with offset = offset + limit until it reaches total.

entitystring

Only the events about these records, by id, comma-separated and 20 at most: the history a dossier shows.

Response

Audit events.

okunknown required

Changes

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