Queries
These queries return public project capabilities and session-scoped player data.
Project availability
projectAvailable
Returns Boolean!: true when the project is available, or false when it is suspended. No variables or player session are required. For false, show a temporary-unavailability notice and offer to check again later. A failed request does not indicate availability.
{
"documentId": "projectAvailable",
"variables": {}
}
{
"data": {
"projectAvailable": false
}
}
Current user
me
Description
Returns the authenticated user and the core fields required by the player cabinet.
Input
The operation does not accept variables.
Result
Response type - User.
| Field | Type | Description |
|---|---|---|
id | ID! | User ID |
email | String | |
balance | String! | Available main balance as an exact decimal string |
bonusBalance | String! | Available bonus balance as an exact decimal string |
paymentDebt | String! | Outstanding debt on the selected balance |
purchasesRestricted | Boolean! | Purchases and withdrawals from this balance are restricted pending repayment |
hasPin | Boolean! | Whether a PIN code is set |
shield | Int! | PIN shield state |
status | Int! | Account status |
emailConfirmed | Boolean! | Whether email is confirmed |
telegram | String | Telegram ID |
lang | String | Language |
createdAt | DateTime | Registration date |
lastLogin | DateTime | Last login |
lastIp | String | Last IP |
selectedServerId | Int | Selected server |
socialProfiles | [SocialProfile!]! | Linked social profiles |
twoFactorMethods | [String!]! | Enabled 2FA methods |
loyaltyProgress | LoyaltyProgress! | Calculated Loyalty progress and current level state |
Errors
UNAUTHENTICATED- the session is missing or expired.FORBIDDEN- the user is blocked or cannot access the requested account.
Exchange example
{
"documentId": "me",
"variables": {}
}
{
"data": {
"me": {
"id": "1001",
"balance": "120.5",
"bonusBalance": "15",
"paymentDebt": "0",
"purchasesRestricted": false,
"hasPin": true,
"shield": 1,
"emailConfirmed": true,
"selectedServerId": 1,
"loyaltyProgress": {
"active": true,
"programEnabled": true,
"progressMode": "rolling_window",
"progressState": "active",
"currentProgress": "4000",
"pendingProgress": "0",
"lifetimeProgress": "4000",
"currentLevelId": "level-2",
"nextLevelId": "level-3",
"cycle": {
"id": "cycle-2026-08",
"startsAt": "2026-08-01T00:00:00+00:00",
"endsAt": "2026-09-01T00:00:00+00:00",
"frozenUntil": null
},
"forecast": {
"projectedProgress": "4000",
"projectedLevelId": "level-2",
"requiredToRetain": "0",
"downgradeAt": null,
"frozenUntil": null,
"expiringContributions": []
}
}
}
}
}
Related types
LoyaltyProgress
| Field | Type | Description |
|---|---|---|
active | Boolean! | Whether a current level and its benefits are active |
programEnabled | Boolean! | Whether the program is enabled for the project |
progressMode | LoyaltyProgressMode! | lifetime, personal_cycle, calendar_month, rolling_window, or season |
progressState | LoyaltyProgressState! | inactive, active, frozen, or grace |
currentProgress | String! | Confirmed progress in the current calculation period |
pendingProgress | String! | Progress waiting for confirmation |
lifetimeProgress | String! | Progress accumulated without a period boundary |
currentLevelId | ID | Current level |
nextLevelId | ID | Next level |
cycle | LoyaltyProgressCycle | Current cycle boundaries and freeze period |
forecast | LoyaltyProgressForecast! | Projection after contributions leave the calculation window |
LoyaltyProgressCycle contains id, startsAt, endsAt, and frozenUntil. LoyaltyProgressForecast contains projectedProgress, projectedLevelId, requiredToRetain, downgradeAt, frozenUntil, and expiringContributions. All amounts are strings so monetary and progress precision is preserved.
Active sessions
sessions
Description
Returns active sessions for display and account security management.
Input
The operation does not accept variables.
Result
Response type - [Session!]!.
Errors
UNAUTHENTICATED- the user is not authenticated.
Exchange example
{
"documentId": "sessions",
"variables": {}
}
{
"data": {
"sessions": [
{
"id": "019bef0c-2d38-7c98-a11d-d2d7ccf7e7cb",
"isCurrent": true,
"expiresAt": "2026-07-13T22:00:00Z"
}
]
}
}
Related types
Project settings
projectSettings
Description
Returns public project settings required by a client installation, including languages, registration and enabled sign-in methods.
Input
The operation does not accept variables.
Result
Response type - ProjectSettings.
Errors
PROJECT_NOT_FOUND- the project context does not resolve to an active project.VALIDATION- the project context header is invalid.
Exchange example
{
"documentId": "projectSettings",
"variables": {}
}
{
"data": {
"projectSettings": {
"registrationEnabled": true,
"defaultLang": "ru",
"socialProviders": [
"google",
"telegram"
]
}
}
}
Related types
Server list
servers
Description
Returns game servers available for the current project.
Input
The operation does not accept variables.
Result
Response type - [GameServer!]!.
Errors
PROJECT_NOT_FOUND- the project was not found.
Exchange example
{
"documentId": "servers",
"variables": {}
}
{
"data": {
"servers": [
{
"id": 1,
"name": "Main",
"healthStatus": "AVAILABLE"
}
]
}
}
Related types
Linked accounts
accountLinks
Description
Returns confirmed, pending, and revoked links for the current account. The adjacent accountLinkQuota field contains the current allowance; see Linked accounts for the complete contract and mutations.
Input
The operation does not accept variables.
Result
Response type - [AccountLink!]!. The operation also requests AccountLinkQuota.
Errors
UNAUTHENTICATED- the user is not authenticated.
Exchange example
{
"documentId": "accountLinks",
"variables": {}
}
{
"data": {
"accountLinks": [
{
"id": "17",
"targetId": "2002",
"status": "CONFIRMED",
"createdAt": "2026-07-23T10:30:00+00:00",
"confirmationExpiresAt": null
}
],
"accountLinkQuota": {
"isUnlimited": false,
"baseLimit": 5,
"effectiveLimit": 9,
"used": 3,
"remaining": 6,
"pendingUsed": 1,
"pendingLimit": 10,
"canCreate": true
}
}
}
Related types
Social profiles
socialProviders
Description
Returns social providers available for login and account binding.
Input
The operation does not accept variables.
Result
Response type - [String!]!.
Errors
PROJECT_NOT_FOUND- project was not found.
Exchange example
{
"documentId": "socialProviders",
"variables": {}
}
{
"data": {
"socialProviders": [
"google",
"discord"
]
}
}
Related types
Linked social profiles
socialProfiles
Description
Returns social profiles linked to the current user.
Input
The operation does not accept variables.
Result
Response type - [SocialProfile!]!.
Errors
UNAUTHENTICATED- the user is not authenticated.
Exchange example
{
"documentId": "socialProfiles",
"variables": {}
}
{
"data": {
"socialProfiles": [
{
"provider": "google",
"providerUserId": "123"
}
]
}
}