Usage meters

List meters

Meters, a page at a time; archived ones only with `includeArchived`.

Authorization

bearer usage:read
AuthorizationBearer <token>

A v1 API key; the scope named is the one the route needs.

In: header

Scope: usage:read

Query Parameters

limit?integer
Range1 <= value <= 100
Default20
cursor?string
Match^[A-Za-z0-9_-]{1,512}$
includeArchived?string

Response Body

application/json

application/problem+json

GET
/v1/meters
curl -X GET "https://example.com/v1/meters"
{  "data": [    {      "id": "string",      "name": "string",      "description": "string",      "eventName": "string",      "aggregation": {        "type": "count"      },      "unit": "string",      "filter": {        "conjunction": "and",        "clauses": [          {            "key": "string",            "operator": "equals",            "value": "string"          }        ]      },      "status": "active",      "archivedAt": "2019-08-24T14:15:22Z",      "hasEvents": true,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "liveMode": true    }  ],  "nextCursor": "string"}