Skip to content

List managed customer Agents

List every Agent connected to one managed customer, including revoked Agents.

GET/partner-api/v1/accounts/{relationshipId}/agentsAPI version: v1operationId: listPartnerManagedAgentsView as Markdown

What this endpoint does

List every Agent connected to one managed customer, including revoked Agents.

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/accounts/{relationshipId}/agents

Parameters

NameLocationTypeRequiredDescriptionConstraints
relationshipIdpathstring (uuid)yes
limitqueryintegernomin: 1; max: 100; default: 50
cursorquerystringno

Request body

This endpoint has no request body.

Example requests

cURL

bash
curl -sS "https://public-api.cloudprint.me/partner-api/v1/accounts/$RELATIONSHIP_ID/agents" \
  -H "Authorization: Bearer $APPLICATION_ASSERTION"

Response

HTTP status: 200 — Managed Agents page

Response fields

NameTypeRequiredDescriptionConstraints
dataarrayyes
next_cursorstring | nullyesOpaque cursor for the next result page; send it back unchanged.

Example response

json
{
  "data": [
    {
      "agent_id": "11111111-1111-4111-8111-111111111111",
      "name": "string",
      "status": "online",
      "agent_instance_id": null,
      "hostname": null,
      "version": null,
      "last_seen_at": null,
      "created_at": null,
      "revoked_at": null
    }
  ],
  "next_cursor": null
}

Errors

HTTP statusDescription
401Application assertion is invalid
403Partner capability is not granted
404Managed Account was not found
422Pagination parameters are invalid
429Rate limit exceeded
500Unexpected error

Integration guidance

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