---
title: "Get pending agents"
method: GET
path: "/pending_agents"
tags: ["Pending Agents"]
---

# Get pending agents

`GET /pending_agents`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/pending_agents`
- Auth: API key in header `Authorization`

Returns pending agents in array.

## Response `200`

Successful response

- object
  - `id` number, required: Agent id
  - `status` string, required: Agent status
  - `connected_at` number, required: Agent request date (timestamp in seconds)
  - `details` object, required: Agent details which it sent
  - `details.name` string, required: Agent name
  - `details.ip` string, required: Agent IP address
  - `details.os` string, required: Agent operating system

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

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