---
title: "List Files.com Agent nodes"
method: GET
path: "/remote_servers/{id}/agent_nodes"
tags: ["remote_servers", "Agent Nodes"]
---

# List Files.com Agent nodes

`GET /remote_servers/{id}/agent_nodes`

List Files.com Agent nodes

## Path parameters

- `id` integer, required

## Response `200`

The RemoteServers object.

- AgentNodeEntity — AgentNodeEntity model
  - `node_id` string — Stable Agent installation ID
  - `name` string — Customer-configured Agent node name
  - `hostname` string — Hostname reported by the Agent
  - `availability_role` 'primary' | 'auto' | 'standby' — Configured traffic preference
  - `status` 'available' | 'unavailable' — Whether this node currently has an available Agent instance
  - `is_default` boolean — Whether this node is the current default route for new unscoped work
  - `direct_transfer_available` boolean — Whether the proxy recently validated a direct connection to this Agent node. False means direct transfers are enabled but not currently available; null means disabled or unsupported.
  - `last_seen_at` string, date-time — Most recent successful node observation
  - `instances` AgentNodeInstanceEntity[] — Current Agent processes for this node
    - `instance_id` string — Ephemeral ID for this running Agent process
    - `process_state` 'default' | 'draining' — Role of this process during an Agent update
    - `status` 'available' | 'unavailable' — Whether this process has an available proxy connection
    - `is_default` boolean — Whether this process receives new unscoped work for its node
    - `agent_version` string — Agent version reported by this process
    - `last_seen_at` string, date-time — Most recent successful observation for this process
    - `connections` AgentNodeConnectionEntity[] — Proxy connections observed for this process
      - `mode` 'active' | 'standby' — How the Agent process uses this proxy connection
      - `status` 'available' | 'unavailable' — Whether this connection was observed recently and has not disconnected
      - `last_seen_at` string, date-time — Most recent successful observation for this connection

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `409` — Conflict
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests

---

[API](https://skmtc.net/files/apis/files-com-api.md) · [All operations](https://skmtc.net/files/apis/files-com-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/files/files-com-api/revisions/c6d6f57e6da8/schema)
