Get bandwidth usage for one or more services

GET {{baseUrl}}/metrics/bandwidth?startTime=<dateTime>&endTime=<dateTime>&service=<string>

Request Params

KeyDatatypeRequiredDescription
startTimestringEpoch/Unix timestamp of end of time range to return. Defaults to now() - 1 hour.
endTimestringEpoch/Unix timestamp of end of time range to return. Defaults to now().
servicestring(Required) Service ID to query. When multiple service query params are provided, they are ORed together

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

[{&quot;labels&quot;:[{&quot;field&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;},{&quot;field&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;}],&quot;values&quot;:[{&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cnumber\u003e&quot;,&quot;unit&quot;:false},{&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cnumber\u003e&quot;,&quot;unit&quot;:-88035325}],&quot;unit&quot;:&quot;\u003cstring\u003e&quot;},{&quot;labels&quot;:[{&quot;field&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;},{&quot;field&quot;:&quot;\u003cstring\u003e&quot;,&quot;value&quot;:&quot;\u003cstring\u003e&quot;}],&quot;values&quot;:[{&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cnumber\u003e&quot;,&quot;unit&quot;:true},{&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;value&quot;:&quot;\u003cnumber\u003e&quot;,&quot;unit&quot;:-1664528}],&quot;unit&quot;:&quot;\u003cstring\u003e&quot;}]