auth

Maximum team metrics

Changed on

Get the maximum metrics for the team in the given interval

get/teams/{teamID}/metrics/max

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/teams/{teamID}/metrics/max
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer and API key in header X-Team-ID
    • or API key in header X-Admin-Token and API key in header X-Team-ID
    • or HTTP bearer and API key in header X-Team-ID

Path parameters

teamIDstring required

Identifier of the team, as its UUID or its public project ID (prj_)

Query parameters

startinteger

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

endinteger

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

metric'concurrent_sandboxes' | 'sandbox_start_rate' required

Metric to retrieve the maximum value for

Response

Successfully returned the team metrics

timestampstring date-time required

Timestamp of the metric entry

timestampUnixinteger required

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

valuenumber required

The maximum value of the requested metric in the given interval

Changes