Usage

Usage for your organisation

GET https://api.129.212.147.181.sslip.io/v1/usage

Query parameters

from timestamp optional
Start of the period (inclusive). Defaults to the start of the current month (UTC).
to timestamp optional
End of the period (exclusive). Defaults to now.

Headers

Authorization string required
Bearer dg_test_… or Bearer dg_live_…

Returns

200 OK: a Usage object. Counts for the period.

Errors

StatusCodeWhat to do
422parameter_invalidfrom must be before to; both are RFC 3339 times.

Any endpoint can also return the common errors (bad key, rate limit, idempotency).