Skip to content

List connected print agents ​

List CloudPrint agents connected to the account and inspect their online status, version and update state.

GET/api/v1/agentsAPI version: v1operationId: listAgentsView as Markdown

What this endpoint does ​

List CloudPrint agents connected to the account and inspect their online status, version and update state.

Authentication ​

Send a short-lived access token in Authorization: Bearer <access_token>.

Required scopes: agents:read

Request ​

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

Parameters ​

NameLocationTypeRequiredDescriptionConstraints
limitqueryintegernoMaximum number of resources to return on one page.min: 1; max: 100; default: 50
cursorquerystring | nullnoOpaque cursor for the requested result page; reuse it unchanged.—
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/api/v1/agents?limit=50' \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Response ​

HTTP status: 200 — Account print agents

Response fields ​

NameTypeRequiredDescriptionConstraints
agentsarrayyesAgents registered in the current CloudPrint account.—
next_cursorstring | nullyesOpaque cursor for the next result page; send it back unchanged.—

Example response ​

json
{
  "agents": [
    {
      "agent_id": "11111111-1111-4111-8111-111111111111",
      "name": "Warehouse PC agent",
      "status": "online",
      "agent_instance_id": "string",
      "hostname": "string",
      "version": "string",
      "build_flavor": "standard",
      "update": {
        "status": "available",
        "current_version": "0.1.0",
        "latest_version": "0.1.1",
        "minimum_supported_version": "0.1.0",
        "channel": "stable",
        "required": false
      },
      "last_seen_at": "2026-08-06T12:00:00Z"
    }
  ],
  "next_cursor": "string"
}

Errors ​

HTTP statusDescription
401OAuth bearer token is missing or invalid
403OAuth bearer token does not include agents:read
422Pagination parameters are invalid
429Rate limit exceeded
500Unexpected error

Integration guidance ​

  • Treat agent status as operational information, not as a printer routing key.
  • Show update state to operators before investigating printer or document failures.

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