---
title: "Lists broken metadata"
method: POST
path: "/ops/list-broken-metadata"
tags: ["operations"]
---

# Lists broken metadata

`POST /ops/list-broken-metadata`

Broken metadata is defined as metadata that has isUploaded = true but there is no file in the storage matching it. This is an admin operation that requires the Hasura admin secret.

## Response `200`

Successfully computed broken metadata

- object
  - `metadata` FileSummary[]
    - `id` string, required — Unique identifier for the file.
    - `name` string, required — Name of the file including extension.
    - `bucketId` string, required — ID of the bucket containing the file.
    - `isUploaded` boolean, required — Whether the file has been successfully uploaded.

## Other responses

- `default` — En error occured

---

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