Skip to main content
GET
/
sandboxes
/
{sandbox_id}
/
network
List a sandbox's egress activity
curl --request GET \
  --url https://api.superserve.ai/sandboxes/{sandbox_id}/network \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": 123,
      "ts": "2023-11-07T05:31:56Z",
      "host": "<string>",
      "dst_ip": "<string>",
      "dst_port": 123,
      "match_rule": "<string>",
      "bytes_sent": 123,
      "bytes_recv": 123,
      "method": "<string>",
      "path": "<string>",
      "status": 123,
      "upstream_status": 123,
      "latency_ms": 123,
      "secret_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "error_code": "<string>"
    }
  ],
  "next_cursor": "<string>",
  "has_more": true
}

Authorizations

X-API-Key
string
header
required

Path Parameters

sandbox_id
string<uuid>
required

The unique identifier of the sandbox.

Query Parameters

limit
integer
default:50
Required range: 1 <= x <= 200
before
string

Pagination cursor or time filter. Pass the previous response's opaque next_cursor to page through results, or an RFC3339 timestamp to return rows strictly older than that time.

since
string<date-time>

Return rows at or newer than this RFC3339 timestamp.

verdict
enum<string>

Filter to connection rows with this verdict. Excludes request rows.

Available options:
allowed,
blocked,
failed

Response

A page of network events (most recent first)

A page of network events with pagination metadata.

data
object[]
required
next_cursor
string | null
required

Opaque pagination cursor. Pass it verbatim as before to fetch the next page; do not parse it. Null when has_more is false.

has_more
boolean
required

Whether more rows exist beyond this page.