[Source](https://decktuner.app/developer/api/games/get-extracted-settings-for-a-game)

# Get extracted settings for a game

Returns extracted menu settings from the latest successful test per device. Use `?device=` to narrow.

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "DeckTuner API",
    "version": "1.0.0",
    "description": "Public, read-only API for extracted game settings, benchmark recommendations and workspace files. No authentication required. Honor response Cache-Control headers; see /developer/api/usage for terms and caching."
  },
  "servers": [
    {
      "url": "https://api.decktuner.app/v1",
      "description": "Production"
    }
  ],
  "paths": {
    "/games/{steam_id}/settings": {
      "get": {
        "operationId": "get-games-{steam_id}-settings",
        "summary": "Get extracted settings for a game",
        "description": "Returns extracted menu settings from the latest successful test per device. Use `?device=` to narrow.",
        "tags": [
          "Games"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "device",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter to a single device ID (e.g. \"amd-bc-250\")"
            },
            "description": "Filter to a single device ID (e.g. \"amd-bc-250\")",
            "example": "amd-bc-250"
          },
          {
            "in": "path",
            "name": "steam_id",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Steam app ID"
            },
            "description": "Steam app ID",
            "example": "214490"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SettingsResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "SettingsResponse": {
        "type": "object",
        "properties": {
          "steam_id": {
            "type": "string"
          },
          "devices": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DeviceSettings"
            }
          }
        },
        "required": [
          "steam_id",
          "devices"
        ]
      },
      "DeviceSettings": {
        "type": "object",
        "properties": {
          "device": {
            "type": "string"
          },
          "run_id": {
            "type": "string"
          },
          "tested_at": {
            "type": "string"
          },
          "game_build": {
            "type": "string"
          },
          "proton_version": {
            "type": "string"
          },
          "steamos_version": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "menu_item_count": {
            "type": "integer"
          },
          "feature_count": {
            "type": "integer"
          },
          "settings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Setting"
            }
          }
        },
        "required": [
          "device",
          "run_id",
          "tested_at",
          "game_build",
          "proton_version",
          "steamos_version",
          "type",
          "menu_item_count",
          "feature_count",
          "settings"
        ]
      },
      "Setting": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "string"
          },
          "raw_ocr": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "feature_key": {
            "type": "string",
            "description": "Cross-game key of the tracked setting this maps to, or empty when untracked"
          },
          "feature_label": {
            "type": "string",
            "description": "Short human label for `feature_key`, or empty when untracked"
          },
          "screenshot_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "highlight": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "x": {
                "type": "integer"
              },
              "y": {
                "type": "integer"
              },
              "w": {
                "type": "integer"
              },
              "h": {
                "type": "integer"
              }
            },
            "required": [
              "x",
              "y",
              "w",
              "h"
            ],
            "description": "Bounding box within `screenshot_url` highlighting this setting"
          }
        },
        "required": [
          "category",
          "name",
          "value",
          "raw_ocr",
          "display_order",
          "feature_key",
          "feature_label",
          "screenshot_url",
          "highlight"
        ]
      }
    }
  }
}
```
