dlogify docs
API referenceUsage

Usage of an API key

GET/v1/keys/{key_id}/usage

Requires role member or higher.

resolution=hour (default) returns 48 UTC hours; resolution=day returns 90 UTC days. The last point is the current, partial one.

Authorization

AuthorizationBearer <token>

A session token from /v1/auth/sign-in/email (CLI, scripts).

In: header

Path Parameters

key_id*string

Query Parameters

resolution?|

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/keys/string/usage" \  -H "Authorization: Bearer $DLOGIFY_SESSION"
{  "key_id": "string",  "name": "string",  "points": [    {      "accepted": 0,      "at": "2019-08-24T14:15:22Z",      "rejected_quota": 0,      "rejected_rate": 0    }  ],  "project_id": "string",  "resolution": "hour",  "revoked": true}