---
title: "Get Plan Agents"
method: GET
path: "/protocol/plans/{planId}/agents"
tags: ["Protocol - Plans"]
---

# Get Plan Agents

`GET /protocol/plans/{planId}/agents`

## Request

- Base URL: `https://api.sandbox.nevermined.app/api/v1`
- URL: `https://api.sandbox.nevermined.app/api/v1/protocol/plans/{planId}/agents`
- Auth: HTTP bearer

Lists all agents associated with a payment plan.

## Path parameters

- `planId` integer, required

## Query parameters

- `page` integer
- `offset` integer

## Response `200`

List of agents

- PaginatedAgents
  - `agents` Agent[]
    - `agentId` string
    - `name` string
    - `description` string
    - `tags` string[]
    - `endpoints` object[]
    - `agentDefinitionUrl` string
    - `plans` object[]
      - `planId` string
      - `name` string
    - `isListed` boolean
    - `owner` string
  - `totalCount` integer
  - `page` integer
  - `offset` integer

## Other responses

- `404`: Plan not found

---

[API](https://skmtc.dev/nevermined/apis/nevermined-api.md) · [All operations](https://skmtc.dev/nevermined/apis/nevermined-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nevermined/apis/nevermined-api/revisions/cabbe618c80b?raw)
