---
title: "Test Enrichment Pipeline"
method: GET
path: "/api/admin/test-enrichment-pipeline"
tags: ["admin"]
---

# Test Enrichment Pipeline

`GET /api/admin/test-enrichment-pipeline`

## 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/test-enrichment-pipeline`
- Auth: none declared

Diagnostic endpoint: run full equipment enrichment pipeline on a small dataset.

Shows every step of the pipeline:
1. Raw availability records from DB (with current equipment/airlines/flight_numbers)
2. FlightAPI cash segments with marketing vs operating carrier
3. Equipment cache state after cash enrichment
4. Seats.aero Trips API results per availability
5. Cross-program propagation results
6. Final enriched state of each flight

Returns a detailed trace of which flights got equipment from which source.

## Query parameters

- `origin` string
- `destination` string
- `cabin` string
- `limit` 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)
