API reference

GET /api/v2/usage

Stored bytes and request counts for the period.

Parameters

This endpoint takes no parameters.

Response

Content-Type application/json. Cache-Control no-store.

{
  "period": {
    "start": "2024-07-25",
    "granularity": "day"
  },
  "unit": "bytes",
  "totals": {
    "current": 366097,
    "limit": 500000
  }
}

Example

curl -s https://media.skunkeu.win/api/v2/usage