---
title: "Seed Fare History Endpoint"
method: POST
path: "/api/admin/ops/seed-fare-history"
tags: ["admin-ops"]
---

# Seed Fare History Endpoint

`POST /api/admin/ops/seed-fare-history`

## Request

- Base URL: `https://api.pointifytravels.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pointifytravels.com/api/admin/ops/seed-fare-history`
- Auth: none declared

Populate ``fare_history`` with baseline rows so the mistake-fare
detector has enough history (>=5 observations per route) to fire.

Idempotent — re-running is safe; rows tagged ``source='seed_baseline_v1'``
are skipped via a ``NOT EXISTS`` guard.

## Query parameters

- `days` integer
- `route` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine.md) · [All operations](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/pointifytravels/apis/pointify-deal-engine/revisions/4350142a4216?raw)
