run_mlb_postmortem
Run Mlb Postmortem
Responses:
200: Successful Response (Success Response) Content-Type: application/json
Example Response:
{
"status": "Status",
"generated_at": "Generated At",
"date": "Date",
"game_id": "Game Id",
"entries": 1,
"field_lineups": 1,
"training_rows": 1,
"missing_sources": [
"string"
],
"results": {},
"history_validation": {},
"field": {},
"diagnostics": {},
"simulator_feed": {},
"warnings": [
"string"
]
}422: Validation Error Content-Type: application/json
Example Response:
{
"detail": [
{
"loc": [],
"msg": "Message",
"type": "Error Type",
"ctx": {}
}
]
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Slate date YYYY-MM-DD | |
| game_id | Yes | V12 slate/game handle, e.g. 129715. | |
| history_csv | Yes | Raw FanDuel contest-history CSV content. | |
| upload_csvs | No | ||
| sabersim_csv | No | Optional external lineup export for comparison. | |
| sync_supabase | No | Upsert simulator training rows to production store when configured. | |
| top_field_rank | No | ||
| history_filename | No | contest-history.csv |