Get service map
Returns the observed network edges for the tenant selected by the X-CostGraph-Tenant-ID header, with both endpoints resolved to services and connection counters aggregated over the range. A service is the whole network endpoint record — id, endpoint_key, resolution_source, tags and timestamps — plus its kind (the endpoint_key prefix) and the name it resolves to, from inventory for workload, node, vm and container endpoints and derived from the key itself for cloud, class, private and billing ones. Only edges with traffic in the period are included, and the returned service list is derived from the edges that survive filtering. The connection list is sorted and paged, but totals and the service list always describe the whole filtered set, so paging never changes what the summary says. The read range is given by the start and end query parameters; the whole filter is the request body. Filters compose as AND across dimensions and OR within a dimension; omitting a filter means it is not applied. This is a POST only because the filter does not fit a query string — it reads, and changes nothing
curl --request POST \
--url https://api.costgraph.ai/api/v1/tenant/service-map \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'X-CostGraph-Tenant-ID: <x-costgraph-tenant-id>' \
--data '
{
"limit": 123,
"max_active_connections": 123,
"max_bytes_client_to_server": 123,
"max_bytes_server_to_client": 123,
"max_connections_closed": 123,
"max_connections_opened": 123,
"max_connections_refused": 123,
"max_connections_reset": 123,
"max_observed_seconds": 123,
"max_packets_client_to_server": 123,
"max_packets_server_to_client": 123,
"min_active_connections": 123,
"min_bytes_client_to_server": 123,
"min_bytes_server_to_client": 123,
"min_connections_closed": 123,
"min_connections_opened": 123,
"min_connections_refused": 123,
"min_connections_reset": 123,
"min_observed_seconds": 123,
"min_packets_client_to_server": 123,
"min_packets_server_to_client": 123,
"observed_from": "<string>",
"offset": 123,
"service_filter": {
"resolution_sources": [
"<string>"
],
"service_names": [
"<string>"
]
}
}
'import requests
url = "https://api.costgraph.ai/api/v1/tenant/service-map"
payload = {
"limit": 123,
"max_active_connections": 123,
"max_bytes_client_to_server": 123,
"max_bytes_server_to_client": 123,
"max_connections_closed": 123,
"max_connections_opened": 123,
"max_connections_refused": 123,
"max_connections_reset": 123,
"max_observed_seconds": 123,
"max_packets_client_to_server": 123,
"max_packets_server_to_client": 123,
"min_active_connections": 123,
"min_bytes_client_to_server": 123,
"min_bytes_server_to_client": 123,
"min_connections_closed": 123,
"min_connections_opened": 123,
"min_connections_refused": 123,
"min_connections_reset": 123,
"min_observed_seconds": 123,
"min_packets_client_to_server": 123,
"min_packets_server_to_client": 123,
"observed_from": "<string>",
"offset": 123,
"service_filter": {
"resolution_sources": ["<string>"],
"service_names": ["<string>"]
}
}
headers = {
"X-CostGraph-Tenant-ID": "<x-costgraph-tenant-id>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-CostGraph-Tenant-ID': '<x-costgraph-tenant-id>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
limit: 123,
max_active_connections: 123,
max_bytes_client_to_server: 123,
max_bytes_server_to_client: 123,
max_connections_closed: 123,
max_connections_opened: 123,
max_connections_refused: 123,
max_connections_reset: 123,
max_observed_seconds: 123,
max_packets_client_to_server: 123,
max_packets_server_to_client: 123,
min_active_connections: 123,
min_bytes_client_to_server: 123,
min_bytes_server_to_client: 123,
min_connections_closed: 123,
min_connections_opened: 123,
min_connections_refused: 123,
min_connections_reset: 123,
min_observed_seconds: 123,
min_packets_client_to_server: 123,
min_packets_server_to_client: 123,
observed_from: '<string>',
offset: 123,
service_filter: {resolution_sources: ['<string>'], service_names: ['<string>']}
})
};
fetch('https://api.costgraph.ai/api/v1/tenant/service-map', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.costgraph.ai/api/v1/tenant/service-map",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'limit' => 123,
'max_active_connections' => 123,
'max_bytes_client_to_server' => 123,
'max_bytes_server_to_client' => 123,
'max_connections_closed' => 123,
'max_connections_opened' => 123,
'max_connections_refused' => 123,
'max_connections_reset' => 123,
'max_observed_seconds' => 123,
'max_packets_client_to_server' => 123,
'max_packets_server_to_client' => 123,
'min_active_connections' => 123,
'min_bytes_client_to_server' => 123,
'min_bytes_server_to_client' => 123,
'min_connections_closed' => 123,
'min_connections_opened' => 123,
'min_connections_refused' => 123,
'min_connections_reset' => 123,
'min_observed_seconds' => 123,
'min_packets_client_to_server' => 123,
'min_packets_server_to_client' => 123,
'observed_from' => '<string>',
'offset' => 123,
'service_filter' => [
'resolution_sources' => [
'<string>'
],
'service_names' => [
'<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json",
"X-CostGraph-Tenant-ID: <x-costgraph-tenant-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.costgraph.ai/api/v1/tenant/service-map"
payload := strings.NewReader("{\n \"limit\": 123,\n \"max_active_connections\": 123,\n \"max_bytes_client_to_server\": 123,\n \"max_bytes_server_to_client\": 123,\n \"max_connections_closed\": 123,\n \"max_connections_opened\": 123,\n \"max_connections_refused\": 123,\n \"max_connections_reset\": 123,\n \"max_observed_seconds\": 123,\n \"max_packets_client_to_server\": 123,\n \"max_packets_server_to_client\": 123,\n \"min_active_connections\": 123,\n \"min_bytes_client_to_server\": 123,\n \"min_bytes_server_to_client\": 123,\n \"min_connections_closed\": 123,\n \"min_connections_opened\": 123,\n \"min_connections_refused\": 123,\n \"min_connections_reset\": 123,\n \"min_observed_seconds\": 123,\n \"min_packets_client_to_server\": 123,\n \"min_packets_server_to_client\": 123,\n \"observed_from\": \"<string>\",\n \"offset\": 123,\n \"service_filter\": {\n \"resolution_sources\": [\n \"<string>\"\n ],\n \"service_names\": [\n \"<string>\"\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-CostGraph-Tenant-ID", "<x-costgraph-tenant-id>")
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.costgraph.ai/api/v1/tenant/service-map")
.header("X-CostGraph-Tenant-ID", "<x-costgraph-tenant-id>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"limit\": 123,\n \"max_active_connections\": 123,\n \"max_bytes_client_to_server\": 123,\n \"max_bytes_server_to_client\": 123,\n \"max_connections_closed\": 123,\n \"max_connections_opened\": 123,\n \"max_connections_refused\": 123,\n \"max_connections_reset\": 123,\n \"max_observed_seconds\": 123,\n \"max_packets_client_to_server\": 123,\n \"max_packets_server_to_client\": 123,\n \"min_active_connections\": 123,\n \"min_bytes_client_to_server\": 123,\n \"min_bytes_server_to_client\": 123,\n \"min_connections_closed\": 123,\n \"min_connections_opened\": 123,\n \"min_connections_refused\": 123,\n \"min_connections_reset\": 123,\n \"min_observed_seconds\": 123,\n \"min_packets_client_to_server\": 123,\n \"min_packets_server_to_client\": 123,\n \"observed_from\": \"<string>\",\n \"offset\": 123,\n \"service_filter\": {\n \"resolution_sources\": [\n \"<string>\"\n ],\n \"service_names\": [\n \"<string>\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.costgraph.ai/api/v1/tenant/service-map")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-CostGraph-Tenant-ID"] = '<x-costgraph-tenant-id>'
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"limit\": 123,\n \"max_active_connections\": 123,\n \"max_bytes_client_to_server\": 123,\n \"max_bytes_server_to_client\": 123,\n \"max_connections_closed\": 123,\n \"max_connections_opened\": 123,\n \"max_connections_refused\": 123,\n \"max_connections_reset\": 123,\n \"max_observed_seconds\": 123,\n \"max_packets_client_to_server\": 123,\n \"max_packets_server_to_client\": 123,\n \"min_active_connections\": 123,\n \"min_bytes_client_to_server\": 123,\n \"min_bytes_server_to_client\": 123,\n \"min_connections_closed\": 123,\n \"min_connections_opened\": 123,\n \"min_connections_refused\": 123,\n \"min_connections_reset\": 123,\n \"min_observed_seconds\": 123,\n \"min_packets_client_to_server\": 123,\n \"min_packets_server_to_client\": 123,\n \"observed_from\": \"<string>\",\n \"offset\": 123,\n \"service_filter\": {\n \"resolution_sources\": [\n \"<string>\"\n ],\n \"service_names\": [\n \"<string>\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"message": "some message",
"status": "success",
"data": {
"connections": [
{
"client": {
"cluster": "<string>",
"created_at": "<string>",
"endpoint_key": "<string>",
"group": "<string>",
"id": "<string>",
"kind": "<string>",
"labels": {},
"name": "<string>",
"parent_kind": "<string>",
"parent_name": "<string>",
"resolution_source": "<string>",
"superseded_by_endpoint_id": "<string>",
"tags": {},
"tenant_id": "<string>",
"updated_at": "<string>"
},
"counters": {
"bucket_start": "<string>",
"bytes_client_to_server": 123,
"bytes_server_to_client": 123,
"connections_active_max": 123,
"connections_closed": 123,
"connections_failed": 123,
"connections_opened": 123,
"connections_refused": 123,
"connections_reset": 123,
"created_at": "<string>",
"id": "<string>",
"network_report_id": "<string>",
"observed_from": "<string>",
"observed_seconds": 123,
"packets_client_to_server": 123,
"packets_server_to_client": 123,
"tenant_id": "<string>",
"updated_at": "<string>"
},
"id": "<string>",
"metadata": {
"attributed_cost_monthly": 123,
"charged_direction": "<string>",
"client_az": "<string>",
"client_endpoint_id": "<string>",
"cost_mechanism": "<string>",
"created_at": "<string>",
"id": "<string>",
"locality": "<string>",
"locality_source": "<string>",
"nat_translated": true,
"pricing_source": "<string>",
"proto": "<string>",
"server_az": "<string>",
"server_endpoint_id": "<string>",
"server_port": 123,
"service_vip_observed": true,
"tags": {},
"tenant_id": "<string>",
"updated_at": "<string>"
},
"server": {
"cluster": "<string>",
"created_at": "<string>",
"endpoint_key": "<string>",
"group": "<string>",
"id": "<string>",
"kind": "<string>",
"labels": {},
"name": "<string>",
"parent_kind": "<string>",
"parent_name": "<string>",
"resolution_source": "<string>",
"superseded_by_endpoint_id": "<string>",
"tags": {},
"tenant_id": "<string>",
"updated_at": "<string>"
}
}
],
"range": {
"end": "<string>",
"start": "<string>"
},
"services": [
{
"cluster": "<string>",
"created_at": "<string>",
"endpoint_key": "<string>",
"group": "<string>",
"id": "<string>",
"kind": "<string>",
"labels": {},
"name": "<string>",
"parent_kind": "<string>",
"parent_name": "<string>",
"resolution_source": "<string>",
"superseded_by_endpoint_id": "<string>",
"tags": {},
"tenant_id": "<string>",
"updated_at": "<string>"
}
],
"totals": {
"attributed_cost_monthly": 123,
"bytes_by_locality": {},
"bytes_client_to_server": 123,
"bytes_server_to_client": 123,
"cost_attributed_connections": 123,
"cost_by_locality": {},
"cost_by_mechanism": {},
"total_connections": 123,
"total_services": 123,
"unhealthy_connections": 123
}
}
}{
"message": "some message",
"status": "error"
}{
"message": "some message",
"status": "error"
}{
"message": "some message",
"status": "error"
}{
"message": "some message",
"status": "error"
}Authorizations
Enter "Bearer {token}"
Headers
Tenant ID
Query Parameters
Range start timestamp in RFC3339 format
Range end timestamp in RFC3339 format
Body
Service filter, bounds on each connection's counters for the period, and paging. service_filter.role selects which side of a connection the service filters apply to (client, server, or both; the default keeps a connection when either endpoint matches). limit and offset page the connection list -- limit defaults to 500, is capped at 5000, and a negative limit returns every match. sort_by orders the connections before paging (cost, bytes, connections or failures; cost is the default). Every field is optional and an omitted or null value is not applied, so an empty body or no body at all returns the first page of the unfiltered map
A negative Limit is unpaged.
Show child attributes
Show child attributes
cost, bytes, connections, failures Was this page helpful?
curl --request POST \
--url https://api.costgraph.ai/api/v1/tenant/service-map \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'X-CostGraph-Tenant-ID: <x-costgraph-tenant-id>' \
--data '
{
"limit": 123,
"max_active_connections": 123,
"max_bytes_client_to_server": 123,
"max_bytes_server_to_client": 123,
"max_connections_closed": 123,
"max_connections_opened": 123,
"max_connections_refused": 123,
"max_connections_reset": 123,
"max_observed_seconds": 123,
"max_packets_client_to_server": 123,
"max_packets_server_to_client": 123,
"min_active_connections": 123,
"min_bytes_client_to_server": 123,
"min_bytes_server_to_client": 123,
"min_connections_closed": 123,
"min_connections_opened": 123,
"min_connections_refused": 123,
"min_connections_reset": 123,
"min_observed_seconds": 123,
"min_packets_client_to_server": 123,
"min_packets_server_to_client": 123,
"observed_from": "<string>",
"offset": 123,
"service_filter": {
"resolution_sources": [
"<string>"
],
"service_names": [
"<string>"
]
}
}
'import requests
url = "https://api.costgraph.ai/api/v1/tenant/service-map"
payload = {
"limit": 123,
"max_active_connections": 123,
"max_bytes_client_to_server": 123,
"max_bytes_server_to_client": 123,
"max_connections_closed": 123,
"max_connections_opened": 123,
"max_connections_refused": 123,
"max_connections_reset": 123,
"max_observed_seconds": 123,
"max_packets_client_to_server": 123,
"max_packets_server_to_client": 123,
"min_active_connections": 123,
"min_bytes_client_to_server": 123,
"min_bytes_server_to_client": 123,
"min_connections_closed": 123,
"min_connections_opened": 123,
"min_connections_refused": 123,
"min_connections_reset": 123,
"min_observed_seconds": 123,
"min_packets_client_to_server": 123,
"min_packets_server_to_client": 123,
"observed_from": "<string>",
"offset": 123,
"service_filter": {
"resolution_sources": ["<string>"],
"service_names": ["<string>"]
}
}
headers = {
"X-CostGraph-Tenant-ID": "<x-costgraph-tenant-id>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-CostGraph-Tenant-ID': '<x-costgraph-tenant-id>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
limit: 123,
max_active_connections: 123,
max_bytes_client_to_server: 123,
max_bytes_server_to_client: 123,
max_connections_closed: 123,
max_connections_opened: 123,
max_connections_refused: 123,
max_connections_reset: 123,
max_observed_seconds: 123,
max_packets_client_to_server: 123,
max_packets_server_to_client: 123,
min_active_connections: 123,
min_bytes_client_to_server: 123,
min_bytes_server_to_client: 123,
min_connections_closed: 123,
min_connections_opened: 123,
min_connections_refused: 123,
min_connections_reset: 123,
min_observed_seconds: 123,
min_packets_client_to_server: 123,
min_packets_server_to_client: 123,
observed_from: '<string>',
offset: 123,
service_filter: {resolution_sources: ['<string>'], service_names: ['<string>']}
})
};
fetch('https://api.costgraph.ai/api/v1/tenant/service-map', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.costgraph.ai/api/v1/tenant/service-map",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'limit' => 123,
'max_active_connections' => 123,
'max_bytes_client_to_server' => 123,
'max_bytes_server_to_client' => 123,
'max_connections_closed' => 123,
'max_connections_opened' => 123,
'max_connections_refused' => 123,
'max_connections_reset' => 123,
'max_observed_seconds' => 123,
'max_packets_client_to_server' => 123,
'max_packets_server_to_client' => 123,
'min_active_connections' => 123,
'min_bytes_client_to_server' => 123,
'min_bytes_server_to_client' => 123,
'min_connections_closed' => 123,
'min_connections_opened' => 123,
'min_connections_refused' => 123,
'min_connections_reset' => 123,
'min_observed_seconds' => 123,
'min_packets_client_to_server' => 123,
'min_packets_server_to_client' => 123,
'observed_from' => '<string>',
'offset' => 123,
'service_filter' => [
'resolution_sources' => [
'<string>'
],
'service_names' => [
'<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json",
"X-CostGraph-Tenant-ID: <x-costgraph-tenant-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.costgraph.ai/api/v1/tenant/service-map"
payload := strings.NewReader("{\n \"limit\": 123,\n \"max_active_connections\": 123,\n \"max_bytes_client_to_server\": 123,\n \"max_bytes_server_to_client\": 123,\n \"max_connections_closed\": 123,\n \"max_connections_opened\": 123,\n \"max_connections_refused\": 123,\n \"max_connections_reset\": 123,\n \"max_observed_seconds\": 123,\n \"max_packets_client_to_server\": 123,\n \"max_packets_server_to_client\": 123,\n \"min_active_connections\": 123,\n \"min_bytes_client_to_server\": 123,\n \"min_bytes_server_to_client\": 123,\n \"min_connections_closed\": 123,\n \"min_connections_opened\": 123,\n \"min_connections_refused\": 123,\n \"min_connections_reset\": 123,\n \"min_observed_seconds\": 123,\n \"min_packets_client_to_server\": 123,\n \"min_packets_server_to_client\": 123,\n \"observed_from\": \"<string>\",\n \"offset\": 123,\n \"service_filter\": {\n \"resolution_sources\": [\n \"<string>\"\n ],\n \"service_names\": [\n \"<string>\"\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-CostGraph-Tenant-ID", "<x-costgraph-tenant-id>")
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.costgraph.ai/api/v1/tenant/service-map")
.header("X-CostGraph-Tenant-ID", "<x-costgraph-tenant-id>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"limit\": 123,\n \"max_active_connections\": 123,\n \"max_bytes_client_to_server\": 123,\n \"max_bytes_server_to_client\": 123,\n \"max_connections_closed\": 123,\n \"max_connections_opened\": 123,\n \"max_connections_refused\": 123,\n \"max_connections_reset\": 123,\n \"max_observed_seconds\": 123,\n \"max_packets_client_to_server\": 123,\n \"max_packets_server_to_client\": 123,\n \"min_active_connections\": 123,\n \"min_bytes_client_to_server\": 123,\n \"min_bytes_server_to_client\": 123,\n \"min_connections_closed\": 123,\n \"min_connections_opened\": 123,\n \"min_connections_refused\": 123,\n \"min_connections_reset\": 123,\n \"min_observed_seconds\": 123,\n \"min_packets_client_to_server\": 123,\n \"min_packets_server_to_client\": 123,\n \"observed_from\": \"<string>\",\n \"offset\": 123,\n \"service_filter\": {\n \"resolution_sources\": [\n \"<string>\"\n ],\n \"service_names\": [\n \"<string>\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.costgraph.ai/api/v1/tenant/service-map")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-CostGraph-Tenant-ID"] = '<x-costgraph-tenant-id>'
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"limit\": 123,\n \"max_active_connections\": 123,\n \"max_bytes_client_to_server\": 123,\n \"max_bytes_server_to_client\": 123,\n \"max_connections_closed\": 123,\n \"max_connections_opened\": 123,\n \"max_connections_refused\": 123,\n \"max_connections_reset\": 123,\n \"max_observed_seconds\": 123,\n \"max_packets_client_to_server\": 123,\n \"max_packets_server_to_client\": 123,\n \"min_active_connections\": 123,\n \"min_bytes_client_to_server\": 123,\n \"min_bytes_server_to_client\": 123,\n \"min_connections_closed\": 123,\n \"min_connections_opened\": 123,\n \"min_connections_refused\": 123,\n \"min_connections_reset\": 123,\n \"min_observed_seconds\": 123,\n \"min_packets_client_to_server\": 123,\n \"min_packets_server_to_client\": 123,\n \"observed_from\": \"<string>\",\n \"offset\": 123,\n \"service_filter\": {\n \"resolution_sources\": [\n \"<string>\"\n ],\n \"service_names\": [\n \"<string>\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"message": "some message",
"status": "success",
"data": {
"connections": [
{
"client": {
"cluster": "<string>",
"created_at": "<string>",
"endpoint_key": "<string>",
"group": "<string>",
"id": "<string>",
"kind": "<string>",
"labels": {},
"name": "<string>",
"parent_kind": "<string>",
"parent_name": "<string>",
"resolution_source": "<string>",
"superseded_by_endpoint_id": "<string>",
"tags": {},
"tenant_id": "<string>",
"updated_at": "<string>"
},
"counters": {
"bucket_start": "<string>",
"bytes_client_to_server": 123,
"bytes_server_to_client": 123,
"connections_active_max": 123,
"connections_closed": 123,
"connections_failed": 123,
"connections_opened": 123,
"connections_refused": 123,
"connections_reset": 123,
"created_at": "<string>",
"id": "<string>",
"network_report_id": "<string>",
"observed_from": "<string>",
"observed_seconds": 123,
"packets_client_to_server": 123,
"packets_server_to_client": 123,
"tenant_id": "<string>",
"updated_at": "<string>"
},
"id": "<string>",
"metadata": {
"attributed_cost_monthly": 123,
"charged_direction": "<string>",
"client_az": "<string>",
"client_endpoint_id": "<string>",
"cost_mechanism": "<string>",
"created_at": "<string>",
"id": "<string>",
"locality": "<string>",
"locality_source": "<string>",
"nat_translated": true,
"pricing_source": "<string>",
"proto": "<string>",
"server_az": "<string>",
"server_endpoint_id": "<string>",
"server_port": 123,
"service_vip_observed": true,
"tags": {},
"tenant_id": "<string>",
"updated_at": "<string>"
},
"server": {
"cluster": "<string>",
"created_at": "<string>",
"endpoint_key": "<string>",
"group": "<string>",
"id": "<string>",
"kind": "<string>",
"labels": {},
"name": "<string>",
"parent_kind": "<string>",
"parent_name": "<string>",
"resolution_source": "<string>",
"superseded_by_endpoint_id": "<string>",
"tags": {},
"tenant_id": "<string>",
"updated_at": "<string>"
}
}
],
"range": {
"end": "<string>",
"start": "<string>"
},
"services": [
{
"cluster": "<string>",
"created_at": "<string>",
"endpoint_key": "<string>",
"group": "<string>",
"id": "<string>",
"kind": "<string>",
"labels": {},
"name": "<string>",
"parent_kind": "<string>",
"parent_name": "<string>",
"resolution_source": "<string>",
"superseded_by_endpoint_id": "<string>",
"tags": {},
"tenant_id": "<string>",
"updated_at": "<string>"
}
],
"totals": {
"attributed_cost_monthly": 123,
"bytes_by_locality": {},
"bytes_client_to_server": 123,
"bytes_server_to_client": 123,
"cost_attributed_connections": 123,
"cost_by_locality": {},
"cost_by_mechanism": {},
"total_connections": 123,
"total_services": 123,
"unhealthy_connections": 123
}
}
}{
"message": "some message",
"status": "error"
}{
"message": "some message",
"status": "error"
}{
"message": "some message",
"status": "error"
}{
"message": "some message",
"status": "error"
}