Native access token

GET /oneaster/v1/usage

Native access token · GET /oneaster/v1/usage

Calls only native /api/*/self handlers with the caller bearer. Root remains self-scoped. Username/user_id/channel selectors, unknown and repeated query fields are rejected before transport. Money uses decimal strings: quota is the native integer, quota_credits has four places, quota_display has two, at 100 credits/USD and 1000000 quota/USD. No wallet mutation. Native time-range, permissions and PAT scopes remain enforced. Timestamps are Unix seconds; absent/zero boundaries retain native semantics.

GET/oneaster/v1/usage

Authorizations

Authorizationstringrequired

Use a native login access_token (or a scoped PAT where supported); required access: Native access token.

Authorization: Bearer $ONEASTER_ACCESS_TOKEN

Parameters

start_timestampinteger

query

end_timestampinteger

query