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

# get

# OpenAPI definition

```json
{
  "info": {
    "title": "session basic",
    "version": "1.0",
    "contact": {
      "name": "Beamable Support",
      "url": "https://api.beamable.com",
      "email": "support@beamable.com"
    }
  },
  "servers": [
    {
      "url": "https://api.beamable.com"
    }
  ],
  "paths": {
    "/basic/session/history": {
      "get": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionHistoryResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          }
        },
        "parameters": [
          {
            "name": "dbid",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "required": true
          },
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "required": false
          },
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "integer"
            },
            "required": false
          }
        ],
        "security": [
          {
            "scope": [],
            "user": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Era": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "value": {
            "type": "integer"
          }
        },
        "required": [
          "value"
        ]
      },
      "SessionHistoryResponse": {
        "properties": {
          "payments": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "totalPaid": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentTotal"
            }
          },
          "sessions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "date": {
            "$ref": "#/components/schemas/LocalDate"
          },
          "installDate": {
            "type": "string"
          },
          "daysPlayed": {
            "type": "integer"
          }
        },
        "additionalProperties": false,
        "title": "Session History Response",
        "type": "object",
        "required": [
          "daysPlayed"
        ]
      },
      "LocalDate": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "dayOfYear": {
            "type": "integer"
          },
          "leapYear": {
            "type": "boolean"
          },
          "chronology": {
            "$ref": "#/components/schemas/IsoChronology"
          },
          "dayOfWeek": {
            "type": "string",
            "enum": [
              "SATURDAY",
              "MONDAY",
              "THURSDAY",
              "TUESDAY",
              "FRIDAY",
              "WEDNESDAY",
              "SUNDAY"
            ]
          },
          "monthValue": {
            "type": "integer"
          },
          "dayOfMonth": {
            "type": "integer"
          },
          "year": {
            "type": "integer"
          },
          "era": {
            "$ref": "#/components/schemas/Era"
          },
          "month": {
            "type": "string",
            "enum": [
              "DECEMBER",
              "APRIL",
              "JULY",
              "SEPTEMBER",
              "JUNE",
              "FEBRUARY",
              "OCTOBER",
              "AUGUST",
              "NOVEMBER",
              "MARCH",
              "MAY",
              "JANUARY"
            ]
          }
        },
        "required": [
          "year",
          "dayOfYear",
          "leapYear",
          "dayOfMonth",
          "monthValue"
        ]
      },
      "IsoChronology": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "calendarType": {
            "type": "string"
          },
          "id": {
            "type": "string"
          }
        }
      },
      "PaymentTotal": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currencyCode": {
            "type": "string"
          },
          "totalRevenue": {
            "type": "integer"
          }
        },
        "required": [
          "totalRevenue"
        ]
      }
    },
    "securitySchemes": {
      "scope": {
        "type": "apiKey",
        "name": "X-DE-SCOPE",
        "in": "header",
        "description": "Customer and project scope. This should contain the '<customer-id>.<project-id>'."
      },
      "user": {
        "type": "http",
        "description": "Bearer authentication with an player access token in the Authorization header.",
        "scheme": "bearer",
        "bearerFormat": "Bearer <Access Token>"
      }
    }
  },
  "security": [],
  "externalDocs": {
    "description": "Beamable Documentation",
    "url": "https://docs.beamable.com"
  },
  "openapi": "3.0.2",
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```