---
title: "List daemon field values"
method: GET
path: "/api/v1/daemons/field-values/{field}"
tags: ["Daemons", "internal"]
---

# List daemon field values

`GET /api/v1/daemons/field-values/{field}`

## Request

- Base URL: `https://app.scanopy.net`
- URL: `https://app.scanopy.net/api/v1/daemons/field-values/{field}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `session_id`

Every distinct value of one Daemon field across the Daemons the caller can list, with how many hold each. Takes the list's filters; ignores pagination, search and ordering.

## Path parameters

- `field` 'created_at' | 'name' | 'last_seen' | 'updated_at' | 'site_id' | 'os' | 'mode' | 'maintainer' | 'version' | 'status', required: Fields that daemons can be ordered/grouped by.

## Query parameters

- `site_ids` string[], nullable
- `statuses` DaemonHealth[], nullable
- `os` DaemonOs[], nullable
- `modes` DaemonMode[], nullable
- `maintainer_ids` string[], nullable
- `versions` string[], nullable
- `interfaced_subnet_ids` string[], nullable
- `tag_ids` string[], nullable
- `tag_sets` string[], nullable
- `search` string, nullable
- `group_by` 'created_at' | 'name' | 'last_seen' | 'updated_at' | 'site_id' | 'os' | 'mode' | 'maintainer' | 'version' | 'status': Fields that daemons can be ordered/grouped by.
- `order_by` 'created_at' | 'name' | 'last_seen' | 'updated_at' | 'site_id' | 'os' | 'mode' | 'maintainer' | 'version' | 'status': Fields that daemons can be ordered/grouped by.
- `group_by_tag_group` string, uuid, nullable
- `order_by_tag_group` string, uuid, nullable
- `order_direction` 'asc' | 'desc': Direction for ORDER BY clauses.
- `limit` integer, nullable
- `offset` integer, nullable

## Response `200`

Distinct values and their Daemon counts

- ApiResponseVecGroupCount: Envelope for a successful response. Failures are sent with a non-2xx status and an `ApiErrorResponse` body instead.
  - `data` object[]: The result payload. Omitted on failure.
    - `count` integer, required: How many rows fall in this group in total, not just on this page.
    - `value` string, nullable: The group's value, rendered as text. `null` for rows whose group key is NULL (the "ungrouped" bucket).
  - `error` string, nullable: Not sent on a successful response. Failure messages arrive in an `ApiErrorResponse`.
  - `meta` ApiMeta, required: API metadata included in all responses
    - `api_version` integer, required: API version (integer, increments on breaking changes)
    - `server_version` string, required: Server version (semver)
  - `success` boolean, required: Always `true` on a successful response.

## Other responses

- `400`: Unknown field

## Changes

- **2026-10-26** `c9d9d46d1ae8`: 1 info
  - api tag `internal` added
- **2026-10-23** `c9f50be8bc26`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/scanopy/apis/scanopy-api/changes/api/v1/daemons/field-values/:field/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.dev/scanopy/apis/scanopy-api/revisions/966ba786bdb5?raw)
