[Source](https://decktuner.app/developer/api/benchmarks/get-benchmarked-recommendations-and-settings-snapshots)

# Get benchmarked recommendations and settings snapshots

Returns canonical benchmark settings and measured performance per device and FPS target, including completed below-target results. Apply is offered for achieved targets with captured settings snapshots.

```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}/recommendations": {
      "get": {
        "operationId": "get-games-{steam_id}-recommendations",
        "summary": "Get benchmarked recommendations and settings snapshots",
        "description": "Returns canonical benchmark settings and measured performance per device and FPS target, including completed below-target results. Apply is offered for achieved targets with captured settings snapshots.",
        "tags": [
          "Benchmarks"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "device",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Filter to a device ID"
            },
            "description": "Filter to a device ID",
            "example": "steam-deck-oled"
          },
          {
            "in": "path",
            "name": "steam_id",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[1-9]\\d*$"
            },
            "example": "123"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RecommendationsResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "RecommendationsResponse": {
        "type": "object",
        "properties": {
          "steam_id": {
            "type": "string"
          },
          "recommendations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecommendationSchema"
            }
          }
        },
        "required": [
          "steam_id",
          "recommendations"
        ]
      },
      "RecommendationSchema": {
        "type": "object",
        "properties": {
          "recording_id": {
            "type": [
              "integer",
              "null"
            ]
          },
          "run_id": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "device_name": {
            "type": "string"
          },
          "official": {
            "type": "boolean"
          },
          "game_build": {
            "type": "string"
          },
          "proton_version": {
            "type": "string"
          },
          "target_fps": {
            "type": "integer"
          },
          "target_achieved": {
            "type": "boolean"
          },
          "preset": {
            "type": [
              "string",
              "null"
            ]
          },
          "avg_fps": {
            "type": [
              "number",
              "null"
            ]
          },
          "one_percent_low": {
            "type": [
              "number",
              "null"
            ]
          },
          "settings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TestedSettingSchema"
            }
          },
          "apply": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "url": {
                "type": "string"
              },
              "sha256": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "url",
              "sha256"
            ]
          }
        },
        "required": [
          "recording_id",
          "run_id",
          "device",
          "device_name",
          "official",
          "game_build",
          "proton_version",
          "target_fps",
          "target_achieved",
          "preset",
          "avg_fps",
          "one_percent_low",
          "settings",
          "apply"
        ]
      },
      "TestedSettingSchema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "minLength": 1
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "value": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "category",
          "name",
          "value"
        ],
        "additionalProperties": false
      }
    }
  }
}
```
