Passer au contenu principal
GET
/
v1
/
aggregators
/
{id}
/
usage
Get aggregator usage
curl --request GET \
  --url https://api.hyperline.co/v1/aggregators/{id}/usage \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "unit_name": "<string>",
  "thresholds": [
    {
      "id": "<string>",
      "name": "<string>",
      "value": 123
    }
  ]
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

Réponse

id
string
requis

Aggregator ID.

name
string
requis

Display name.

unit_name
string | null
requis

Unit name (e.g. 'request', 'user').

thresholds
object[]
requis