Skip to main content
An event is the central organizing unit in PitPath Chrono. It ties together everything needed to run a timed competition session: the simulator being used, the cars that are allowed, the track layouts being driven, the rigs that will submit data, and the time window during which it runs. Every lap recorded in Chrono belongs to exactly one event.

Event fields

GET /api/v1/events/{id} — example response
The slug field is designed for human-friendly URLs. Instead of building a leaderboard link from the UUID, you can use the slug — for example /events/acme-autumn-r3/results — making your URLs bookmarkable and shareable. Slugs are unique within a license and limited to 25 characters.

Modes

The mode field describes the competition format. Chrono uses it to determine how laps are classified and which rules apply to the results.

HOTLAP

Single-driver time attack. Each participant drives alone and the best clean lap counts. No opponents on track.

PRACTICE

Open session for testing and setup. Laps are recorded but are not usually included in ranked results.

AI_RACE

The participant races against AI opponents generated by the simulator. Useful for solo competitions or structured challenges.

MULTIPLAYER_RACE

Full online race where all participants share the same session. Results are ranked by finishing position and lap data.

Track layouts

A track is a real-world or fictional circuit (for example, Circuit de Spa-Francorchamps). A track layout is a specific configuration of that track — the same physical venue can have multiple layouts such as a full circuit, a shorter national layout, or a rallycross infield. Each layout has its own length, corner count, and TrackType. Track layout types (TrackType): An event’s trackLayoutIds array lists the layouts active for that event. When multiple layouts are listed, each lap record specifies which layout it was driven on.
Track layout IDs, not track IDs, are what you reference when creating laps and filtering results. A lap is always tied to the specific layout, not the parent track, so that length and corner data are unambiguous.

Simulators and cars

Each event is linked to exactly one simulator (for example, Assetto Corsa Competizione, iRacing, or rFactor 2) via simulatorId. The simulator determines which cars are available in its catalog. Cars are listed in carIds. A car carries a modelName, a brand (CarBrand), and a class (CarClass). You can use carIds to filter results down to a specific class or marque when building leaderboards. There is no restriction on mixing classes within a single event — that is a policy decision left to your application.