`GET /v1/orgs/{org}/billing/usage` (DAWG-144).
const url = 'https://api.updawg.net/v1/orgs/example/billing/usage';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.updawg.net/v1/orgs/example/billing/usageParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization slug.
Query Parameters
Section titled “Query Parameters”YYYY-MM, UTC. This month when absent.
Responses
Section titled “Responses”Active hosts per day for the month.
object
Every day with a recorded count, oldest first. A day nothing checked in on has no row and costs nothing.
object
Hosts that checked in during the day, UTC: the day’s billable count.
Sent to Stripe.
host_days on this plan’s list price, in pence, for an organization
with a live subscription. An estimate: Stripe’s invoice is the bill.
The first and last day of the month asked about.
The sum of days: what the month has used so far.
Hosts that have checked in today so far, not yet in days. Only for
the current month.
Examplegenerated
{ "days": [ { "active_hosts": 1, "day": "2026-04-15", "reported": true } ], "estimate_pence": 1, "from": "2026-04-15", "host_days": 1, "to": "2026-04-15", "today_so_far": 1}month is not YYYY-MM.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No session.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Only an owner manages billing.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such organization, or not yours.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
object
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}