Skip to main content
The performance API exposes aggregated transaction timings and web vitals collected by the browser SDK (@argusdev/sdk-browser ≥ 0.2). Both endpoints aggregate over a bounded time window you control with the days query parameter.

Authentication

Both endpoints require an active session. Requests without a valid session cookie return 401 Unauthorized.

Query Parameters (both endpoints)

days
number
default:"7"
Aggregation window in days. Allowed range 130.

List Transactions

Returns transactions grouped by name, with percentile durations computed over the window (up to the most recent 5,000 rows). Sorted by count descending, top 50 groups.
projectId
string
required
The ID of the project whose transactions you want to retrieve.

Example Request

Example Response

Durations are in milliseconds.

Get Web Vitals

Returns the p75 (web-vitals reporting standard) for each core vital across the window, with a rating per web.dev thresholds and the number of samples behind it. A vital with no samples is null.
projectId
string
required
The ID of the project whose web vitals you want to retrieve.

Example Request

Example Response

rating is one of good, needs-improvement, or poor. LCP/FCP/TTFB are in milliseconds; CLS is unitless.

Response Codes

StatusMeaning
200Request succeeded.
401Not authenticated — no valid session.
404Project not found, or not in your organization.