units — the processing units that job consumed. Usage
endpoints roll those up for a time range.
GET /v1/usage/overview is the dashboard rollup. The SDK does not wrap that route yet — call it over HTTP.
Units are not the same as wall-clock seconds. A 96-page parse reports 96 units even if wait_seconds returned in one request. Failed jobs may still consume units for work that ran before the failure.
See Usage for the field list.