Skip to main content
GET
/
teams
/
{teamID}
/
metrics
cURL
curl --request GET \
  --url https://api.e2b.app/teams/{teamID}/metrics \
  --header 'X-API-Key: <api-key>'
[
  {
    "timestamp": "2023-11-07T05:31:56Z",
    "timestampUnix": 123,
    "concurrentSandboxes": 123,
    "sandboxStartRate": 123
  }
]

Authorizations

X-API-Key
string
header
required

Path Parameters

teamID
string
required

Query Parameters

start
integer<int64>

Unix timestamp for the start of the interval, in seconds, for which the metrics

Required range: x >= 0
end
integer<int64>

Unix timestamp for the end of the interval, in seconds, for which the metrics

Required range: x >= 0

Response

Successfully returned the team metrics

timestamp
string<date-time>
required
deprecated

Timestamp of the metric entry

timestampUnix
integer<int64>
required

Timestamp of the metric entry in Unix time (seconds since epoch)

concurrentSandboxes
integer<int32>
required

The number of concurrent sandboxes for the team

sandboxStartRate
number<float>
required

Number of sandboxes started per second