Get app usage
Returns how much traffic, requests, disk, CPU and memory the app uses against its limits. A key limited to some apps may only use those.
Requires the deploy:read permission.
Authorizations
An API key from Settings → API keys, sent as Authorization: Bearer jb_live_…
Path Parameters
The app name.
1 - 100^[A-Za-z0-9][A-Za-z0-9-]*$Response
Usage and limits.
The app.
Traffic used in the current period, in bytes.
Traffic allowed in the period, in bytes.
Requests in the current period.
Requests allowed in the period.
Share of the traffic allowance used.
Share of the request allowance used.
Disk limit in bytes.
Disk reserved in bytes.
Disk used in bytes.
Share of the disk used.
What the disk is: a writable layer that is reset when the container is recreated.
When disk contents are lost.
CPU cores.
Memory limit in bytes.
Resource state.
Whether the app is suspended.
Why.
Details of the suspension: reason, metric, used, limit, scope and period end.
When the app expires.
When the usage period resets.
When the current period started.
A counter that changes with each period.
Mail sent by the app, if it sends any.
Storage used by the app, if it uses any.