---
title: "Verify Enrichment"
method: GET
path: "/api/admin/verify-enrichment"
tags: ["admin"]
---

# Verify Enrichment

`GET /api/admin/verify-enrichment`

## Request

- Base URL: `https://www.awardflightdaily.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.awardflightdaily.com/api/admin/verify-enrichment`
- Auth: none declared

Verification endpoint: compare pipeline enrichment vs seats.aero Trips ground truth.

For each availability on a route:
1. Records the raw DB state (airlines, equipment, flight_numbers)
2. Calls the Trips API to get the ACTUAL segments (ground truth)
3. Runs our enrichment pipeline
4. Compares enriched output vs ground truth
5. Flags mismatches with detailed diff

Returns a per-availability verdict (MATCH / MISMATCH / NO_TRIPS_DATA / SKIPPED)
and an overall accuracy score.

Use ?origin=JFK&destination=IST&cabin=J&limit=15&max_trips_calls=5

## Query parameters

- `origin` string
- `destination` string
- `cabin` string
- `limit` integer
- `max_trips_calls` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/awardflightdaily/apis/award-flight-database.md) · [All operations](https://skmtc.dev/awardflightdaily/apis/award-flight-database/llms.txt) · [OpenAPI document](https://skmtc.dev/awardflightdaily/apis/award-flight-database/revisions/93e62de446f9?raw)
