Skip to content

Get managed-account usage ​

Read managed accounts, active Agents and print jobs for one UTC calendar month.

GET/partner-api/v1/usageAPI version: v1operationId: getPartnerUsageView as Markdown

What this endpoint does ​

Read managed accounts, active Agents and print jobs for one UTC calendar month.

Authentication ​

Send a one-time RS256 Developer Application assertion in Authorization: Bearer <application_assertion>. This assertion is not a Public API access token.

Request ​

Production base URL: https://public-api.cloudprint.me/partner-api/v1/usage

Parameters ​

NameLocationTypeRequiredDescriptionConstraints
periodquerystringnoUTC calendar month in YYYY-MM format used for the usage report.example: "2026-08"
X-Request-IdheaderstringnoOptional request identifier for tracing; CloudPrint returns a safe value in the response header.maxLength: 128; example: "order-100045-attempt-1"

Request body ​

This endpoint has no request body.

Example requests ​

cURL ​

bash
curl -sS 'https://public-api.cloudprint.me/partner-api/v1/usage?period=2026-08' \
  -H "Authorization: Bearer $APPLICATION_ASSERTION"

Response ​

HTTP status: 200 — Partner usage

Response fields ​

NameTypeRequiredDescriptionConstraints
periodstringyesUTC calendar month in YYYY-MM format used for the usage report.—
starts_atstring (date-time)yesISO 8601 timestamp recorded by CloudPrint.—
ends_atstring (date-time)yesISO 8601 timestamp recorded by CloudPrint.—
managed_accountsintegeryesNumber of managed customer accounts included in the usage period.min: 0
active_agentsintegeryesNumber of active agents counted for the requested UTC calendar month.min: 0
print_jobsintegeryesPrint jobs returned for the current account and filters.min: 0

Example response ​

json
{
  "period": "2026-08",
  "starts_at": "2026-08-06T12:00:00Z",
  "ends_at": "2026-08-06T12:00:00Z",
  "managed_accounts": 0,
  "active_agents": 0,
  "print_jobs": 0
}

Errors ​

HTTP statusDescription
401Application assertion is invalid
403Developer Account production access is not active
422Period is invalid
429Rate limit exceeded
500Unexpected error

Guides for integrating CloudPrint, connecting the local agent and operating print workflows.