Reading usage
Both need the
usage:read scope. Anyone else gets 404.
totals and days cover every record that matches the filters, across all pages: allowed counts runs, outputs sums their outputs, blocked counts refused runs and downloads, and downloads counts .char downloads. days has one entry per UTC day with any records. team_id is the team that ran it; license_key is null on the provider’s own runs. reason is one of the license check reasons.
In Omnichar Cloud the same report is the Usage section on a protected character’s page for the provider, and on a licensed character’s page for the licensee, with a daily chart and a CSV export.
Usage webhooks
data is a usage record in the shape above. Add the events to an endpoint under Settings → Webhooks; see Webhooks.