Skip to content

L3l4 Event count.

POST
/api/infraprotect/namespaces/{namespace}/graph/l3l4/event_count/{network_id}
curl --request POST \
--url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/infraprotect/namespaces/example/graph/l3l4/event_count/example \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "end_time": "2026-04-15T12:00:00Z", "namespace": "example", "network_id": "example", "start_time": "2026-04-15T12:00:00Z", "step": "example" }'

Request to GET l3l4 Event counts over a period of time.

Examples of this operation.

namespace
required
string

Namespace This request is supported only in system namespace.

network_id
required
string

NetworkId The network ID we want the data for. If empty or * is provided then all networks data is returned.

Media typeapplication/json
l3l4 EventsCount Request

Used to display Event counts for a network.

object
end_time
End time

End time of metric collection from which data will be considered to build graph.

Optional: If not specified, then the end_time will be evaluated to

string format: date-time
<= 1024 characters
namespace
Namespace

This request is supported only in system namespace.

string
>= 6 characters <= 1024 characters
network_id
NetworkId

The network ID we want the data for. If empty or * is provided then all networks data is returned.

string
<= 1024 characters
start_time
Start time

Start time of metric collection from which data will be considered to build graph.

Optional: If not specified, then the start_time will be evaluated to -1y.

string format: date-time
<= 1024 characters
step
Step

Step is the resolution width, which determines the number of the data points Format: [0-9][smhd], where s - seconds, m - minutes, h - hours, d - days

Optional: If not specified, then the step will be evaluated to 1d.

string
<= 1024 characters
Examplegenerated
{
"end_time": "2026-04-15T12:00:00Z",
"namespace": "example",
"network_id": "example",
"start_time": "2026-04-15T12:00:00Z",
"step": "example"
}

A successful response.

Media typeapplication/json
l3l4 Application Response

Response for Application Traffic.

object
events
Events count

List of timelines with event count metrics. Currently two metrics are considered - bounded events and ongoing events.

Array<object>
EventDataPoint
object
bounded
Bounded

Bounded event metric value.

string
<= 1024 characters
ongoing
Ongoing

Ongoing event metric value.

string
<= 1024 characters
timestamp
Timestamp

RFC3339 timestamp.

string format: date-time
<= 1024 characters
Examplegenerated
{
"events": [
{
"bounded": "example",
"ongoing": "example",
"timestamp": "2026-04-15T12:00:00Z"
}
]
}

Returned when operation is not authorized.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when there is no permission to access resource.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when resource is not found.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation on resource is conflicting with current value.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation has been rejected as it is happening too frequently.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server encountered an error in processing API.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when service is unavailable temporarily.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server timed out processing request.

Media typeapplication/json
string format: string
Examplegenerated
example