---
title: "Calls SPIRE server `spire-server agent list` command"
method: GET
path: "/api/v1/spire/agents"
---

# Calls SPIRE server `spire-server agent list` command

`GET /api/v1/spire/agents`

Display attested nodes

## Response `200`

OK

- object
  - `agents` Agent[]
    - `id` SpiffeId
      - `path` string
      - `trust_domain` string
    - `attestation_type` string
    - `x509svid_serial_number` integer
    - `x509svid_expires_at` integer
    - `selectors` Selector[]
      - `type` string
      - `value` string

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/spiffe/apis/tornjak.md) · [All operations](https://skmtc.net/spiffe/apis/tornjak/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spiffe/tornjak/versions/5d58d68f79cd/schema)
