computation

Query measures analytics

Return aggregated values for specified metrics within a time range.

post/environments/{envId}/analytics/measures

Path parameters

envIdstring required

The unique ID of your environment

Request body

Example request

{
  "timeRange": {
    "from": "2025-01-01T00:00:00Z",
    "to": "2025-01-31T23:59:59Z"
  },
  "filters": [
    {
      "name": "API",
      "operator": "EQ",
      "value": "7b6ebef3-6236-4ac5-815e-d3dcef83df5d"
    }
  ],
  "metrics": [
    {
      "name": "HTTP_GATEWAY_RESPONSE_TIME",
      "measures": [
        "P90",
        "P95",
        "P99"
      ]
    }
  ]
}

Response

A measures response provides aggregated values for the metrics defined in the request.

Example response

{
  "metrics": [
    {
      "name": "HTTP_REQUESTS",
      "unit": "NUMBER",
      "measures": [
        {
          "name": "COUNT",
          "value": 2984
        }
      ]
    }
  ]
}

Changes

Changed in 23 of the 49 revisions of this API.6456240

  • ff8d60356a082145See the full diff
    • added the new NATIVE_ACTIVE_CONNECTIONS_DOWNSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_ACTIVE_CONNECTIONS_UPSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_AUTHENTICATIONS_FAILURE_DOWNSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_AUTHENTICATIONS_FAILURE_UPSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_AUTHENTICATIONS_SUCCESS_DOWNSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_AUTHENTICATIONS_SUCCESS_UPSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_BYTES_CONSUMED_DOWNSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_BYTES_CONSUMED_UPSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_BYTES_PRODUCED_DOWNSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_BYTES_PRODUCED_UPSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_MESSAGES_CONSUMED_DOWNSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_MESSAGES_CONSUMED_UPSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_MESSAGES_PRODUCED_DOWNSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_MESSAGES_PRODUCED_UPSTREAM enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_OPERATIONS_ANSWERED enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_OPERATIONS_COMPLETED enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_OPERATIONS_FORWARDED enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_OPERATIONS_RECEIVED enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_OPERATION_BROKER_DURATION enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_OPERATION_GATEWAY_REQUEST_DURATION enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_OPERATION_GATEWAY_RESPONSE_DURATION enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_ACTIVE_CONNECTIONS_DOWNSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_ACTIVE_CONNECTIONS_UPSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_AUTHENTICATIONS_FAILURE_DOWNSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_AUTHENTICATIONS_FAILURE_UPSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_AUTHENTICATIONS_SUCCESS_DOWNSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_AUTHENTICATIONS_SUCCESS_UPSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_BYTES_CONSUMED_DOWNSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_BYTES_CONSUMED_UPSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_BYTES_PRODUCED_DOWNSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_BYTES_PRODUCED_UPSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_CLIENT_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_CLIENT_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_CLIENT_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_CLIENT_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_CLIENT_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_CLIENT_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_FAILURE_SIDE enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_FAILURE_SIDE enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_FAILURE_SIDE enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_FAILURE_SIDE enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_FAILURE_SIDE enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_FAILURE_SIDE enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_MESSAGES_CONSUMED_DOWNSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_MESSAGES_CONSUMED_UPSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_MESSAGES_PRODUCED_DOWNSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_MESSAGES_PRODUCED_UPSTREAM enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_OPERATION enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_OPERATION enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_OPERATION enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_OPERATION enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_OPERATION enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_OPERATION enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_OPERATIONS_ANSWERED enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_OPERATIONS_COMPLETED enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_OPERATIONS_FORWARDED enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_OPERATIONS_RECEIVED enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_OPERATION_BROKER_DURATION enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_OPERATION_GATEWAY_REQUEST_DURATION enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_OPERATION_GATEWAY_RESPONSE_DURATION enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_TOPIC enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_TOPIC enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_TOPIC enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_TOPIC enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_TOPIC enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_TOPIC enum value to the request property ////////

      request-property-enum-value-added

    • added CONTAINS discriminator mapping keys to the / request property

      request-property-discriminator-mapping-added

    • added CONTAINS discriminator mapping keys to the /// request property

      request-property-discriminator-mapping-added

    • added the new CONTAINS enum value to the request property //////

      request-property-enum-value-added

    • added the new CONTAINS enum value to the request property //////

      request-property-enum-value-added

    • added the new CONTAINS enum value to the request property //////

      request-property-enum-value-added

    • added the new CONTAINS enum value to the request property ////////

      request-property-enum-value-added

    • added the new CONTAINS enum value to the request property ////////

      request-property-enum-value-added

    • added the new CONTAINS enum value to the request property ////////

      request-property-enum-value-added

    • added the new REQUEST_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new REQUEST_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new REQUEST_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new REQUEST_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new REQUEST_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new REQUEST_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new TRANSACTION_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new TRANSACTION_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new TRANSACTION_ID enum value to the request property //////

      request-property-enum-value-added

    • added the new TRANSACTION_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new TRANSACTION_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new TRANSACTION_ID enum value to the request property ////////

      request-property-enum-value-added

    • added the new ENTRYPOINT enum value to the request property //////

      request-property-enum-value-added

    • added the new ENTRYPOINT enum value to the request property //////

      request-property-enum-value-added

    • added the new ENTRYPOINT enum value to the request property //////

      request-property-enum-value-added

    • added the new ENTRYPOINT enum value to the request property ////////

      request-property-enum-value-added

    • added the new ENTRYPOINT enum value to the request property ////////

      request-property-enum-value-added

    • added the new ENTRYPOINT enum value to the request property ////////

      request-property-enum-value-added

    • added the new URI enum value to the request property //////

      request-property-enum-value-added

    • added the new URI enum value to the request property //////

      request-property-enum-value-added

    • added the new URI enum value to the request property //////

      request-property-enum-value-added

    • added the new URI enum value to the request property ////////

      request-property-enum-value-added

    • added the new URI enum value to the request property ////////

      request-property-enum-value-added

    • added the new URI enum value to the request property ////////

      request-property-enum-value-added

  • f1e14444ad0711See the full diff
    • added the new SUM enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the new SUM enum value to the request property ///

      request-property-enum-value-added

  • 6889427e4080321See the full diff
    • added the new EDGE_HEARTBEAT_COUNT enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new EDGE_TOKENS_IN enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new EDGE_TOKENS_OUT enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new EDGE_HEARTBEAT_COUNT enum value to the request property //

      request-property-enum-value-added

    • added the new EDGE_MODEL enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_MODEL enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_MODEL enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_MODEL enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_MODEL enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_MODEL enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_TOKENS_IN enum value to the request property //

      request-property-enum-value-added

    • added the new EDGE_TOKENS_OUT enum value to the request property //

      request-property-enum-value-added

    • added the new EDGE_TOOL enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_TOOL enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_TOOL enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_TOOL enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_TOOL enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_TOOL enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_VERSION enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_VERSION enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_VERSION enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_VERSION enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_VERSION enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_VERSION enum value to the request property ////////

      request-property-enum-value-added

  • 18f9da80195c125See the full diff
    • added the new EDGE_DETECTION_COUNT enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new EDGE_CLIENT enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_CLIENT enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_CLIENT enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_CLIENT enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_CLIENT enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_CLIENT enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_DETECTION_COUNT enum value to the request property //

      request-property-enum-value-added

    • added the new EDGE_PROCESS enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_PROCESS enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_PROCESS enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_PROCESS enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_PROCESS enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_PROCESS enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_PROVIDER enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_PROVIDER enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_PROVIDER enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_PROVIDER enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_PROVIDER enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_PROVIDER enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_TYPE enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_TYPE enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_TYPE enum value to the request property //////

      request-property-enum-value-added

    • added the new EDGE_TYPE enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_TYPE enum value to the request property ////////

      request-property-enum-value-added

    • added the new EDGE_TYPE enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_CONNECTIONS_SUMMARY enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new NATIVE_CONNECTIONS_SUMMARY enum value to the request property //

      request-property-enum-value-added

    • added the new NATIVE_CONNECTION_STATUS enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_CONNECTION_STATUS enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_CONNECTION_STATUS enum value to the request property //////

      request-property-enum-value-added

    • added the new NATIVE_CONNECTION_STATUS enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_CONNECTION_STATUS enum value to the request property ////////

      request-property-enum-value-added

    • added the new NATIVE_CONNECTION_STATUS enum value to the request property ////////

      request-property-enum-value-added

    • added the new API_PRODUCT enum value to the request property //////

      request-property-enum-value-added

    • added the new API_PRODUCT enum value to the request property //////

      request-property-enum-value-added

    • added the new API_PRODUCT enum value to the request property //////

      request-property-enum-value-added

    • added the new API_PRODUCT enum value to the request property ////////

      request-property-enum-value-added

    • added the new API_PRODUCT enum value to the request property ////////

      request-property-enum-value-added

    • added the new API_PRODUCT enum value to the request property ////////

      request-property-enum-value-added

    • added the optional property // to the response with the status

      response-optional-property-added