---
title: "# List Agents"
method: GET
path: "/v1/apv/agents"
tags: ["Apv"]
---

# # List Agents

`GET /v1/apv/agents`

## Request

- Base URL: `https://api.picussecurity.com`
- URL: `https://api.picussecurity.com/v1/apv/agents`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/picussecurity/apis/picus-rest-api/docs/v1/apv/agents/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists agents available for the account, used to look up agent_id when creating a GRAY_BOX
simulation.

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

AgentListResponseSwagger

- ApvAgentListOutput
  - `agents` ApvAgent[]
    - `created_at` integer: Epoch milliseconds.
    - `id` integer
    - `name` string
    - `platform_architecture` string
    - `platform_name` string
    - `status` string
    - `type` string
    - `version` string
  - `pages` Pagination
    - `limit` integer: Limit
    - `offset` integer: Offset
    - `total_count` integer: Total Count

## Other responses

- `401`: unauthorizedErrorSwagger is represents unauthorized error
- `422`: validationErrorSwagger is represents the erroneous cases
- `default`: genericErrorSwagger is represents the erroneous cases

## Changes

- **2026-10-13** `da387004d99b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/picussecurity/apis/picus-rest-api/changes/v1/apv/agents/get.md)

---

[API](https://skmtc.dev/picussecurity/apis/picus-rest-api.md) - [All operations](https://skmtc.dev/picussecurity/apis/picus-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/picussecurity/apis/picus-rest-api/revisions/da387004d99b?raw)
