Fetch All Results By Time

Fetch All Results By Time
Get overall monitored flow counts for all applications over time

Retrieve overall monitored flow counts across all applications, bucketed by time.

The time granularity is automatically determined based on the time interval length:

  • 1 hour or less: 5-minute granularity
  • More than 1 hour, up to 24 hours: 1-hour granularity
  • More than 24 hours: 1-day granularity

Use this endpoint to draw the top-level flow trend chart in the Application Monitoring dashboard. For per-application breakdowns, use POST /monitoring/applications/results-by-app instead.

Filter notes:

  • id: restrict results to a specific application UUID
  • application_type: restrict to CRITICAL or REGULAR applications
  • If time_selection is omitted, defaults to the last 1 hour.
Request
URI
POST
https://{api_host}/intelligence/monitoring/applications/all-results-by-time
COPY
Request Body

Time range and optional filters

AppMonitoringTimeSeriesInfoRequest of type(s) application/json
Required  
{
    "time_selection": {
        "start_time": 1781806113925
    },
    "id": [
        "398d1f18-cbdf-4960-b881-bb4e160952a8"
    ]
}
object
time_selection
Optional

Time parameters for querying monitoring data. Specifies the start time for the query window, with the end time implicitly set to the current time. The system will examine monitoring metrics from the specified start_time to now.

string
application_type
Optional

Specifies the priority level of the application.

Enumeration: REGULAR, CRITICAL
array of string
id
Optional

Identifier (uuid) for an application to include in monitoring results.

Authentication
This operation uses the following authentication methods.
Responses
200

OK. Successfully retrieved application monitoring time series results.

Returns MonitoringResponseByTime of type(s) application/json
{
    "results": [
        {
            "unprotected_count": 0,
            "protected_count": 0,
            "time": 1781809200000
        },
        {
            "unprotected_count": 0,
            "protected_count": 0,
            "time": 1781812800000
        }
    ],
    "granularity": "HOUR"
}
array of results
results
Optional

List of application monitoring results, each providing metrics for a give time granularity.

string
granularity
Optional

Granularity of data being queried.

Enumeration: ALL, NONE, SECOND, MINUTE, FIVE_MINUTE, FIFTEEN_MINUTE, THIRTY_MINUTE, HOUR, DAY, WEEK, MONTH, QUARTER, YEAR

400

Bad Request

Returns BadRequest of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


401

Unauthorized

Returns Unauthorized of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


403

Forbidden

Returns Forbidden of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


412

Precondition Failed

Returns PreconditionFailed of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


428

Precondition Required

Returns PreconditionRequired of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


429

Too Many Requests

Returns TooManyRequests of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


default

Error

Returns Error of type(s) application/json
{
    "error_code": 0,
    "module_name": "string",
    "error_message": "string"
}
integer
error_code
Required  

HTTP Status or Application error code.

string
module_name
Optional

Module where the error happened.

string
error_message
Required  

Message describing the error.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/intelligence/monitoring/applications/all-results-by-time