List pending metadata-extraction failures
GET /admin/metadata-extraction/failures
Returns paginated pending (not-yet-dismissed) rows from
extraction_failure. Filterable by error_kind + format.
Gated on system.admin.
Pending count for the admin nav badge is returned alongside the page so the UI can render the badge from one round-trip.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Filter by failure kind (unsupported_format / malformed_file / library_panic / validation). Omit for all kinds.
Filter by source MIME type (e.g. image/jpeg).
Responses
Section titled “ Responses ”Pending failure rows + the total pending count.
object
One row in the metadata extraction_failure queue (Phase 1.18.A-2). Represents a single per-asset failure the operator should review — unsupported MIME, malformed file, validator-rejected field value, or a recovered library panic. Dismissal is soft so the row stays for audit.
object
Source MIME type at the time the failure occurred.
One of: unsupported_format, malformed_file,
library_panic, validation.
CanonicalField for validation failures (empty for
whole-file errors). Example: camera_model.
Operator-displayable raw value the extractor produced, JSONB. Empty / null for whole-file failures.
NULL while pending; set by the dismiss endpoint.
Total pending (not-yet-dismissed) failure rows ignoring limit/offset but obeying the error_kind + format filters. Powers the admin nav badge.
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completed