---
title: "Get Daemon API Key by ID"
method: GET
path: "/api/v1/auth/daemon/{id}"
tags: ["Daemon API Keys"]
---

# Get Daemon API Key by ID

`GET /api/v1/auth/daemon/{id}`

## Path parameters

- `id` string, uuid, required

## Response `200`

Daemon API Key found

- ApiResponseDaemonApiKey
  - `data` object — The result payload. Omitted on failure.
    - `daemon_id` string, uuid, nullable — Daemon this key is bound to 1:1, when provisioned server-side. NULL for legacy network-shared keys created before 1:1 provisioning, which resolve daemon identity from the X-Daemon-ID header instead.
    - `expires_at` string, date-time, nullable — When this record stops being valid.
    - `is_enabled` boolean — Whether the key may still be used. Disabled keys are rejected.
    - `key` string, required — The stored key. Returned redacted except on creation and rotation.
    - `last_used` string, date-time, nullable, required — When a daemon last authenticated with this key.
    - `name` string, required — Human-facing name for this key.
    - `network_id` string, uuid, required — The network this entity belongs to.
    - `tags` string[], required — Tags assigned to this entity.
    - `created_at` string, date-time, required — When this record was first created.
    - `id` string, uuid, required — Server-assigned unique identifier.
    - `updated_at` string, date-time, required — When this record was last modified.
  - `error` string, nullable — Human-readable failure message. Omitted on success.
  - `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 — `true` when the request succeeded. `false` responses carry `error` instead of `data`.

## Other responses

- `404` — Daemon API Key not found

---

[API](https://skmtc.net/scanopy/apis/scanopy-api.md) · [All operations](https://skmtc.net/scanopy/apis/scanopy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scanopy/scanopy-api/versions/28e466341947/schema)
