---
updatedAt: 2025-11-11T02:12:25.000Z
agentTools:
  projectIndex: https://beamable2.readme.io/llms.txt
---

# get

# OpenAPI definition

```json
{
  "info": {
    "title": "leaderboards object",
    "version": "1.0",
    "contact": {
      "name": "Beamable Support",
      "url": "https://api.beamable.com",
      "email": "support@beamable.com"
    }
  },
  "servers": [
    {
      "url": "https://api.beamable.com"
    }
  ],
  "paths": {
    "/object/leaderboards/{objectId}/matches": {
      "get": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MatchMakingMatchesPvpResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          }
        },
        "parameters": [
          {
            "name": "poolSize",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "required": true
          },
          {
            "name": "windows",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "required": true
          },
          {
            "name": "windowSize",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "required": true
          },
          {
            "name": "objectId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "security": [
          {
            "scope": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "MatchMakingRanking": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "gt": {
            "type": "integer"
          },
          "rank": {
            "type": "integer"
          },
          "isUnranked": {
            "type": "boolean"
          },
          "variables": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "required": [
          "gt",
          "rank",
          "isUnranked"
        ]
      },
      "MatchMakingMatchesPvpResponse": {
        "properties": {
          "result": {
            "type": "string"
          },
          "totalEntries": {
            "type": "integer"
          },
          "playerRank": {
            "$ref": "#/components/schemas/MatchMakingRanking"
          },
          "windows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MatchMakingWindowResp"
            }
          }
        },
        "additionalProperties": false,
        "title": "Match Making Matches Pvp Response",
        "type": "object",
        "required": [
          "totalEntries"
        ]
      },
      "MatchMakingWindowResp": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "difficulty": {
            "type": "integer"
          },
          "matches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MatchMakingRanking"
            }
          }
        },
        "required": [
          "difficulty"
        ]
      }
    },
    "securitySchemes": {
      "scope": {
        "type": "apiKey",
        "name": "X-DE-SCOPE",
        "in": "header",
        "description": "Customer and project scope. This should contain the '<customer-id>.<project-id>'."
      }
    }
  },
  "security": [],
  "externalDocs": {
    "description": "Beamable Documentation",
    "url": "https://docs.beamable.com"
  },
  "openapi": "3.0.2",
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```