Skip to main content
GET
Get Egress Traffic Summary

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Path Parameters

app_id
string
required

The appId field.

id
string
required

The id field.

Query Parameters

bucket
enum<string>

The bucket field.

Available options:
TB_TIME_BUCKET_UNSPECIFIED,
TB_TIME_BUCKET_HOUR,
TB_TIME_BUCKET_DAY
dimension
enum<string>

The dimension field.

Available options:
TB_USAGE_ATTRIBUTION_DIMENSION_UNSPECIFIED,
TB_USAGE_ATTRIBUTION_DIMENSION_TEAM,
TB_USAGE_ATTRIBUTION_DIMENSION_APPLICATION,
TB_USAGE_ATTRIBUTION_DIMENSION_AGENT,
TB_USAGE_ATTRIBUTION_DIMENSION_COST_CENTER,
TB_USAGE_ATTRIBUTION_DIMENSION_USER,
TB_USAGE_ATTRIBUTION_DIMENSION_PROVIDER,
TB_USAGE_ATTRIBUTION_DIMENSION_MODEL
page_size
integer<int32>

The pageSize field.

page_token
string

The pageToken field.

since
string<int64>

The since field.

until
string<int64>

The until field.

Response

200 - application/json

Successful response

The EdgeServiceGetEgressTrafficSummaryResponse message.

agentKindCounts
Agent Kind Count · object[] | null

Distinct source_principal per source_principal_kind.

allowedEvents
string<uint64>

The allowedEvents field.

deniedEvents
string<uint64>

The deniedEvents field.

distinctAgentCount
string<uint64>

The distinctAgentCount field.

distinctDestinationCount
string<int64>

uniqExact(dest_host) over the window, excluding empty dest_host.

distinctToolCount
string<uint64>

The distinctToolCount field.

fallbackAgentCount
string<int64>

Distinct source_principal with at least one row whose verdict resolved via the fail-closed default rather than an explicit policy match -- the "policy coverage" KPI: agents Edge saw but has no rule for yet.

p95LatencyMs
string<uint64>

Approximate 95th percentile of counter_latency_ms over the window (ClickHouse quantile(0.95)); 0 when the window has no rows.

series
Tb Traffic Summary Bucket · object[] | null

The series field.

totalEvents
string<uint64>

The totalEvents field.

totalRequestBytes
string<uint64>

The totalRequestBytes field.

totalResponseBytes
string<uint64>

The totalResponseBytes field.

unspecifiedEvents
string<uint64>

The unspecifiedEvents field.