Skip to main content
GET
https://your-rootprint-host
/
api
/
admin
/
activity
/
users
/
{userId}
/
latency
Get user search latency buckets
curl --request GET \
  --url https://your-rootprint-host/api/admin/activity/users/{userId}/latency \
  --cookie better-auth.session_token=
[
  {
    "t": "2023-11-07T05:31:56Z",
    "count": 123,
    "p50": 123,
    "p95": 123,
    "p99": 123
  }
]

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.

Path Parameters

userId
string
required

User ID.

Minimum string length: 1

Query Parameters

window
enum<string>

Activity lookback window. Defaults to 7d.

Available options:
24h,
7d,
30d

Response

User search latency buckets.

t
string<date-time>
required
count
integer
required
p50
number | null
required
p95
number | null
required
p99
number | null
required