GET
/
v1
/
apps
/
{name}
/
usage
Get app usage
curl --request GET \
  --url https://platform.jobbit.uk/v1/apps/{name}/usage \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://platform.jobbit.uk/v1/apps/{name}/usage"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://platform.jobbit.uk/v1/apps/{name}/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.jobbit.uk/v1/apps/{name}/usage",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://platform.jobbit.uk/v1/apps/{name}/usage"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://platform.jobbit.uk/v1/apps/{name}/usage")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://platform.jobbit.uk/v1/apps/{name}/usage")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "app_name": "kent-physio-site",
  "bandwidth_used": 734003200,
  "bandwidth_limit": 107374182400,
  "bandwidth_percent": 1,
  "requests_used": 48210,
  "request_limit": 1000000,
  "request_percent": 5,
  "disk_limit": 2147483648,
  "disk_allocated_bytes": 2147483648,
  "disk_used_bytes": 183500800,
  "disk_percent": 9,
  "disk_semantics": "ephemeral_writable_layer",
  "disk_persistence": "reset_on_container_recreate_migration_delete",
  "cpus": 0.5,
  "memory_limit": 536870912,
  "resource_status": "normal",
  "suspended": false,
  "suspended_reason": null,
  "suspension": null,
  "expires_at": null,
  "usage_reset_at": "2026-11-20T08:00:00",
  "usage_period_start": "2026-10-20T08:00:00",
  "usage_period_version": 3,
  "mail_usage": null,
  "s3_usage": null
}
{
"error": {
"code": "invalid_key",
"message": "the API key is missing or invalid",
"request_id": "5d3f0b7c8a2e4e19b6c47a90d1e2f3a4"
}
}
{
"error": {
"code": "insufficient_scope",
"message": "this key does not have the deploy:write permission",
"details": {
"required": "deploy:write"
},
"request_id": "5d3f0b7c8a2e4e19b6c47a90d1e2f3a4"
}
}
{
"error": {
"code": "not_found",
"message": "not found",
"request_id": "5d3f0b7c8a2e4e19b6c47a90d1e2f3a4"
}
}
{
"error": {
"code": "invalid_request",
"message": "the request is not valid",
"details": [
{
"location": [
"body",
"name"
],
"message": "String should match pattern '^[a-z0-9][a-z0-9-]*$'",
"type": "string_pattern_mismatch"
}
],
"request_id": "5d3f0b7c8a2e4e19b6c47a90d1e2f3a4"
}
}
{
"error": {
"code": "rate_limited",
"message": "too many read requests, retry in 4 s",
"details": {
"group": "read",
"limit": 120,
"window_seconds": 60
},
"request_id": "5d3f0b7c8a2e4e19b6c47a90d1e2f3a4"
}
}

Authorizations

Authorization
string
header
required

An API key from Settings → API keys, sent as Authorization: Bearer jb_live_…

Path Parameters

name
string
required

The app name.

Required string length: 1 - 100
Pattern: ^[A-Za-z0-9][A-Za-z0-9-]*$

Response

Usage and limits.

app_name
string
required

The app.

bandwidth_used
integer
required

Traffic used in the current period, in bytes.

bandwidth_limit
integer
required

Traffic allowed in the period, in bytes.

requests_used
integer
required

Requests in the current period.

request_limit
integer
required

Requests allowed in the period.

bandwidth_percent
integer

Share of the traffic allowance used.

request_percent
integer

Share of the request allowance used.

disk_limit
integer

Disk limit in bytes.

disk_allocated_bytes
integer

Disk reserved in bytes.

disk_used_bytes
integer

Disk used in bytes.

disk_percent
integer

Share of the disk used.

disk_semantics
string

What the disk is: a writable layer that is reset when the container is recreated.

disk_persistence
string

When disk contents are lost.

cpus
number

CPU cores.

memory_limit
integer

Memory limit in bytes.

resource_status
string

Resource state.

suspended
boolean

Whether the app is suspended.

suspended_reason
string | null

Why.

suspension
object | null

Details of the suspension: reason, metric, used, limit, scope and period end.

expires_at
string | null

When the app expires.

usage_reset_at
string | null

When the usage period resets.

usage_period_start
string | null

When the current period started.

usage_period_version
integer

A counter that changes with each period.

mail_usage
object | null

Mail sent by the app, if it sends any.

s3_usage
object | null

Storage used by the app, if it uses any.