List Metric Definitions (POST)
Lists metric definitions matching a filter.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
type
The type of metric definitions sought.
Allowed values:
applies_to_type
The type of objects the metric definition applies to.
Allowed values:
cursor
The cursor to resume iteration from. If not provided, then
iteration starts from the beginning.
include_custom_metrics
Whether to include custom metrics in the response. If not set, then
custom metrics are excluded.
limit
The maximum number of records to return. The default is '50'.
mode
The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.
Allowed values:
sort_by
Fields to sort the records by and the direction to sort them.
status
The status of the metric definition.
Allowed values:
Response
Success.
metric_definitions
The list of metric definitions.
next_cursor
The cursor used to iterate subsequent results in accordance to the
sort order. If not set, then no later elements exist.
prev_cursor
The cursor used to iterate preceding results in accordance to the
sort order. If not set, then no prior elements exist.