> ## 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.

# Game Files

> Parquet files for the game with download links valid for 15 minutes. `ticks` is the tick-level per-player table
(~30-50 MB a map), `events` every game event, `grenades` every projectile path. Costs 10 units.



## OpenAPI

````yaml /openapi.json get /v1/games/{game}/files
openapi: 3.1.0
info:
  title: Granuleux
  description: >-
    Pro CS2 match data: matches, rounds, kills, per-hit damage, grenades, bomb
    events, sub-second player state and tick-level parquet downloads. Guides:
    see the docs site.
  version: 1.0.0
servers:
  - url: https://api.granuleux.com
security:
  - bearerAuth: []
paths:
  /v1/games/{game}/files:
    get:
      tags:
        - state
      summary: Game Files
      description: >-
        Parquet files for the game with download links valid for 15 minutes.
        `ticks` is the tick-level per-player table

        (~30-50 MB a map), `events` every game event, `grenades` every
        projectile path. Costs 10 units.
      operationId: game_files_v1_games__game__files_get
      parameters:
        - name: game
          in: path
          required: true
          schema:
            type: string
            title: Game
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Many_FileLink_'
        '400':
          description: Bad or unknown parameter
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '401':
          description: Missing or invalid key
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '404':
          description: Not found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Rate limit or daily quota reached; see Retry-After
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    Many_FileLink_:
      properties:
        data:
          items:
            $ref: '#/components/schemas/FileLink'
          type: array
          title: Data
        meta:
          $ref: '#/components/schemas/Meta'
      type: object
      required:
        - data
        - meta
      title: Many[FileLink]
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          example: about:blank
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          anyOf:
            - type: string
            - type: 'null'
    FileLink:
      properties:
        kind:
          type: string
          title: Kind
        part:
          anyOf:
            - type: integer
            - type: 'null'
          title: Part
        bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Bytes
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        url:
          type: string
          title: Url
        expires_at:
          type: string
          title: Expires At
      type: object
      required:
        - kind
        - url
        - expires_at
      title: FileLink
    Meta:
      properties:
        data_version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Data Version
      type: object
      title: Meta
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key: `Authorization: Bearer <key>`'

````

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