---
title: "Get Agents"
method: GET
path: "/v1/agents"
tags: ["agents"]
---

# Get Agents

`GET /v1/agents`

## Headers

- `x-api-key` string

## Response `200`

OK

- object
  - `agents` AgentItem[]
    - `name` string, required
    - `os` string, required
    - `arch` string, required
    - `tunnel_ip` string, required
    - `tunnel_port` string, required
    - `client_ip` string, required
    - `username` string, required
    - `token` string, required
    - `id` string, required
    - `last_update` string
    - `status` string, required
    - `tags` string[]
    - `networks` string[]
    - `network_subnets` string[]
    - `type` string, required
  - `message` string

## Other responses

- `400` — Example response
- `401` — Example response
- `404` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-11-18** `41ee26b930f3` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/agents/get.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/b69f036fb8ff/schema)
