Measure logo
REST API ReferenceDashboard APINetwork Requests

Fetch a network endpoint's status distribution plot

GET/apps/{id}/networkRequests/plots/endpointStatusCodes

Fetch a network endpoint's HTTP status code distribution plot over time.

Both versions & version_codes should be present if any one of them is present. from & to will default to a last 24 hours time range if not supplied. status_codes lists all distinct HTTP status codes observed. data_points contains per-bucket counts keyed by exact status code (e.g., count_200, count_404), not by status class.

Authorization

bearerAuth
AuthorizationBearer <token>

User access token issued at sign-in. Sent as Authorization: Bearer <access-token> unless cookies are used to send tokens. The /auth/refresh and /auth/signout endpoints expect the session's refresh token in the same header format instead.

In: header

Path Parameters

id*string

App's UUID.

Formatuuid

Query Parameters

domain*string

The domain of the network endpoint (e.g., api.example.com).

path*string

The path of the network endpoint (e.g., /api/users).

from?string

ISO8601 timestamp to include events after this time.

to?string

ISO8601 timestamp to include events before this time.

plot_time_group?string

Time bucketing granularity. One of: minutes, hours, days, months. Defaults to days.

versions?string

List of comma separated version identifier strings.

version_codes?string

List of comma separated version code identifier strings.

os_versions?string

List of comma separated OS version identifier strings.

device_manufacturers?string

List of comma separated device manufacturer identifier strings.

network_providers?string

List of comma separated network provider identifier strings.

network_types?string

List of comma separated network type identifier strings.

network_generations?string

List of comma separated network generation identifier strings.

locales?string

List of comma separated locale identifier strings.

http_methods?string

List of comma separated HTTP method strings.

Response Body

application/json

curl -X GET "https://example.com/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/networkRequests/plots/endpointStatusCodes?domain=string&path=string"
{  "status_codes": [    200,    301,    404,    500  ],  "data_points": [    {      "datetime": "2024-01-15T14:30:00",      "total_count": 1500,      "count_200": 1470,      "count_301": 15,      "count_404": 10,      "count_500": 5    },    {      "datetime": "2024-01-15T15:00:00",      "total_count": 1600,      "count_200": 1568,      "count_301": 20,      "count_404": 8,      "count_500": 4    }  ]}
Empty
Empty
Empty
Empty
Empty

Think this page can be better?

Open an issue