> ## Documentation Index
> Fetch the complete documentation index at: https://cs2-data-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Coverage and caveats

> What each game has, how games are validated, and known data quirks.

## What each game has

`GET /v1/games/{game}` (and each game in `GET /v1/matches/{match_id}`) carries flags. Check them before you request
a dataset:

| Flag | Means | Endpoints that need it |
| - | - | - |
| (always) | Rounds and kills from the play-by-play | `/rounds`, `/kills` (basic fields) |
| `has_state` | Player state, roster with Steam IDs, per-player round economy | `/states`, `/players`, `/rounds/{round_no}/players` |
| `has_events` | Event positions, per-hit damage, grenades, bomb events with players | `/damage`, `/grenades`, full `/bomb`, kill victim positions |
| `has_ticks` | Tick-level parquet files | `ticks`, `events`, `grenades` in `/files` |
| `has_kill_detail` | Assister, flash assist, through smoke, no-scope, blind, in air, wallbang, distance, attacker position | Those `/kills` fields |

Where a dataset is missing, the related fields are `null` (not zero) or the endpoint returns `404`. `null` always
means unknown or not recorded; `0` is a real zero.

`GET /v1/health` gives the current totals. For a training set, select games with the flags you need, for example
`has_state and has_kill_detail and valid`.

## Validation

Every game is checked when the data is built. Failed checks are listed in the game's `issues`, and `valid` is `true`
when there are none other than `teams_unresolved`. In the November 2026 build, over 99% of games were valid.

| Issue | Meaning |
| - | - |
| `incomplete` | The data does not cover the whole map (forfeit, cut recording). Excluded from player and team stats unless `include_incomplete=true` |
| `rounds_not_contiguous` | A gap in the round numbers |
| `round_without_winner` | A round has no winner |
| `round_wins_not_score` | Round winners do not add up to the final score |
| `not_5_per_side` | Some round does not have exactly 5 players per side |
| `kill_player_unresolved` | A kill's victim could not be matched to a player |
| `player_team_unresolved` | A player could not be assigned to a team |
| `team_name_corrupt` | A team name was lost upstream (stored with an invalid character); the name is `null` |
| `teams_unresolved` | HLTV team ids not filled yet (see [IDs](https://cs2-data-api.mintlify.site/concepts/ids.md)). Does not affect `valid` |

A recording that starts late misses round 1 (or more): the game's `missing_rounds` lists them, and `/rounds` returns
the rounds that exist.

## Known quirks

* **Attacker Steam IDs are snapped to the roster.** Upstream, attacker ids in the raw event data lose precision (they
  are rounded to a multiple of 16). The API matches each to the nearest Steam ID in the game roster (within 16). If you read the `state_ev` parquet file yourself, do the same.
* **Kill attackers come from names.** Kill attacker and victim ids are matched from in-game names to the roster. Where
  a game has no player state there is no roster, so those ids are `null` while the names are filled.
* **Coaches are dropped** from rosters, player stats and round player lines (they occupy a team slot but are never
  alive). They can still appear in raw `/states` rows and the parquet files with `alive: false` all round.
* **Bomb site names.** `bomb_site` and the bomb `site` are `A` or `B`, taken from the planter's map callout; on very
  rare plants the callout is another place name (seen: `Water`, `Hut`).
* **Round reasons.** A handful of rounds have `reason` `0` (unknown); `winner_side` is still set.
* **Assists.** Assists and KAST counts that use them are only known where the game has kill detail; elsewhere
  `assists` is `null` and KAST counts kills, survival and trades only.
* **Damage start hp.** `dmg_health` assumes every player starts the round at 100 hp, which is how competitive CS2
  works.
* **Display vs engine names.** Weapons in `/states` are display names (`AK-47`); in kills and damage, engine names
  (`ak47`).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.