curl --location 'https://us-prod.notte.cc/functions/27c4b185-53c6-4887-954c-0ab2d07a51e1/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "27c4b185-53c6-4887-954c-0ab2d07a51e1",
"variables": {
"day_offset": 0,
"limit": null,
"timezone_offset": 0,
"time_budget_seconds": 25.0,
"chunk_timeout_seconds": 10.0,
"h2h_records_per_section": 5
}
}'
{
"date": "<string>",
"sport": "<string>",
"source": "<string>",
"matches": [
{
"h2h": [
"<any>"
],
"status": {
"code": 0,
"type": "<string>",
"detail": "<string>",
"detail_code": 0,
"source_code": 0
},
"match_id": "<string>",
"away_team": {},
"home_team": {},
"start_time": "<string>",
"competition": {
"id": "<string>",
"url": "<string>",
"name": "<string>",
"path": "<string>",
"category": {
"id": 0,
"name": "<string>"
},
"logo_url": "<string>",
"stage_id": "<string>",
"full_name": "<string>",
"logo_path": "<string>",
"tournament_id": "<string>"
},
"league_rank": 0,
"league_tier": "<string>",
"source_fields": {
"BGS": "<string>",
"HMC": 0
},
"start_timestamp": 0,
"expected_start_time": "<string>",
"expected_start_timestamp": 0
}
],
"sport_id": 0,
"day_offset": 0,
"total_fixtures": 0,
"timezone_offset": 0,
"backfill_matches": 0,
"enriched_matches": 0,
"returned_matches": 0,
"remaining_matches": 0,
"top_league_matches": 0,
"enrichment_performed": true
}