Documentation Index
Fetch the complete documentation index at: https://mintlify.com/TracingInsights/tif1/llms.txt
Use this file to discover all available pages before exploring further.
Function Signature
Description
Get the list of available session names for a specific event in a given season. This function returns the actual session structure for the event, which may vary based on the weekend format (conventional, sprint, etc.). The returned list is ordered as the sessions occur during the weekend.Parameters
Championship year. Must be 2018 or later.
Event name. Must be the full event name (e.g.,
"Monaco Grand Prix", "British Grand Prix").This should match the EventName from the event schedule. Partial names or abbreviations may not work reliably.Returns
Ordered list of session names available for the event. Common session names include:Conventional Weekend:
"Practice 1""Practice 2""Practice 3""Qualifying""Race"
"Practice 1""Qualifying""Sprint Shootout""Sprint""Race"
"Practice 1""Qualifying""Practice 2""Sprint""Race"
Examples
Get Sessions for a Conventional Weekend
Get Sessions for a Sprint Weekend
Iterate Through All Sessions
Check if Specific Session Exists
Get Sessions for All Events
Using Event Object Method
Dynamic Session Loading
Notes
- The event name must match exactly as it appears in the event schedule
- Session lists are cached internally for performance
- If event metadata is unavailable, returns a standard conventional weekend session list:
["Practice 1", "Practice 2", "Practice 3", "Qualifying", "Race"] - Sprint weekend formats changed between 2021-2022 and 2023+:
- 2021-2022: Sprint Qualifying was called “Sprint”
- 2023+: Separate “Sprint Shootout” and “Sprint” sessions
Error Handling
See Also
- get_session - Get a session object
- get_events - Get all events for a season
- Event.get_session_name() - Resolve session identifiers to full names