Skip to main content
GET
/
teams
/
{teamID}
/
metrics
/
max
cURL
curl --request GET \
  --url https://api.e2b.app/teams/{teamID}/metrics/max \
  --header 'X-API-Key: <api-key>'
{
  "timestamp": "2023-11-07T05:31:56Z",
  "timestampUnix": 123,
  "value": 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
metric
enum<string>
required

Metric to retrieve the maximum value for

Available options:
concurrent_sandboxes,
sandbox_start_rate

Response

Successfully returned the team metrics

Team metric with timestamp

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)

value
number
required

The maximum value of the requested metric in the given interval