Skip to content

CLI API

Auto-generated API documentation for CLI commands.

cli

PitLane AI CLI - Workspace-based interface for F1 data analysis.

Usage

pitlane --help pitlane workspace create --workspace-id my-analysis pitlane fetch session-info --workspace-id my-analysis --year 2024 --gp Monaco --session R pitlane analyze lap-times --workspace-id my-analysis --year 2024 --gp Monaco --session Q --drivers VER --drivers HAM

pitlane()

PitLane AI - F1 data analysis tools powered by FastF1 and Claude.

workspace()

Manage workspaces.

temporal_context(format, refresh, verbosity)

Show current F1 temporal context.

This command displays the current state of the F1 season including: - Current season year and phase (pre/in/post/off-season) - Active race weekend (if any) - Current or recent sessions - Next upcoming race - Last completed race