Skip to main content
GET
https://your-rootprint-host
/
api
/
admin
/
activity
/
top-actors
List top search actors
curl --request GET \
  --url https://your-rootprint-host/api/admin/activity/top-actors \
  --cookie better-auth.session_token=
[
  {
    "id": "<string>",
    "label": "<string>",
    "count": 123,
    "avgDurationMs": 123,
    "errorCount": 123,
    "indexes": [
      "<string>"
    ]
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.rootprint.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie used by the Rootprint web UI.

Query Parameters

window
enum<string>

Activity lookback window. Defaults to 7d.

Available options:
24h,
7d,
30d
limit
integer

Maximum number of actors to return. Defaults to 10.

Required range: 1 <= x <= 50

Response

Top search actors.

kind
enum<string>
required
Available options:
user,
token
id
string
required
label
string | null
required
count
integer
required
avgDurationMs
number
required
errorCount
integer
required
indexes
string[]
required