Query facets analytics
Changed onGroup data by facet values with optional ranging, sorting and limits.
Facet requests are limited to 3 dimensions in the by clause.
Sorting and ranging always apply to the last given facet.
Request
- Base URL/management/v2 (relative, and the document was published on a file host, not at the API’s origin)
- URL/management/v2/environments/{envId}/analytics/facets
- Authnone declared
Path parameters
The unique ID of your environment
Request body
Example request
{
"timeRange": {
"from": "2025-01-01T00:00:00Z",
"to": "2025-01-31T23:59:59Z"
},
"by": [
"API",
"APPLICATION"
],
"limit": 2,
"metrics": [
{
"name": "HTTP_REQUESTS",
"measures": [
"COUNT"
],
"sort": [
{
"measure": "COUNT",
"order": "DESC"
}
]
}
]
}Response
Facets analytics response
Example response
{
"metrics": [
{
"name": "HTTP_REQUESTS",
"unit": "NUMBER",
"buckets": [
{
"key": "49ddd7db-35d6-497e-b497-2dc16af0cdcc",
"name": "api-1",
"type": "GROUP",
"buckets": [
{
"key": "e65289b0-35b2-40e7-8d41-711fba7fdc96",
"name": "app-1",
"type": "LEAF",
"measures": [
{
"name": "COUNT",
"value": 45
}
]
},
{
"key": "4c65d87a-008a-4a4c-b11a-a38b7a662fcc",
"name": "app-2",
"type": "LEAF",
"measures": [
{
"name": "COUNT",
"value": 34
}
]
},
{
"key": "71091fd9-a6a9-4c7f-afdb-d837ea28058c",
"name": "app-3",
"type": "LEAF",
"measures": [
{
"name": "COUNT",
"value": 989
}
]
}
]
}
]
}
]
}Changes
- warning
added the new
NATIVE_ACTIVE_CONNECTIONS_DOWNSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_ACTIVE_CONNECTIONS_UPSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_AUTHENTICATIONS_FAILURE_DOWNSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_AUTHENTICATIONS_FAILURE_UPSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_AUTHENTICATIONS_SUCCESS_DOWNSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_AUTHENTICATIONS_SUCCESS_UPSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_BYTES_CONSUMED_DOWNSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_BYTES_CONSUMED_UPSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_BYTES_PRODUCED_DOWNSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_BYTES_PRODUCED_UPSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_MESSAGES_CONSUMED_DOWNSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_MESSAGES_CONSUMED_UPSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_MESSAGES_PRODUCED_DOWNSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_MESSAGES_PRODUCED_UPSTREAMenum value to the//response property for the response status - warning
added the new
NATIVE_OPERATIONS_ANSWEREDenum value to the//response property for the response status - warning
added the new
NATIVE_OPERATIONS_COMPLETEDenum value to the//response property for the response status - warning
added the new
NATIVE_OPERATIONS_FORWARDEDenum value to the//response property for the response status - warning
added the new
NATIVE_OPERATIONS_RECEIVEDenum value to the//response property for the response status - warning
added the new
NATIVE_OPERATION_BROKER_DURATIONenum value to the//response property for the response status - warning
added the new
NATIVE_OPERATION_GATEWAY_REQUEST_DURATIONenum value to the//response property for the response status - warning
added the new
NATIVE_OPERATION_GATEWAY_RESPONSE_DURATIONenum value to the//response property for the response status - info
added the new
NATIVE_ACTIVE_CONNECTIONS_DOWNSTREAMenum value to the request property// - info
added the new
NATIVE_ACTIVE_CONNECTIONS_UPSTREAMenum value to the request property// - info
added the new
NATIVE_AUTHENTICATIONS_FAILURE_DOWNSTREAMenum value to the request property// - info
added the new
NATIVE_AUTHENTICATIONS_FAILURE_UPSTREAMenum value to the request property// - info
added the new
NATIVE_AUTHENTICATIONS_SUCCESS_DOWNSTREAMenum value to the request property// - info
added the new
NATIVE_AUTHENTICATIONS_SUCCESS_UPSTREAMenum value to the request property// - info
added the new
NATIVE_BYTES_CONSUMED_DOWNSTREAMenum value to the request property// - info
added the new
NATIVE_BYTES_CONSUMED_UPSTREAMenum value to the request property// - info
added the new
NATIVE_BYTES_PRODUCED_DOWNSTREAMenum value to the request property// - info
added the new
NATIVE_BYTES_PRODUCED_UPSTREAMenum value to the request property// - info
added the new
NATIVE_CLIENT_IDenum value to the request property/ - info
added the new
NATIVE_CLIENT_IDenum value to the request property////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property//////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property//////// - info
added the new
NATIVE_CLIENT_IDenum value to the request property//////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property/ - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property//////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property//////// - info
added the new
NATIVE_FAILURE_SIDEenum value to the request property//////// - info
added the new
NATIVE_MESSAGES_CONSUMED_DOWNSTREAMenum value to the request property// - info
added the new
NATIVE_MESSAGES_CONSUMED_UPSTREAMenum value to the request property// - info
added the new
NATIVE_MESSAGES_PRODUCED_DOWNSTREAMenum value to the request property// - info
added the new
NATIVE_MESSAGES_PRODUCED_UPSTREAMenum value to the request property// - info
added the new
NATIVE_OPERATIONenum value to the request property/ - info
added the new
NATIVE_OPERATIONenum value to the request property////// - info
added the new
NATIVE_OPERATIONenum value to the request property////// - info
added the new
NATIVE_OPERATIONenum value to the request property////// - info
added the new
NATIVE_OPERATIONenum value to the request property//////// - info
added the new
NATIVE_OPERATIONenum value to the request property//////// - info
added the new
NATIVE_OPERATIONenum value to the request property//////// - info
added the new
NATIVE_OPERATIONS_ANSWEREDenum value to the request property// - info
added the new
NATIVE_OPERATIONS_COMPLETEDenum value to the request property// - info
added the new
NATIVE_OPERATIONS_FORWARDEDenum value to the request property// - info
added the new
NATIVE_OPERATIONS_RECEIVEDenum value to the request property// - info
added the new
NATIVE_OPERATION_BROKER_DURATIONenum value to the request property// - info
added the new
NATIVE_OPERATION_GATEWAY_REQUEST_DURATIONenum value to the request property// - info
added the new
NATIVE_OPERATION_GATEWAY_RESPONSE_DURATIONenum value to the request property// - info
added the new
NATIVE_TOPICenum value to the request property/ - info
added the new
NATIVE_TOPICenum value to the request property////// - info
added the new
NATIVE_TOPICenum value to the request property////// - info
added the new
NATIVE_TOPICenum value to the request property////// - info
added the new
NATIVE_TOPICenum value to the request property//////// - info
added the new
NATIVE_TOPICenum value to the request property//////// - info
added the new
NATIVE_TOPICenum value to the request property////////
- warning
- info
added
CONTAINSdiscriminator mapping keys to the/request property - info
added
CONTAINSdiscriminator mapping keys to the///request property - info
added the new
CONTAINSenum value to the request property////// - info
added the new
CONTAINSenum value to the request property////// - info
added the new
CONTAINSenum value to the request property////// - info
added the new
CONTAINSenum value to the request property//////// - info
added the new
CONTAINSenum value to the request property//////// - info
added the new
CONTAINSenum value to the request property////////
- info