slate_refresh
Slate Refresh
Re-fetch projections + odds + slate metadata for a date.
Writes to the configured store (Supabase in prod). Returns a summary dict (date, slate_id, n_games, n_players, n_upserted, n_odds, backend).
Auth: requires X-API-Key OR X-Internal-Secret (cron use). This is a write op that costs one Stokastic + one ESPN API call.
Responses:
200: Successful Response (Success Response) Content-Type: application/json 422: Validation Error Content-Type: application/json
Example Response:
{
"detail": [
{
"loc": [],
"msg": "Message",
"type": "Error Type",
"ctx": {}
}
]
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| site | No | FD | |
| sport | No | NBA |