---
title: "List managed customer Agents"
description: "List every Agent connected to one managed customer, including revoked Agents."
---
<nav class="docs-breadcrumb" aria-label="Breadcrumb"><a href="/docs/">CloudPrint Documentation</a><span aria-hidden="true">/</span><span>API reference</span></nav>

# List managed customer Agents

<p class="docs-lead">List every Agent connected to one managed customer, including revoked Agents.</p>

<div class="api-endpoint-summary"><span class="api-method api-method-get">GET</span><code>/partner-api/v1/accounts/{relationshipId}/agents</code><span><strong>API version:</strong> v1</span><span><strong>operationId:</strong> <code>listPartnerManagedAgents</code></span><a href="/docs/api/v1/partner/agents/list/index.md">View as Markdown</a></div>

## 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

| Name | Location | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- | --- |
| `relationshipId` | path | `string (uuid)` | yes | — | — |
| `limit` | query | `integer` | no | — | min: 1; max: 100; default: `50` |
| `cursor` | query | `string` | no | — | — |

### 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

| Name | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `data` | `array` | yes | — | — |
| `next_cursor` | `string \| null` | yes | Opaque 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 status | Description |
| --- | --- |
| `401` | Application assertion is invalid |
| `403` | Partner capability is not granted |
| `404` | Managed Account was not found |
| `422` | Pagination parameters are invalid |
| `429` | Rate limit exceeded |
| `500` | Unexpected error |

## Integration guidance

## Related documentation

<div class="docs-card-grid"><a class="docs-card" href="/docs/api/v1/partner/agents/revoke/"><strong>Revoke a managed customer Agent</strong><span>Revoke a lost or replaced Agent and take its printers offline.</span></a>
<a class="docs-card" href="/docs/api/v1/partner/accounts/get/"><strong>Get one managed customer account</strong><span>Retrieve one managed customer directly by its stable relationship ID.</span></a>
<a class="docs-card" href="/docs/partner-platform/agent-enrollment/"><strong>Enroll an agent for a customer</strong><span>Connect a local CloudPrint Agent to the correct managed customer account without requiring a customer portal login.</span></a></div>

<nav class="docs-resource-links" aria-label="Next steps"><a href="/docs/api/v1/explorer/">OpenAPI</a><a href="https://my.cloudprint.me">Open account</a><a href="/docs/legal/privacy/">Privacy Policy</a><a href="/docs/legal/terms/">Terms</a><a href="/docs/legal/payments-and-refunds/">Payment and refunds</a><a href="/docs/legal/data-processing/">DPA</a></nav>