---
title: "Get all daemons"
method: GET
path: "/api/v1/daemons"
tags: ["Daemons"]
---

# Get all daemons

`GET /api/v1/daemons`

Returns all daemons accessible to the user.
Supports pagination via `limit` and `offset` query parameters,
and ordering via `group_by`, `order_by`, and `order_direction`.

## Query parameters

- `network_id` string, uuid, nullable
- `group_by` 'created_at' | 'name' | 'last_seen' | 'updated_at' | 'network_id' — Fields that daemons can be ordered/grouped by.
- `order_by` 'created_at' | 'name' | 'last_seen' | 'updated_at' | 'network_id' — Fields that daemons can be ordered/grouped by.
- `order_direction` 'asc' | 'desc' — Direction for ORDER BY clauses.
- `limit` integer, nullable
- `offset` integer, nullable

## Response `200`

List of daemons

- PaginatedApiResponseDaemonResponse — Response type for paginated list endpoints (pagination is always present in meta)
  - `data` object[], required
    - `api_key_id` string, uuid, nullable — Foreign key to API key used for ServerPoll authentication. NULL for DaemonPoll daemons or those not yet linked to a key.
    - `capabilities` DaemonCapabilities, required — Daemon capabilities
      - `has_docker_socket` boolean
      - `interfaced_subnet_ids` string[], required
    - `host_id` string, uuid, required
    - `is_unreachable` boolean — Whether the daemon is unreachable (for ServerPoll circuit breaker). Set to true after repeated polling failures, reset via retry-connection endpoint.
    - `last_seen` string, date-time, nullable — Timestamp of last successful contact with daemon. NULL for provisioned ServerPoll daemons that haven't been contacted yet.
    - `mode` 'server_poll' | 'daemon_poll', required — Daemon operating mode that determines the communication pattern. - **DaemonPoll** (formerly "Pull"): Daemon makes outbound connections to the server. The daemon registers itself and polls for work. Best for daemons behind NAT/firewall. - **ServerPoll** (formerly "Push"): Server makes connections to the daemon. Server polls daemon for status and discovery results. Best for DMZ deployments where daemon cannot make outbound connections.
    - `name` string, required
    - `network_id` string, uuid, required
    - `standby` boolean — Whether the daemon is on standby due to inactivity (no discovery in 30 days).
    - `standby_cleared_at` string, date-time, nullable — Timestamp of the most recent standby → active transition. Set by `process_startup` when a restarted daemon is un-standby'd, and by the discovery auto-wake path. The nightly inactivity check skips daemons within the grace window (see `STANDBY_GRACE_PERIOD_DAYS`) to prevent the "restart → cleared → re-standby'd before discovery runs" race.
    - `tags` string[], required
    - `url` string, required
    - `user_id` string, uuid, required — User responsible for maintaining this daemon
    - `version` string, nullable — Daemon software version (semver format)
    - `created_at` string, date-time, required
    - `id` string, uuid, required
    - `updated_at` string, date-time, required
    - `version_status` DaemonVersionStatus, required — Daemon version status including health and any warnings
      - `has_correct_docker_volume_mount` boolean
      - `status` 'Current' | 'Outdated' | 'Deprecated', required — Health status for daemon versions
      - `supports_unified_discovery` boolean
      - `version` string, nullable
      - `warnings` DeprecationWarning[]
        - `message` string, required
        - `severity` 'Info' | 'Warning' | 'Critical', required — Severity level for deprecation warnings
        - `sunset_date` string, nullable
  - `error` string, nullable
  - `meta` PaginatedApiMeta, required — API metadata for paginated list responses (pagination is always present)
    - `api_version` integer, required — API version (integer, increments on breaking changes)
    - `pagination` PaginationMeta, required — Pagination metadata returned with paginated responses.
      - `has_more` boolean, required — Whether there are more items after this page
      - `limit` integer, required — Maximum items per page (as requested)
      - `offset` integer, required — Number of items skipped
      - `total_count` integer, required — Total number of items matching the filter (ignoring pagination)
    - `server_version` string, required — Server version (semver)
  - `success` boolean, required

## Changes

- **2026-04-20** `f04499e2280f` — 1 breaking, 2 info
  - removed the required property `data/items/allOf[subschema #2]/interfaced_subnet_ids` from the response with the `200` status
  - removed the `Unknown` enum value from the `data/items/allOf[subschema #2]/version_status/warnings/items/severity` response property for the response status `200`
  - added the required property `data/items/allOf[#/components/schemas/DaemonBase]/capabilities` to the response with the `200` status

[Change history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/daemons/get.md)

---

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