Get print usage for this period
curl --request GET \
--url https://api.inkrelay.app/v1/usage \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.inkrelay.app/v1/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.inkrelay.app/v1/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"history": [],
"period": {
"end": "2026-11-01T00:00:00.000Z",
"includedPrints": 5000,
"overagePrints": 0,
"start": "2026-10-01T00:00:00.000Z",
"usedPrints": 1234
},
"plan": "essential"
}{
"error": {
"code": "not_found",
"message": "Printer not found",
"request_id": "4f9c2a7e-1b3d-4c5e-8f6a-0b1c2d3e4f5a",
"upgrade_url": "https://app.inkrelay.app/billing?upgrade=1"
}
}{
"error": {
"code": "not_found",
"message": "Printer not found",
"request_id": "4f9c2a7e-1b3d-4c5e-8f6a-0b1c2d3e4f5a",
"upgrade_url": "https://app.inkrelay.app/billing?upgrade=1"
}
}{
"error": {
"code": "not_found",
"message": "Printer not found",
"request_id": "4f9c2a7e-1b3d-4c5e-8f6a-0b1c2d3e4f5a",
"upgrade_url": "https://app.inkrelay.app/billing?upgrade=1"
}
}Usage
Get print usage for this period
Returns the plan, the live prints it includes this billing period, the live prints used so far (overage past the allowance on paid plans) and earlier periods. Lite periods are calendar months; paid periods follow the subscription’s renewal date. Test mode jobs never count, so a test key sees the same live usage.
GET
/
v1
/
usage
Get print usage for this period
curl --request GET \
--url https://api.inkrelay.app/v1/usage \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.inkrelay.app/v1/usage', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.inkrelay.app/v1/usage"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"history": [],
"period": {
"end": "2026-11-01T00:00:00.000Z",
"includedPrints": 5000,
"overagePrints": 0,
"start": "2026-10-01T00:00:00.000Z",
"usedPrints": 1234
},
"plan": "essential"
}{
"error": {
"code": "not_found",
"message": "Printer not found",
"request_id": "4f9c2a7e-1b3d-4c5e-8f6a-0b1c2d3e4f5a",
"upgrade_url": "https://app.inkrelay.app/billing?upgrade=1"
}
}{
"error": {
"code": "not_found",
"message": "Printer not found",
"request_id": "4f9c2a7e-1b3d-4c5e-8f6a-0b1c2d3e4f5a",
"upgrade_url": "https://app.inkrelay.app/billing?upgrade=1"
}
}{
"error": {
"code": "not_found",
"message": "Printer not found",
"request_id": "4f9c2a7e-1b3d-4c5e-8f6a-0b1c2d3e4f5a",
"upgrade_url": "https://app.inkrelay.app/billing?upgrade=1"
}
}Authorizations
ApiKeyAuthBasicAuth
Was this page helpful?