Usage for your organisation
GET https://api.129.212.147.181.sslip.io/v1/usage
Query parameters
Start of the period (inclusive). Defaults to the start of the current month (UTC).
End of the period (exclusive). Defaults to now.
Headers
Bearer dg_test_… or Bearer dg_live_…
Returns
200 OK: a Usage object. Counts for the period.
Errors
| Status | Code | What to do |
|---|---|---|
| 422 | parameter_invalid | from must be before to; both are RFC 3339 times. |
Any endpoint can also return the common errors (bad key, rate limit, idempotency).