---
title: "Get unknown flags"
method: GET
path: "/api/admin/metrics/unknown-flags"
tags: ["Unknown Flags"]
---

# Get unknown flags

`GET /api/admin/metrics/unknown-flags`

Returns a list of unknown flag reports from the last 24 hours, if any. Maximum of 1000.

## Response `200`

unknownFlagsResponseSchema

- UnknownFlagsResponseSchema — A list of unknown flag reports
  - `unknownFlags` UnknownFlagSchema[], required — The list of recently reported unknown flags.
    - `name` string, required — The name of the unknown flag.
    - `lastSeenAt` string, date-time, required — The date and time when the unknown flag was last reported.
    - `lastEventAt` string, date-time, nullable — The date and time when the last event for the unknown flag name occurred, if any.
    - `reports` object[] — The list of reports for this unknown flag.
      - `appName` string, required — The name of the application that reported the unknown flag.
      - `environments` object[], required — The list of environments where this application reported the unknown flag.
        - `environment` string, required — The environment in which the unknown flag was reported.
        - `seenAt` string, date-time, required — The date and time when the unknown flag was last seen in this environment.

---

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