metrics
GET /api/v1/metrics/checks/dimensions/
Returns the distinct values present in the data for the requested dimension.
Used to populate filter/group-by dropdowns in clients. Works for any dimension listed in the schema for the data type. For synthetic data types (float, int, string), only common dimensions (location, etc.) are available.
Request
- Base URLhttps://uptime.com (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScripthttps://skmtc.dev/uptime/apis/uptime-com-openapi-schema/docs/api/v1/metrics/checks/dimensions/get.tsA function with typed inputs. Its response is checked against the schema.
Query parameters
check_idinteger required
The check to query.
data_typestring required
MDB data type (e.g. http, pagespeed, float). Required.
dimensionstring required
Dimension name to enumerate values for (e.g. location, step_number). Must be a dimension listed in the schema for the data type.
start_datestring
Range start (ISO 8601, UTC). Defaults to 24 hours ago.
end_datestring
Range end (ISO 8601, UTC). Defaults to now.
Response
Changes
No recorded changes to this operation across all 1 revision of this API.