> ## Documentation Index
> Fetch the complete documentation index at: https://docs.opengame.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Games

> Read and manage the games on your OpenGame account, with their metadata, covers, private previews and the settings kept outside a build.

A game is everything you deploy under one title: releases, website metadata, a cover, a private preview and settings. These routes read the games on your account and change the settings kept outside a build, such as achievements and the sites allowed to embed the game.

[Authentication](https://docs.opengame.io/api-reference/authentication.md) covers each credential, and [errors](https://docs.opengame.io/api-reference/errors.md) covers the JSON error body.

## List your games

`GET https://opengame.io/api/v1/games`

**Authentication:** A creator token or a signed-in browser session.

12 games a page, each with the latest deploy. Requires the `read` or `deploy` scope. A game-pinned token sees only the game.

### Parameters

#### Query

**cursor** `string (uuid)`

`nextCursor` from the previous page. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame games --json
```

### Response 200

A page of games.

```json theme={"system"}
{
  "apiVersion": "1",
  "games": [
    {
      "engine": {
        "id": "unity",
        "name": "Unity",
        "version": "6000.0.23f1",
        "evidence": "Build/TideRunner.loader.js names UnityLoader 6000.0.23f1",
        "also": [],
        "threaded": false
      },
      "build": {
        "compression": [
          "br"
        ],
        "wasmBytes": 18874368,
        "largestFile": {
          "path": "Build/TideRunner.data.br",
          "bytes": 41943040
        },
        "hashedFilenames": false
      },
      "id": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
      "publicId": "tq7m4x2k9p",
      "title": "Tide Runner",
      "visibility": "published",
      "latestOperation": {
        "engine": {
          "id": "unity",
          "name": "Unity",
          "version": "6000.0.23f1",
          "evidence": "Build/TideRunner.loader.js names UnityLoader 6000.0.23f1",
          "also": [],
          "threaded": false
        },
        "build": {
          "compression": [
            "br"
          ],
          "wasmBytes": 18874368,
          "largestFile": {
            "path": "Build/TideRunner.data.br",
            "bytes": 41943040
          },
          "hashedFilenames": false
        },
        "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
        "state": "ready",
        "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
        "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
        "error": null
      },
      "publication": {
        "state": "published",
        "releaseId": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
        "url": "https://opengame.io/g/tq7m4x2k9p",
        "listed": false
      },
      "status": {
        "key": "review",
        "label": "In review",
        "message": "This release is still in review. You do not need to do anything."
      }
    }
  ],
  "nextCursor": null
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_cursor`: use the `nextCursor` from the previous page. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential has neither the `read` nor the `deploy` scope. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `not_found`: this server does not serve the creator API. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: wait `retryAfterSeconds`, then retry. `platform_unconfigured`: a listed game is publishing or published, and a fault on OpenGame's side left it without an address. Try again later. |

## Read one of your games

`GET https://opengame.io/api/v1/games/{id}`

**Authentication:** A creator token or a signed-in browser session.

Returns one game you own, found by the UUID or the public ID, with the latest deploy and publication. Requires the `read` or `deploy` scope. With a browser session or the `read` or `submit` scope, `submission` is the newest standing review submission, or null when there is none or the game was removed. It is omitted for other tokens and when the submission could not be read. A game-pinned token can read only the game.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The game.

```json theme={"system"}
{
  "apiVersion": "1",
  "game": {
    "engine": {
      "id": "unity",
      "name": "Unity",
      "version": "6000.0.23f1",
      "evidence": "Build/TideRunner.loader.js names UnityLoader 6000.0.23f1",
      "also": [],
      "threaded": false
    },
    "build": {
      "compression": [
        "br"
      ],
      "wasmBytes": 18874368,
      "largestFile": {
        "path": "Build/TideRunner.data.br",
        "bytes": 41943040
      },
      "hashedFilenames": false
    },
    "id": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "publicId": "tq7m4x2k9p",
    "title": "Tide Runner",
    "visibility": "published",
    "latestOperation": {
      "engine": {
        "id": "unity",
        "name": "Unity",
        "version": "6000.0.23f1",
        "evidence": "Build/TideRunner.loader.js names UnityLoader 6000.0.23f1",
        "also": [],
        "threaded": false
      },
      "build": {
        "compression": [
          "br"
        ],
        "wasmBytes": 18874368,
        "largestFile": {
          "path": "Build/TideRunner.data.br",
          "bytes": 41943040
        },
        "hashedFilenames": false
      },
      "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
      "state": "ready",
      "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
      "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
      "error": null
    },
    "publication": {
      "state": "published",
      "releaseId": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
      "url": "https://opengame.io/g/tq7m4x2k9p",
      "listed": false
    },
    "status": {
      "key": "review",
      "label": "In review",
      "message": "This release is still in review. You do not need to do anything."
    },
    "submission": {
      "id": "6b0d3f9e-2a7c-4d18-9f4b-3e6a1c8d5b02",
      "ref": "SUB-1042",
      "state": "review",
      "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
      "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
      "gamePublicId": "tq7m4x2k9p",
      "submittedAt": "2026-10-21T14:40:12Z",
      "certifiedAt": "2026-10-21T14:41:05Z",
      "jam": {
        "slug": "global-ai-game-jam-2026",
        "name": "Game Jam #1",
        "entryId": "7a2f5c8e-1d4b-4f93-b6e0-2c8a5d1f9e37",
        "tracks": [
          {
            "key": "racing-sports",
            "kind": "theme",
            "name": "Racing and sports"
          },
          {
            "key": "elevenlabs",
            "kind": "sponsor",
            "name": "ElevenLabs"
          }
        ]
      },
      "certifyUrl": null,
      "gameUrl": "https://opengame.io/g/tq7m4x2k9p",
      "queuePosition": 3,
      "outcome": null,
      "live": null,
      "replacedBy": null,
      "replayed": false,
      "existing": false,
      "hold": null
    }
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential has neither the `read` nor the `deploy` scope. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account, or a game-pinned token named another game. Or `not_found`: this server does not serve the creator API. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: wait `retryAfterSeconds`, then retry. `platform_unconfigured`: the game is publishing or published, and a fault on OpenGame's side left it without an address. Try again later. |

## List a game's deployments

`GET https://opengame.io/api/v1/games/{id}/deployments`

**Authentication:** A creator token or a signed-in browser session.

Each deploy of one game you own, newest first, at most thirty: the state and the label the website shows, when it started and ended, the archive's size and file count, the name of the token that started it, the leading finding's sentence and fix for one that did not end ready, the page, and the preview once it is ready. What `opengame deployments` prints. Requires the `read` or `deploy` scope. A game-pinned token can read only the game.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/deployments' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame deployments --game <game-id> --json
```

### Response 200

The deployments.

```json theme={"system"}
{
  "apiVersion": "1",
  "deployments": [
    {
      "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
      "state": "failed",
      "label": "Needs a fix",
      "createdAt": "2026-10-28T14:05:51.000Z",
      "endedAt": "2026-10-28T14:09:02.000Z",
      "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
      "byteSize": 214903552,
      "fileCount": 1203,
      "by": "laptop cli",
      "reason": {
        "observed": "This upload contains a native program that a player could download and run: tools/setup.exe (a .exe file).",
        "fix": "Remove tools/setup.exe from the build, then deploy again."
      },
      "url": "https://opengame.io/settings/deployments/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
      "previewUrl": null
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential has neither the `read` nor the `deploy` scope, or is pinned to another game. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account. Or `not_found`: this server does not serve the creator API. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: wait `retryAfterSeconds`, then retry. `platform_unconfigured`: a fault on OpenGame's side left the deployments without addresses. Try again later. |

## List a game's releases

`GET https://opengame.io/api/v1/games/{id}/releases`

**Authentication:** A creator token or a signed-in browser session.

Each release of one game you own, newest first, as the Releases tab on the page lists them: which one is live, which were live before, which are drafts, in review or cleaned up, and `rollback` on each one the page offers to make live again. What `opengame releases` prints. `rollbackBlocked` names why none can be made live right now, when a publication is on the way. Requires the `read` or `deploy` scope. A game-pinned token can read only the game.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/releases' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame releases --game <game-id> --json
```

### Response 200

The releases.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "publicId": "tq7m4x2k9p",
  "live": true,
  "rollbackBlocked": null,
  "releases": [
    {
      "id": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
      "short": "c6f19a03",
      "versionId": null,
      "createdAt": "2026-10-21T16:42:09.000Z",
      "title": "Tide Runner",
      "status": "review",
      "label": "In review",
      "live": false,
      "newest": true,
      "cleaned": false,
      "ready": true,
      "rollback": false
    },
    {
      "id": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
      "short": "0d7e3b58",
      "versionId": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
      "createdAt": "2026-10-07T11:20:33.000Z",
      "title": "Tide Runner",
      "status": "published",
      "label": "Published",
      "live": true,
      "newest": false,
      "cleaned": false,
      "ready": true,
      "rollback": false
    },
    {
      "id": "19ea6dc1-36d4-483a-9503-552308c56871",
      "short": "19ea6dc1",
      "versionId": "19ea6dc1-36d4-483a-9503-552308c56871",
      "createdAt": "2026-09-30T09:05:12.000Z",
      "title": "Tide Runner",
      "status": "previously_live",
      "label": "Previously live",
      "live": false,
      "newest": false,
      "cleaned": false,
      "ready": true,
      "rollback": true
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential has neither the `read` nor the `deploy` scope. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account, or a game-pinned token named another game. Or `not_found`: this server does not serve the creator API. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not finish the request, and the cause is on our side. Wait `retryAfterSeconds` when the body gives it, then send the same request again, with the same `Idempotency-Key` if it had one. A token or access check that could not finish includes no wait. |

## Make an earlier release live again

`POST https://opengame.io/api/v1/games/{id}/releases/{releaseId}/rollback`

**Authentication:** A creator token or a signed-in browser session.

Make a release that was live before the live one again, as Make live again does on the game's page, through the same check and the same audit. Players get it from their next load, and the release it replaces stays in the list to go back to. The game must be live, and the release must have been live and still have the files. Requires the `submit` scope on this game; the `deploy` scope makes private previews only, so it cannot change what players get. A banned account can still go back to a version the game served. What `opengame rollback` sends. No body. When the swap was made and writing the game's address failed, the answer is 502 `host_failed` with the reason; send the same request again, and it writes only the address.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

**releaseId** `string (uuid)` *required*

The release to make live again, from `GET /api/v1/games/{id}/releases`. Example: `19ea6dc1-36d4-483a-9503-552308c56871`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/releases/19ea6dc1-36d4-483a-9503-552308c56871/rollback' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame rollback <release-id> --game <game-id> --yes --json
```

### Response 200

That release is live. `swapped` is false when it already was; the address is written again either way.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "publicId": "tq7m4x2k9p",
  "releaseId": "19ea6dc1-36d4-483a-9503-552308c56871",
  "versionId": "19ea6dc1-36d4-483a-9503-552308c56871",
  "swapped": true,
  "url": "https://opengame.io/g/tq7m4x2k9p"
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential does not have the `submit` scope on this game, or a browser request came from another site. `account_banned`: the account is banned and the release is not one the game already served. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account, or a game-pinned token named another game. `release_not_found`: the release is not one of this game's, or the ID is not a UUID. Or `not_found`: this server does not serve the creator API. |
| 409 | A refusal the message explains, and nothing changed: `rollback_failed` (for example, that release was published as a decomp or a mod and the game is now labelled otherwise), `game_not_live` (the game is off the gallery or was taken down), `release_never_live` (submit it for review instead), `release_not_promoted`, `release_bytes_deleted` (the files were cleaned up), `release_copy_changed`, `release_held_by_us` (we took the game off that release), `report_open`, `publishing_in_progress` (wait until the publication is live), `own_game_held`, `copyright_hold`, `copyright_evidence_version`, `build_threat`, `build_legal_hold`, `account_suspended`, `account_deleted`, or `handle_required`. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not finish the request, and the cause is on our side. Wait `retryAfterSeconds` when the body gives it, then send the same request again. `controlled_incident_review`: a safety review holds that release; the message names who to ask. `platform_unconfigured`: a fault on OpenGame's side left the game without an address to give. Try again later. |

## Take a game off the gallery

`POST https://opengame.io/api/v1/games/{id}/unpublish`

**Authentication:** A creator token or a signed-in browser session.

Take a live game off the gallery and stop serving it, as Unpublish does on Your games, through the same function: the game's address answers 410 and tells browsers to drop what they cached, the cover and screenshots come off public storage, and each row and upload is kept. Reversible with `POST /api/v1/games/{id}/restore`. Nothing holds it: a report, a hold or a reviewer does not stop a creator taking their own game down. Requires the `submit` scope on this game; the `deploy` scope makes private previews only, so it cannot take a game down. A banned tester or staff member can still unpublish, as on the website; a banned creator is no longer a member. What `opengame unpublish` sends. No body.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/unpublish' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame unpublish --game <game-id> --yes --json
```

### Response 200

The game is off the gallery. `artPending` is true when some of the art may still be on public storage, which staff finish.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "publicId": "tq7m4x2k9p",
  "visibility": "unpublished",
  "repaired": false,
  "artPending": false,
  "url": "https://opengame.io/settings/games/tq7m4x2k9p",
  "message": "That game is off the gallery and is no longer being served, and its cover and screenshots have come off our public storage with it. Your build and your uploads are safe, and putting it back puts all of it back."
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential does not have the `submit` scope on this game, or a browser request came from another site. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: a banned creator is no longer a member; a banned tester or staff member can still unpublish, as on the website. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account, or a game-pinned token named another game. Or `not_found`: this server does not serve the creator API. |
| 409 | `unpublish_refused`: the game is not on the gallery, so nothing changed. `restore_refused` and `no_reviewed_build` are put back's refusals and are not sent here. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 502 | `unpublish_incomplete`: the game is no longer served, and the gallery has not caught up. Send the same request again. `restore_incomplete` is put back's, and is not sent here. |
| 503 | `take_down_unreachable`: OpenGame could not reach the part of the system that starts and stops serving a game, so nothing changed. Try again in a minute. `restore_unverified` is put back's, and is not sent here. `temporarily_unavailable`: OpenGame could not finish the request. `platform_unconfigured`: a fault on OpenGame's side. Try again later. |

## Put an unpublished game back on the gallery

`POST https://opengame.io/api/v1/games/{id}/restore`

**Authentication:** A creator token or a signed-in browser session.

Put a game you unpublished back on the gallery, serving the version it was on, as Put it back does on Your games, through the same function and the same checks. Rejected for a game OpenGame took down, one under a legal hold or a copyright notice, one with a report nobody has answered, and one whose build has not come back clean from the scanner. On a game that is already listed and whose address a failed attempt left held, it writes only the address (`repaired`). Requires the `submit` scope on this game. What `opengame restore` sends. No body.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/restore' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame restore --game <game-id> --yes --json
```

### Response 200

The game is back on the gallery, or the address was written again (`repaired`).

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "publicId": "tq7m4x2k9p",
  "visibility": "published",
  "repaired": false,
  "artPending": false,
  "url": "https://opengame.io/settings/games/tq7m4x2k9p",
  "message": "That game is back on the gallery, serving the version it was on when you took it down."
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential does not have the `submit` scope on this game, or a browser request came from another site. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account, or a game-pinned token named another game. Or `not_found`: this server does not serve the creator API. |
| 409 | A refusal the message explains, and nothing changed: `no_reviewed_build` (there is no reviewed build to serve), or `restore_refused` (the game is not one you unpublished, OpenGame took it down, it is under a hold or a copyright notice, a report is open, or the build has not come back clean). `unpublish_refused` is unpublish's, and is not sent here. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 502 | `restore_incomplete`: the game's gallery status could not be confirmed. The build and uploads are saved. Send the same request again in a minute. `unpublish_incomplete` is unpublish's, and is not sent here. |
| 503 | `restore_unverified`: the game's address could not be checked, so it was not put back. `temporarily_unavailable`: OpenGame could not finish checking the game, or the request. Try again in a few minutes. `take_down_unreachable`: OpenGame could not reach the part of the system that starts and stops serving a game, so nothing changed. `platform_unconfigured`: a fault on OpenGame's side. Try again later. |

## Read the models a game names it was made with

`GET https://opengame.io/api/v1/games/{id}/details`

**Authentication:** A creator token or a signed-in browser session.

The models and tools the game declares, which the page lists under Made with, and OpenGame's list to choose from. What `opengame details` prints, and the keys `--models` takes. Requires the `read` or `deploy` scope for this game.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/details' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The game's declared models and the list.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "publicId": "tq7m4x2k9p",
  "models": [
    {
      "key": "gemini",
      "name": "Gemini"
    },
    {
      "key": "claude-code",
      "name": "Claude Code"
    }
  ],
  "choices": [
    {
      "key": "claude",
      "name": "Claude"
    },
    {
      "key": "claude-code",
      "name": "Claude Code"
    },
    {
      "key": "gemini",
      "name": "Gemini"
    },
    {
      "key": "other",
      "name": "Something else"
    }
  ],
  "url": "https://opengame.io/settings/games/tq7m4x2k9p"
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential has neither `read` nor `deploy`, or is pinned to another game. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account, or a game-pinned token named another game. Or `not_found`: this server does not serve the creator API. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not read the game's models. Try again in a moment. `platform_unconfigured`: a fault on OpenGame's side. |

## Change a game's title, tagline, description, models or banner style

`PATCH https://opengame.io/api/v1/games/{id}/details`

**Authentication:** A creator token or a signed-in browser session.

Save a game's title, tagline, description, the models it names it was made with, or the banner style on the website, as the Details tab on the page does, through the same functions: the same limits, the same account check, and on a published game an audit record with both sides. Send any of them; a field left out keeps what the game has. On a published game players see the change at once. A change to the words moves the game's metadata revision, so the next `opengame deploy` from a folder with older words keeps the website's and `opengame pull` brings them into opengame.json. `models` replaces the whole list, on the live version and on any update still in review, and an empty list clears it; a game whose jam entry stands keeps that jam's minimum and a model from each sponsor track's maker. Requires the `submit` scope on this game; the `deploy` scope cannot change what players read. What `opengame details` sends.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Body

Sent as `application/json`.

**title** `string`

The new title. Example: `Tide runner`.

**tagline** `string`

The new tagline, the line under the title on a card. Example: `Race the rain to the river.`.

**description** `string`

The new description, the copy on the game's page. Example: `Guide a paper boat downstream before the storm breaks.`.

**models** `array of string`

The models and tools the game was made with, as keys from `GET` on this path, replacing the list. Empty clears it. At most 64 items.

**bannerStyle** `string`

One of `directed` or `classic`. How OpenGame draws the game's banner: `directed`, art directed in several passes from the frames and code, or `classic`, one picture made from the frames. On a published game a change redraws the banner in a few minutes (`bannerRedrawing` in the answer), and the current one stays until then; a game can be restyled 3 times a UTC day. Saved after the words and models.

### Request

```bash cURL theme={"system"}
curl --request PATCH \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/details' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Tide runner",
  "tagline": "Race the rain to the river."
}'
```

```bash CLI theme={"system"}
opengame details --game <game-id> --title <title> --json
```

### Response 200

Saved. The details the website now shows.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "publicId": "tq7m4x2k9p",
  "live": true,
  "revision": 4,
  "title": "Tide runner",
  "tagline": "Race the rain to the river.",
  "description": "Steer a paper boat down a storm drain and pick up every lost marble before the water rises.",
  "url": "https://opengame.io/settings/games/tq7m4x2k9p"
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the body is not one or more of `title`, `tagline` and `description` as text, `models` as a list of keys, or `bannerStyle` as `directed` or `classic`. `invalid_details`: one of the words breaks the website's own limit, which the message names. `invalid_models`: a key is not on the list, the list is too long, or a standing jam entry could not keep it. Nothing was saved, except when the message names the words were. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential does not have the `submit` scope on this game, or a browser request came from another site. `words_refused`: this account cannot edit the games. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account, or a game-pinned token named another game. Or `not_found`: this server does not serve the creator API. |
| 409 | `legacy_game_words`: an older jam game's words are changed on the entry page. `game_removed`: the game is deleted. `models_locked`: the game's jam entry is being judged, or it has no version to declare models against yet. Nothing was saved. |
| 413 | `body_too_large`: the body is over `platform.manifest.bytesMax` bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `rate_limited`: this token made too many requests, or the banner style asked for a redraw while one is being drawn (wait a minute) or after the day's restyles of this game (wait until midnight UTC). Wait `retryAfterSeconds`. The message names what else the request saved. A browser session is not counted against a token's allowance. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not confirm the account or save the words, so nothing was saved. Wait, then try again. `platform_unconfigured`: a fault on OpenGame's side. |

## Delete a game for good

`POST https://opengame.io/api/v1/games/{id}/delete`

**Authentication:** A creator token or a signed-in browser session.

Delete a game you own for good, as Delete for good does on the page, through the same function and the same typed-title confirmation, which the server compares against the game's own title (case and spacing forgiven). The game comes off the gallery, the address answers 410 and the cover and screenshots come off public storage. It cannot be put back. The build, archive and records are kept, so nothing a live or frozen version points at is removed. The standing jam entry is withdrawn first, as `opengame jam withdraw` does, which frees the place, and any review of it is closed, so a game in review is deleted in one request. Rejected while it is under a legal hold, or in a jam that has closed and is being scored. Only a browser session or the token `opengame login` makes can delete, with the `submit` permission; a token made in settings cannot, whatever the permissions, and neither can one pinned to a game. A banned tester or staff member can still delete, as on the website; a banned creator is no longer a member. What `opengame delete` sends.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Body

Sent as `application/json`.

**title** `string` *required*

The game's title, typed out. Example: `Tide Runner`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/delete' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Tide Runner"
}'
```

```bash CLI theme={"system"}
opengame delete --game <game-id> --title <title> --yes --json
```

### Response 200

The game is deleted. `artPending` is true when some of the art may still be on public storage, which staff finish.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "publicId": "tq7m4x2k9p",
  "visibility": "removed",
  "repaired": false,
  "artPending": false,
  "url": "https://opengame.io/settings/games",
  "message": "That game is deleted. It is off the gallery, it is not served anywhere, and its cover and screenshots have been taken off our public storage."
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `delete_title_mismatch`: the title does not match the game's, so nothing was deleted. `invalid_request`: the body is not `{ "title": "..." }`. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential is not a browser session or the `opengame login` token with the `submit` permission, or a browser request came from another site. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: a banned creator is no longer a member; a banned tester or staff member can still delete, as on the website. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is in your account, or a game-pinned token named another game. Or `not_found`: this server does not serve the creator API. |
| 409 | `delete_refused`: the message names why: a legal hold, a jam being scored, or it is already deleted. Nothing was deleted. `unpublish_refused`, `restore_refused` and `no_reviewed_build` are unpublish's and put back's, and are not sent here. |
| 413 | `body_too_large`: the body is over 4,096 bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 502 | `delete_incomplete`: the game is no longer served, and the gallery has not caught up with the delete. Send the same request again, never an unpublish. `unpublish_incomplete` and `restore_incomplete` are unpublish's and put back's, and are not sent here. |
| 503 | `take_down_unreachable`: OpenGame could not reach the part of the system that starts and stops serving a game, so nothing changed. `temporarily_unavailable`: OpenGame could not finish checking the game, withdrawing the jam entry, or the delete, and the message names which. Try again in a few minutes. `restore_unverified` is put back's, and is not sent here. `platform_unconfigured`: a fault on OpenGame's side. |

## Read the website's metadata for a game

`GET https://opengame.io/api/v1/games/{id}/metadata`

**Authentication:** A creator token or a signed-in browser session.

What `opengame pull` writes into opengame.json. Website edits raise `revision`. Requires the `read` or `deploy` scope for this game.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/metadata' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The current metadata head.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "revision": 3,
  "metadata": {
    "title": "Tide Runner",
    "description": "Steer a paper boat down a storm drain and pick up every lost marble before the water rises.",
    "tagline": "Race the rain to the river.",
    "genre": "racing-sports",
    "kind": "game",
    "controls": [
      "keyboard",
      "gamepad"
    ]
  },
  "controllerSupport": true,
  "compatibility": {
    "desktop": true,
    "mobile": false
  },
  "cover": null
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the credential has neither `read` nor `deploy`, or is pinned to another game. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: the ID is not a UUID or the game is not in your account. Or `not_found`: this server does not serve the creator API. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not finish the request, and the cause is on our side. Wait `retryAfterSeconds` when the body gives it, then send the same request again, with the same `Idempotency-Key` if it had one. A token or access check that could not finish includes no wait. |

## Open a private preview

`POST https://opengame.io/api/v1/games/{id}/preview`

**Authentication:** A signed-in browser session.

Browser session only: the private game page calls this, and a token is rejected with 403 `forbidden`. Mints an unguessable `p-` host that serves one exact release for up to 24 hours, and a preview session whose scores never show publicly. Only the creator's own account can open the preview; an invitation does not grant another account access. A preview can use the game API's scores, events and geo, and any other service refuses it with `unavailable_in_preview`.

### Parameters

#### Path

**id** `string` *required*

Game UUID. A public ID answers 404 `game_not_found`. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Body

Sent as `application/json`.

**releaseId** `string (uuid)`

Omit for the newest ready release. Send `{}` for that; the body itself is required. Example: `c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/preview' \
  --cookie "$OPENGAME_BROWSER_COOKIE" \
  --header 'Origin: https://opengame.io' \
  --header 'Content-Type: application/json' \
  --data '{
  "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345"
}'
```

### Response 200

The grant.

```json theme={"system"}
{
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
  "label": "p-lqqwusfrvghybzwjvbpwnk2bkqgz4epypzfm7kwnsante2ixvu2t",
  "expiresAt": "2026-10-22T14:33:15.000Z",
  "sessionId": "e7b3d9f1-2c5a-4e86-b0d4-6a1f8c3e9b52",
  "sessionToken": "og1.eyJ2IjoxLCJwcmV2aWV3Ijp0cnVlLCJnaWQiOiJiM2UxZDlhNC0yN2M2LTRmODAtOWQxNS0wYTZlOGM0YjJmNzEiLCJ2aWQiOiJjNmYxOWEwMy01YjhlLTRkMjctOWU0YS0yYjcwZDFmOGMzNDUiLCJsYmwiOiJwLWxxcXd1c2ZydmdoeWJ6d2p2YnB3bmsyYmtxZ3o0ZXB5cHpmbTdrd25zYW50ZTJpeHZ1MnQiLCJzaWQiOiJlN2IzZDlmMS0yYzVhLTRlODYtYjBkNC02YTFmOGMzZTliNTIiLCJhaWQiOiIwZGM3ODQ1Mi01ZmY4LWJiNjItZDExMC0xY2M5ZWFmYzc0ZDUiLCJub25jZSI6IjljMjNjZDUyLTcyNTEtNDZlMS1iZDgxLWJjOGJjNzA1YmZlOCIsImlhdCI6MTc5MjU5MzE5NSwiZXhwIjoxNzkyNjc5NTk1fQ.L8YMCyQJUcFMGGbHnK-ry4gHrXRrcSe7SsFpbadeRvE",
  "sessionExpiresAt": "2026-10-22T14:33:15.000Z",
  "preview": true
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the body is missing, not JSON, has a key except `releaseId`, or `releaseId` is not a UUID. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the request used a token instead of a browser session, or came from a page that is not OpenGame. Open the game page while signed in. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: the ID is not a UUID, the game is not in your account, or it was removed. Or `not_found`: this server does not serve the creator API. |
| 409 | `preview_not_ready`: no ready release matches, either the newest one or the `releaseId` you sent, which may also belong to another game. Wait `retryAfterSeconds` and try again. `preview_held`: OpenGame stopped serving this release (a staff rollback, an upheld report, or a copyright, legal or incident hold on the version it ships), took the game down, or did not accept this release. `preview_revoked`: previews of this game stopped while this one was opening, so reload the page. |
| 413 | `body_too_large`: the body is over `platform.preview.hookBodyBytesMax` (4096) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `rate_limited`: a token that has used the allowance gets this before the 403 that refuses tokens here. Wait `retryAfterSeconds`, then open the preview from the game page while signed in. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `preview_unavailable`: private previews are not available right now, and retrying straight away does not fix it, so report the message. `temporarily_unavailable`: the preview host did not answer, or OpenGame could not check whether a copyright notice holds this game, so wait `retryAfterSeconds` and try again. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |

## Revoke a private preview

`DELETE https://opengame.io/api/v1/games/{id}/preview`

**Authentication:** A signed-in browser session.

Browser session only. Ends one private preview grant you issued. A token is rejected with 403 `forbidden`.

### Parameters

#### Path

**id** `string` *required*

Game UUID. A public ID answers 404 `game_not_found`. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Body

Sent as `application/json`.

**label** `string` *required*

Matches `^p-[a-z2-7]{52}$`. Example: `p-lqqwusfrvghybzwjvbpwnk2bkqgz4epypzfm7kwnsante2ixvu2t`.

### Request

```bash cURL theme={"system"}
curl --request DELETE \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/preview' \
  --cookie "$OPENGAME_BROWSER_COOKIE" \
  --header 'Origin: https://opengame.io' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "p-lqqwusfrvghybzwjvbpwnk2bkqgz4epypzfm7kwnsante2ixvu2t"
}'
```

### Response 200

Revoked, or the grant had already ended or was never yours. Either way it no longer serves.

```json theme={"system"}
{
  "revoked": true
}
```

| Field | Required | Type |
| - | - | - |
| `revoked` | yes | `true` |

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: `label` is missing or not a preview label, or the body has another key. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the request used a token instead of a browser session, or came from a page that is not OpenGame. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: the ID is not a UUID. Or `not_found`: this server does not serve the creator API. |
| 413 | `body_too_large`: the body is over `platform.preview.hookBodyBytesMax` (4096) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `rate_limited`: a token that has used the allowance gets this before the 403 that refuses tokens here. Wait `retryAfterSeconds`, then open the preview from the game page while signed in. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `preview_unavailable`: private previews are not available right now, or the preview host did not recognize the request. `temporarily_unavailable`: the preview host did not answer, so wait `retryAfterSeconds` and try again. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |

## List files a release's previews asked for and did not have

`GET https://opengame.io/api/v1/games/{id}/preview/misses`

**Authentication:** A creator token or a signed-in browser session.

Each path the running preview asked for that the release does not contain, with the path it does contain when the two differ only in letter case. A case mismatch is the usual cause, because the machine the game was built on ignores case. Requires the `read` scope for this game.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

#### Query

**release** `string (uuid)` *required*

Example: `c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/preview/misses?release=c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The misses, most recent first.

```json theme={"system"}
{
  "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
  "misses": [
    {
      "path": "build/TideRunner.wasm.br",
      "nearMatch": "Build/TideRunner.wasm.br",
      "count": 4,
      "lastSeenAt": 1792593242000
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: pass `?release=` with a release UUID. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the token lacks `read` or is pinned to another game. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `release_not_found`: this release is not one of this game's in your account. `game_not_found`: the ID is not a UUID. Or `not_found`: this server does not serve the creator API. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `preview_unavailable`: this server does not offer previews, so there is no report. This is not an empty list. `temporarily_unavailable`: the preview host did not answer, so wait `retryAfterSeconds`. |

## Read daily plays and the game's own events

`GET https://opengame.io/api/v1/games/{id}/stats`

**Authentication:** A creator token or a signed-in browser session.

The Stats report for one complete ISO week, which `opengame stats` reads, with the older `plays` rows beside it. Plays, players, playtime and returning players come from the platform's own counter; `events` are the game's claims. No figure describes under 5 players: such a day is absent and such a count is null. Requires the `read` scope; a game-pinned token reads only the game. Any active creator can call this.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

#### Query

**window** `string` (default: week)

Only `week`. Always `week`, one ISO week from Monday to Sunday in UTC. A week is readable 6 hours after it ends, and each read of it counts the same receipts. `day`, `month` and `all` are rejected as `invalid_range`, and the message names `window=week` and `period`.

**period** `string`

Which ISO week, such as `2026-W43`. Defaults to the newest complete week. At most 104 weeks back, and never a week starting before 2026-08-01. A week that starts more than 90 days ago has numbers only if it was read before then; otherwise they are null and `freshness.unavailable` names why. Example: `2026-W43`.

**funnel** `array of string`

Event names in order, repeated or comma separated. 2 to 10 items.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/stats' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame stats --game <game-id> --json
```

### Response 200

The report, and the daily rows under their older name.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "from": "2026-10-12",
  "to": "2026-10-18",
  "timezone": "UTC",
  "minPlayers": 5,
  "filters": {},
  "summary": {
    "plays": 1284,
    "players": 412,
    "playtimeSeconds": 205600,
    "averagePlaytimeSeconds": 499,
    "returningPlayers": 97,
    "likes": 38,
    "livePlayers": null,
    "peakPlayers": 14
  },
  "window": {
    "kind": "week",
    "period": "2026-W42",
    "start": "2026-10-12T00:00:00Z",
    "end": "2026-10-19T00:00:00Z"
  },
  "comparison": {
    "from": "2026-10-05",
    "to": "2026-10-11",
    "eligible": true,
    "summary": {
      "plays": 1103,
      "players": 371,
      "playtimeSeconds": 171200,
      "averagePlaytimeSeconds": 461,
      "returningPlayers": 82,
      "likes": 29,
      "livePlayers": null,
      "peakPlayers": 12
    }
  },
  "daily": [
    {
      "day": "2026-10-12",
      "plays": 142,
      "players": null,
      "playtimeSeconds": 22700,
      "partial": false
    },
    {
      "day": "2026-10-13",
      "plays": 168,
      "players": null,
      "playtimeSeconds": 26900,
      "partial": false
    },
    {
      "day": "2026-10-14",
      "plays": 155,
      "players": null,
      "playtimeSeconds": 24800,
      "partial": false
    },
    {
      "day": "2026-10-15",
      "plays": 171,
      "players": null,
      "playtimeSeconds": 27400,
      "partial": false
    },
    {
      "day": "2026-10-16",
      "plays": 189,
      "players": null,
      "playtimeSeconds": 30300,
      "partial": false
    },
    {
      "day": "2026-10-17",
      "plays": 247,
      "players": null,
      "playtimeSeconds": 39500,
      "partial": false
    },
    {
      "day": "2026-10-18",
      "plays": 212,
      "players": null,
      "playtimeSeconds": 34000,
      "partial": false
    }
  ],
  "breakdowns": {
    "source": [
      {
        "value": "opengame",
        "label": "opengame",
        "plays": 702,
        "players": 231,
        "playtimeSeconds": 113900,
        "withheld": false
      },
      {
        "value": "direct",
        "label": "direct",
        "plays": 418,
        "players": 129,
        "playtimeSeconds": 66800,
        "withheld": false
      },
      {
        "value": "itch.io",
        "label": "itch.io",
        "plays": 164,
        "players": 52,
        "playtimeSeconds": 24900,
        "withheld": false
      }
    ],
    "surface": [
      {
        "value": "gallery",
        "label": "gallery",
        "plays": 702,
        "players": 231,
        "playtimeSeconds": 113900,
        "withheld": false
      },
      {
        "value": "game",
        "label": "game",
        "plays": 418,
        "players": 129,
        "playtimeSeconds": 66800,
        "withheld": false
      },
      {
        "value": "embed",
        "label": "embed",
        "plays": 164,
        "players": 52,
        "playtimeSeconds": 24900,
        "withheld": false
      }
    ],
    "country": [
      {
        "value": "GB",
        "label": "GB",
        "plays": 391,
        "players": 126,
        "playtimeSeconds": 63100,
        "withheld": false
      },
      {
        "value": "US",
        "label": "US",
        "plays": 344,
        "players": 108,
        "playtimeSeconds": 55800,
        "withheld": false
      },
      {
        "value": "DE",
        "label": "DE",
        "plays": 162,
        "players": 51,
        "playtimeSeconds": 25400,
        "withheld": false
      },
      {
        "value": "withheld",
        "label": "Other / withheld",
        "plays": null,
        "players": null,
        "playtimeSeconds": null,
        "withheld": true
      }
    ],
    "device": [
      {
        "value": "desktop",
        "label": "desktop",
        "plays": 1047,
        "players": 334,
        "playtimeSeconds": 172300,
        "withheld": false
      },
      {
        "value": "mobile",
        "label": "mobile",
        "plays": 237,
        "players": 78,
        "playtimeSeconds": 33300,
        "withheld": false
      }
    ],
    "build": [
      {
        "value": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
        "label": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
        "plays": 1284,
        "players": 412,
        "playtimeSeconds": 205600,
        "withheld": false
      }
    ]
  },
  "events": [
    {
      "name": "level_complete",
      "events": 2210,
      "players": 288,
      "shareOfPlayers": 0.699,
      "source": "game_reported",
      "properties": [
        {
          "key": "level",
          "value": "1",
          "events": 902,
          "players": 281
        },
        {
          "key": "level",
          "value": "2",
          "events": 731,
          "players": 204
        }
      ]
    },
    {
      "name": "marble_collected",
      "events": 18342,
      "players": 377,
      "shareOfPlayers": 0.915,
      "source": "game_reported"
    }
  ],
  "retention": [
    {
      "day": "2026-10-12",
      "players": 61,
      "day1": 0.2787
    },
    {
      "day": "2026-10-13",
      "players": 58,
      "day1": 0.2414
    }
  ],
  "survival": [
    {
      "seconds": 30,
      "players": 371,
      "share": 0.9005
    },
    {
      "seconds": 120,
      "players": 268,
      "share": 0.6505
    },
    {
      "seconds": 300,
      "players": 154,
      "share": 0.3738
    },
    {
      "seconds": 600,
      "players": 63,
      "share": 0.1529
    }
  ],
  "performance": [
    {
      "buildId": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
      "plays": 1284,
      "readyP50Ms": 1840,
      "readyP90Ms": 4210,
      "errorsPer100Plays": 0.86,
      "fpsP50": 60
    }
  ],
  "insights": {
    "from": "2026-10-12",
    "to": "2026-10-18",
    "timezone": "UTC",
    "updatedAt": "2026-10-19T06:00:00Z",
    "minPlayers": 5,
    "discovery": [
      {
        "surface": "gallery",
        "impressions": 9640,
        "pageViews": 1180,
        "plays": 702,
        "clickThrough": 0.12240663900414937,
        "playThrough": 0.5949152542372881
      }
    ],
    "sources": [
      {
        "source": "opengame",
        "players": 231,
        "averagePlaytimeSeconds": 541
      },
      {
        "source": "direct",
        "players": 129,
        "averagePlaytimeSeconds": 457
      },
      {
        "source": "itch.io",
        "players": 52,
        "averagePlaytimeSeconds": 401
      }
    ],
    "benchmarks": {
      "own": {
        "status": "unavailable",
        "games": null,
        "medianSeconds": null,
        "lowerSeconds": null,
        "upperSeconds": null
      },
      "peers": {
        "status": "available",
        "games": 38,
        "medianSeconds": 312,
        "lowerSeconds": 164,
        "upperSeconds": 655
      }
    },
    "drilldown": {
      "builds": [
        {
          "label": "v2",
          "players": 412,
          "plays": 1284,
          "averagePlaytimeSeconds": 499
        }
      ],
      "sessions": [
        {
          "label": "1 session",
          "players": 315,
          "sessions": 315
        },
        {
          "label": "2 or more",
          "players": 97,
          "sessions": 262
        }
      ],
      "errors": [
        {
          "category": "runtime",
          "kind": "webgl_context_lost",
          "players": 9,
          "errors": 11
        }
      ],
      "selectedBuild": "v2",
      "selectedSession": null
    },
    "unavailable": [
      "benchmarks.own"
    ]
  },
  "freshness": {
    "receiptWatermark": "2026-10-19T06:00:00Z",
    "dataSince": "2026-09-28T11:04:51Z",
    "updatedAt": "2026-10-19T06:00:00Z",
    "completeThrough": "2026-10-19T00:00:00Z",
    "partial": false,
    "source": "clickhouse",
    "quality": "exact",
    "unavailable": []
  },
  "plays": [
    {
      "day": "2026-10-12",
      "plays": 142,
      "players": null,
      "playtimeSeconds": 22700,
      "partial": false,
      "returning1d": null,
      "returning7d": null
    },
    {
      "day": "2026-10-13",
      "plays": 168,
      "players": null,
      "playtimeSeconds": 26900,
      "partial": false,
      "returning1d": null,
      "returning7d": null
    },
    {
      "day": "2026-10-14",
      "plays": 155,
      "players": null,
      "playtimeSeconds": 24800,
      "partial": false,
      "returning1d": null,
      "returning7d": null
    },
    {
      "day": "2026-10-15",
      "plays": 171,
      "players": null,
      "playtimeSeconds": 27400,
      "partial": false,
      "returning1d": null,
      "returning7d": null
    },
    {
      "day": "2026-10-16",
      "plays": 189,
      "players": null,
      "playtimeSeconds": 30300,
      "partial": false,
      "returning1d": null,
      "returning7d": null
    },
    {
      "day": "2026-10-17",
      "plays": 247,
      "players": null,
      "playtimeSeconds": 39500,
      "partial": false,
      "returning1d": null,
      "returning7d": null
    },
    {
      "day": "2026-10-18",
      "plays": 212,
      "players": null,
      "playtimeSeconds": 34000,
      "partial": false,
      "returning1d": null,
      "returning7d": null
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_range`: the window or period is not one a reader may ask for, the funnel is not valid, or a parameter is repeated. `from`, `to` and a `timezone` except UTC are rejected as `invalid_range`, never snapped to a nearby week, and the message names `window` and `period`. Any filter, such as `country` or `build`, is rejected as `filters_removed`: filters were removed to protect player privacy, and the breakdown rows in the weekly report replace them. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the token lacks the `read` scope or is pinned to another game. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with that UUID or public ID is for this account, or the account is not active. |
| 426 | `analytics_cli_outdated`: the `X-OpenGame-CLI-Version` header names a CLI older than 0.3.0, which cannot read week reports. Update the CLI. A request without the header is not rejected. |
| 429 | `rate_limited`: this account made too many analytics requests. Wait `retryAfterSeconds`. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not verify access or read the numbers. Wait `retryAfterSeconds` when given, then try again. `rate_limited`: OpenGame could not check the rate limit, so wait `retryAfterSeconds`. `analytics_busy`: another read of this week is being checked, so wait `retryAfterSeconds` and read it again. |

## Read the full Stats report for one game

`GET https://opengame.io/api/v1/games/{id}/stats/report`

**Authentication:** A creator token or a signed-in browser session.

What the Stats page draws for one ISO week: totals, a comparison with the week before, daily rows, breakdowns, the game's own events, retention, survival, performance by build and coverage. Requires the `read` scope; a game-pinned token reads only the game. Any active creator can call this.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

#### Query

**window** `string` (default: week)

Only `week`. Always `week`, one ISO week from Monday to Sunday in UTC. A week is readable 6 hours after it ends, and each read of it counts the same receipts. `day`, `month` and `all` are rejected as `invalid_range`, and the message names `window=week` and `period`.

**period** `string`

Which ISO week, such as `2026-W43`. Defaults to the newest complete week. At most 104 weeks back, and never a week starting before 2026-08-01. A week that starts more than 90 days ago has numbers only if it was read before then; otherwise they are null and `freshness.unavailable` names why. Example: `2026-W43`.

**funnel** `array of string`

Event names in order, repeated or comma separated. 2 to 10 items.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/stats/report' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The report.

```json theme={"system"}
{
  "apiVersion": "1",
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "from": "2026-10-12",
  "to": "2026-10-18",
  "timezone": "UTC",
  "minPlayers": 5,
  "filters": {},
  "summary": {
    "plays": 1284,
    "players": 412,
    "playtimeSeconds": 205600,
    "averagePlaytimeSeconds": 499,
    "returningPlayers": 97,
    "likes": 38,
    "livePlayers": null,
    "peakPlayers": 14
  },
  "window": {
    "kind": "week",
    "period": "2026-W42",
    "start": "2026-10-12T00:00:00Z",
    "end": "2026-10-19T00:00:00Z"
  },
  "comparison": {
    "from": "2026-10-05",
    "to": "2026-10-11",
    "eligible": true,
    "summary": {
      "plays": 1103,
      "players": 371,
      "playtimeSeconds": 171200,
      "averagePlaytimeSeconds": 461,
      "returningPlayers": 82,
      "likes": 29,
      "livePlayers": null,
      "peakPlayers": 12
    }
  },
  "daily": [
    {
      "day": "2026-10-12",
      "plays": 142,
      "players": null,
      "playtimeSeconds": 22700,
      "partial": false
    },
    {
      "day": "2026-10-13",
      "plays": 168,
      "players": null,
      "playtimeSeconds": 26900,
      "partial": false
    },
    {
      "day": "2026-10-14",
      "plays": 155,
      "players": null,
      "playtimeSeconds": 24800,
      "partial": false
    },
    {
      "day": "2026-10-15",
      "plays": 171,
      "players": null,
      "playtimeSeconds": 27400,
      "partial": false
    },
    {
      "day": "2026-10-16",
      "plays": 189,
      "players": null,
      "playtimeSeconds": 30300,
      "partial": false
    },
    {
      "day": "2026-10-17",
      "plays": 247,
      "players": null,
      "playtimeSeconds": 39500,
      "partial": false
    },
    {
      "day": "2026-10-18",
      "plays": 212,
      "players": null,
      "playtimeSeconds": 34000,
      "partial": false
    }
  ],
  "breakdowns": {
    "source": [
      {
        "value": "opengame",
        "label": "opengame",
        "plays": 702,
        "players": 231,
        "playtimeSeconds": 113900,
        "withheld": false
      },
      {
        "value": "direct",
        "label": "direct",
        "plays": 418,
        "players": 129,
        "playtimeSeconds": 66800,
        "withheld": false
      },
      {
        "value": "itch.io",
        "label": "itch.io",
        "plays": 164,
        "players": 52,
        "playtimeSeconds": 24900,
        "withheld": false
      }
    ],
    "surface": [
      {
        "value": "gallery",
        "label": "gallery",
        "plays": 702,
        "players": 231,
        "playtimeSeconds": 113900,
        "withheld": false
      },
      {
        "value": "game",
        "label": "game",
        "plays": 418,
        "players": 129,
        "playtimeSeconds": 66800,
        "withheld": false
      },
      {
        "value": "embed",
        "label": "embed",
        "plays": 164,
        "players": 52,
        "playtimeSeconds": 24900,
        "withheld": false
      }
    ],
    "country": [
      {
        "value": "GB",
        "label": "GB",
        "plays": 391,
        "players": 126,
        "playtimeSeconds": 63100,
        "withheld": false
      },
      {
        "value": "US",
        "label": "US",
        "plays": 344,
        "players": 108,
        "playtimeSeconds": 55800,
        "withheld": false
      },
      {
        "value": "DE",
        "label": "DE",
        "plays": 162,
        "players": 51,
        "playtimeSeconds": 25400,
        "withheld": false
      },
      {
        "value": "withheld",
        "label": "Other / withheld",
        "plays": null,
        "players": null,
        "playtimeSeconds": null,
        "withheld": true
      }
    ],
    "device": [
      {
        "value": "desktop",
        "label": "desktop",
        "plays": 1047,
        "players": 334,
        "playtimeSeconds": 172300,
        "withheld": false
      },
      {
        "value": "mobile",
        "label": "mobile",
        "plays": 237,
        "players": 78,
        "playtimeSeconds": 33300,
        "withheld": false
      }
    ],
    "build": [
      {
        "value": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
        "label": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
        "plays": 1284,
        "players": 412,
        "playtimeSeconds": 205600,
        "withheld": false
      }
    ]
  },
  "events": [
    {
      "name": "level_complete",
      "events": 2210,
      "players": 288,
      "shareOfPlayers": 0.699,
      "source": "game_reported",
      "properties": [
        {
          "key": "level",
          "value": "1",
          "events": 902,
          "players": 281
        },
        {
          "key": "level",
          "value": "2",
          "events": 731,
          "players": 204
        }
      ]
    },
    {
      "name": "marble_collected",
      "events": 18342,
      "players": 377,
      "shareOfPlayers": 0.915,
      "source": "game_reported"
    }
  ],
  "retention": [
    {
      "day": "2026-10-12",
      "players": 61,
      "day1": 0.2787
    },
    {
      "day": "2026-10-13",
      "players": 58,
      "day1": 0.2414
    }
  ],
  "survival": [
    {
      "seconds": 30,
      "players": 371,
      "share": 0.9005
    },
    {
      "seconds": 120,
      "players": 268,
      "share": 0.6505
    },
    {
      "seconds": 300,
      "players": 154,
      "share": 0.3738
    },
    {
      "seconds": 600,
      "players": 63,
      "share": 0.1529
    }
  ],
  "performance": [
    {
      "buildId": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
      "plays": 1284,
      "readyP50Ms": 1840,
      "readyP90Ms": 4210,
      "errorsPer100Plays": 0.86,
      "fpsP50": 60
    }
  ],
  "insights": {
    "from": "2026-10-12",
    "to": "2026-10-18",
    "timezone": "UTC",
    "updatedAt": "2026-10-19T06:00:00Z",
    "minPlayers": 5,
    "discovery": [
      {
        "surface": "gallery",
        "impressions": 9640,
        "pageViews": 1180,
        "plays": 702,
        "clickThrough": 0.12240663900414937,
        "playThrough": 0.5949152542372881
      }
    ],
    "sources": [
      {
        "source": "opengame",
        "players": 231,
        "averagePlaytimeSeconds": 541
      },
      {
        "source": "direct",
        "players": 129,
        "averagePlaytimeSeconds": 457
      },
      {
        "source": "itch.io",
        "players": 52,
        "averagePlaytimeSeconds": 401
      }
    ],
    "benchmarks": {
      "own": {
        "status": "unavailable",
        "games": null,
        "medianSeconds": null,
        "lowerSeconds": null,
        "upperSeconds": null
      },
      "peers": {
        "status": "available",
        "games": 38,
        "medianSeconds": 312,
        "lowerSeconds": 164,
        "upperSeconds": 655
      }
    },
    "drilldown": {
      "builds": [
        {
          "label": "v2",
          "players": 412,
          "plays": 1284,
          "averagePlaytimeSeconds": 499
        }
      ],
      "sessions": [
        {
          "label": "1 session",
          "players": 315,
          "sessions": 315
        },
        {
          "label": "2 or more",
          "players": 97,
          "sessions": 262
        }
      ],
      "errors": [
        {
          "category": "runtime",
          "kind": "webgl_context_lost",
          "players": 9,
          "errors": 11
        }
      ],
      "selectedBuild": "v2",
      "selectedSession": null
    },
    "unavailable": [
      "benchmarks.own"
    ]
  },
  "freshness": {
    "receiptWatermark": "2026-10-19T06:00:00Z",
    "dataSince": "2026-09-28T11:04:51Z",
    "updatedAt": "2026-10-19T06:00:00Z",
    "completeThrough": "2026-10-19T00:00:00Z",
    "partial": false,
    "source": "clickhouse",
    "quality": "exact",
    "unavailable": []
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_range`: the window or period is not one a reader may ask for, the funnel is not valid, or a parameter is repeated. `from`, `to` and a `timezone` except UTC are rejected as `invalid_range`, never snapped to a nearby week, and the message names `window` and `period`. Any filter, such as `country` or `build`, is rejected as `filters_removed`: filters were removed to protect player privacy, and the breakdown rows in the weekly report replace them. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the token lacks the `read` scope or is pinned to another game. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with that UUID or public ID is for this account, or the account is not active. |
| 426 | `analytics_cli_outdated`: the `X-OpenGame-CLI-Version` header names a CLI older than 0.3.0, which cannot read week reports. Update the CLI. A request without the header is not rejected. |
| 429 | `rate_limited`: this account made too many analytics requests. Wait `retryAfterSeconds`. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not verify access or read the numbers. Wait `retryAfterSeconds` when given, then try again. `rate_limited`: OpenGame could not check the rate limit, so wait `retryAfterSeconds`. `analytics_busy`: another read of this week is being checked, so wait `retryAfterSeconds` and read it again. |

## Download the Stats report as CSV

`GET https://opengame.io/api/v1/games/{id}/stats/export`

**Authentication:** A creator token or a signed-in browser session.

The same report as `/stats/report`, one row per figure, with the week, timezone and days on each row. The file is named `analytics-week-<period>.csv`, such as `analytics-week-2026-W43.csv`. Withheld numbers are empty cells. Cells that a spreadsheet would run as a formula are prefixed with an apostrophe. Requires the `read` scope; a game-pinned token reads only the game.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

#### Query

**window** `string` (default: week)

Only `week`. Always `week`, one ISO week from Monday to Sunday in UTC. A week is readable 6 hours after it ends, and each read of it counts the same receipts. `day`, `month` and `all` are rejected as `invalid_range`, and the message names `window=week` and `period`.

**period** `string`

Which ISO week, such as `2026-W43`. Defaults to the newest complete week. At most 104 weeks back, and never a week starting before 2026-08-01. A week that starts more than 90 days ago has numbers only if it was read before then; otherwise they are null and `freshness.unavailable` names why. Example: `2026-W43`.

**funnel** `array of string`

Event names in order, repeated or comma separated. 2 to 10 items.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/stats/export' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame stats --game <game-id> --csv <file>
```

### Response 200

A CSV attachment, each cell quoted. The example is the first rows.

#### Headers

**content-disposition** `string`

Names the CSV file to save it as.

```csv theme={"system"}
"section","label","plays","players","playtimeSeconds","value","window","period","timezone","from","to"
"summary","total","1284","412","205600","","week","2026-W42","UTC","2026-10-12","2026-10-18"
"selection","window.start","","","","2026-10-12T00:00:00Z","week","2026-W42","UTC","2026-10-12","2026-10-18"
"selection","window.end","","","","2026-10-19T00:00:00Z","week","2026-W42","UTC","2026-10-12","2026-10-18"
"selection","diagnostics.build","","","","v2","week","2026-W42","UTC","2026-10-12","2026-10-18"
"selection","diagnostics.session","","","","","week","2026-W42","UTC","2026-10-12","2026-10-18"
"summary","averagePlaytimeSeconds","","","","499","week","2026-W42","UTC","2026-10-12","2026-10-18"
"summary","returningPlayers","","","","97","week","2026-W42","UTC","2026-10-12","2026-10-
…
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_range`: the window or period is not one a reader may ask for, the funnel is not valid, or a parameter is repeated. `from`, `to` and a `timezone` except UTC are rejected as `invalid_range`, never snapped to a nearby week, and the message names `window` and `period`. Any filter, such as `country` or `build`, is rejected as `filters_removed`: filters were removed to protect player privacy, and the breakdown rows in the weekly report replace them. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the token lacks the `read` scope or is pinned to another game. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with that UUID or public ID is for this account, or the account is not active. |
| 426 | `analytics_cli_outdated`: the `X-OpenGame-CLI-Version` header names a CLI older than 0.3.0, which cannot read week reports. Update the CLI. A request without the header is not rejected. |
| 429 | `rate_limited`: this account made too many analytics requests. Wait `retryAfterSeconds`. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not verify access or read the numbers. Wait `retryAfterSeconds` when given, then try again. `rate_limited`: OpenGame could not check the rate limit, so wait `retryAfterSeconds`. `analytics_busy`: another read of this week is being checked, so wait `retryAfterSeconds` and read it again. |

## Read discovery, source quality and diagnostics

`GET https://opengame.io/api/v1/games/{id}/stats/insights`

**Authentication:** A creator token or a signed-in browser session.

Requires the `read` scope; a game-pinned token reads only the game. The `insights` of the week's report, as they were kept with it: the same numbers each later read of the week answers with, and none while the report's own numbers are withheld. Needs retained event detail, which is kept 90 days, when the week is first read: otherwise the panels are empty and `unavailable` names why. Benchmarks against your other games need a browser session. Diagnostics show the build with the most plays and the largest duration group; `drill`, which chose another, is rejected as `filters_removed`.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

#### Query

**window** `string` (default: week)

Only `week`. Always `week`, one ISO week from Monday to Sunday in UTC. A week is readable 6 hours after it ends, and each read of it counts the same receipts. `day`, `month` and `all` are rejected as `invalid_range`, and the message names `window=week` and `period`.

**period** `string`

Which ISO week, such as `2026-W43`. Defaults to the newest complete week. At most 104 weeks back, and never a week starting before 2026-08-01. A week that starts more than 90 days ago has numbers only if it was read before then; otherwise they are null and `freshness.unavailable` names why. Example: `2026-W43`.

**funnel** `array of string`

Event names in order, repeated or comma separated. 2 to 10 items.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/stats/insights' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The insights.

```json theme={"system"}
{
  "from": "2026-10-12",
  "to": "2026-10-18",
  "timezone": "UTC",
  "updatedAt": "2026-10-19T06:00:00Z",
  "minPlayers": 5,
  "discovery": [
    {
      "surface": "gallery",
      "impressions": 9640,
      "pageViews": 1180,
      "plays": 702,
      "clickThrough": 0.12240663900414937,
      "playThrough": 0.5949152542372881
    }
  ],
  "sources": [
    {
      "source": "opengame",
      "players": 231,
      "averagePlaytimeSeconds": 541
    },
    {
      "source": "direct",
      "players": 129,
      "averagePlaytimeSeconds": 457
    },
    {
      "source": "itch.io",
      "players": 52,
      "averagePlaytimeSeconds": 401
    }
  ],
  "benchmarks": {
    "own": {
      "status": "unavailable",
      "games": null,
      "medianSeconds": null,
      "lowerSeconds": null,
      "upperSeconds": null
    },
    "peers": {
      "status": "available",
      "games": 38,
      "medianSeconds": 312,
      "lowerSeconds": 164,
      "upperSeconds": 655
    }
  },
  "drilldown": {
    "builds": [
      {
        "label": "v2",
        "players": 412,
        "plays": 1284,
        "averagePlaytimeSeconds": 499
      }
    ],
    "sessions": [
      {
        "label": "1 session",
        "players": 315,
        "sessions": 315
      },
      {
        "label": "2 or more",
        "players": 97,
        "sessions": 262
      }
    ],
    "errors": [
      {
        "category": "runtime",
        "kind": "webgl_context_lost",
        "players": 9,
        "errors": 11
      }
    ],
    "selectedBuild": "v2",
    "selectedSession": null
  },
  "unavailable": [
    "benchmarks.own"
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_range`: the window or period is not one a reader may ask for, the funnel is not valid, or a parameter is repeated. `from`, `to` and a `timezone` except UTC are rejected as `invalid_range`, never snapped to a nearby week, and the message names `window` and `period`. Any filter, such as `country` or `build`, is rejected as `filters_removed`: filters were removed to protect player privacy, and the breakdown rows in the weekly report replace them. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the token lacks the `read` scope or is pinned to another game. `account_banned`: on a change only, OpenGame's moderators have banned the account. Calls still return. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with that UUID or public ID is for this account, or the account is not active. |
| 429 | `rate_limited`: this account made too many analytics requests. Wait `retryAfterSeconds`. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not verify access or read the numbers. Wait `retryAfterSeconds` when given, then try again. `rate_limited`: OpenGame could not check the rate limit, so wait `retryAfterSeconds`. `analytics_busy`: another read of this week is being checked, so wait `retryAfterSeconds` and read it again. |

## List the achievements a game declares

`GET https://opengame.io/api/v1/games/{id}/achievements`

**Authentication:** A creator token or a signed-in browser session.

Requires the `read` scope for this game. Includes inactive ones, sorted by ID.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/achievements' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame achievements --game <game-id> --json
```

### Response 200

Each definition, by ID.

```json theme={"system"}
{
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "achievements": [
    {
      "achievement_id": "first_win",
      "title": "First win",
      "description": "Finish any level with every marble.",
      "active": true,
      "created_at": "2026-10-14T10:20:31Z"
    },
    {
      "achievement_id": "full_drain",
      "title": "Full drain",
      "description": "Reach the river without losing a marble.",
      "active": true,
      "created_at": "2026-10-14T10:21:48Z"
    }
  ],
  "source": "game_reported"
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the credential has no `read` scope for this game. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is for your account. Or `not_found`: this server does not serve the creator API. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: OpenGame could not finish the request, and the cause is on our side. Wait `retryAfterSeconds` when the body gives it, then send the same request again, with the same `Idempotency-Key` if it had one. A token or access check that could not finish includes no wait. |

## Declare or change one achievement

`PUT https://opengame.io/api/v1/games/{id}/achievements`

**Authentication:** A creator token or a signed-in browser session.

Requires the `deploy` scope for this game, and the `submit` scope as well for anything but a deploy's own save. A deploy's own save is active and names a ready deploy whose `opengame.json` declared exactly this ID, title and description. Retiring one (`active: false`), renaming one, or any edit without `operationId` changes what players of the game see, which a deploy-only token cannot. Creates the achievement or replaces the title, description and active flag; an existing one keeps the `created_at`. A game can declare 100; one more is rejected as `invalid_request`. A deploy sync sends `operationId`. An older ready deploy is rejected as `achievement_deploy_superseded`, so it cannot replace a newer title, description or retired achievement. An explicit edit, such as retiring one, omits `operationId`; `opengame achievements retire` sends that. `opengame deploy` calls this for each achievement `opengame.json` declares, once the deploy is ready. Unlocks are the game's claim.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Body

Sent as `application/json`.

**achievementId** `string` *required*

1 to 48 characters. Matches `^[a-z0-9][a-z0-9_-]*$`. Example: `first_win`.

**title** `string` *required*

Leading and trailing spaces are removed before the length is checked. 1 to 120 characters. Example: `First win`.

**description** `string`

Leading and trailing spaces are removed before the length is checked. At most 500 characters. Example: `Finish any level with every marble.`.

**active** `boolean` (default: true)

An inactive achievement is hidden from players and cannot be unlocked.

**operationId** `string (uuid)`

The ready deploy these declarations belong to. A newer ready deploy of the same game refuses this write. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Request

```bash cURL theme={"system"}
curl --request PUT \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/achievements' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "achievementId": "first_win",
  "title": "First win",
  "description": "Finish any level with every marble.",
  "active": true,
  "operationId": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39"
}'
```

```bash CLI theme={"system"}
opengame achievements retire <achievement-id> --game <game-id> --yes --json
```

### Response 200

The saved definition.

```json theme={"system"}
{
  "achievement": {
    "achievement_id": "first_win",
    "title": "First win",
    "description": "Finish any level with every marble.",
    "active": true,
    "created_at": "2026-10-14T10:20:31Z"
  },
  "source": "game_reported"
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: a field does not match, the game is already at the achievement limit, or `operationId` is not a ready deploy of this game. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the credential has no `deploy` scope for this game, or is retiring one, or saving words the named deploy did not declare, without the `submit` scope. `forbidden`: a browser change came from another site. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is for your account. Or `not_found`: this server does not serve the creator API. |
| 409 | `achievement_deploy_superseded`: a newer ready deploy of this game already exists, so this older deploy left the achievements unchanged. |
| 413 | `body_too_large`: the body is over `platform.manifest.bytesMax` (65536) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: the save may or may not have happened, so read the list before you send it again. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |

## Read where this game may be embedded

`GET https://opengame.io/api/v1/games/{id}/embed`

**Authentication:** A creator token or a signed-in browser session.

Requires the `read` scope. Any active creator can call this. Embedding is off until at least one origin is listed. Each listed origin gets the address and iframe code, and the addresses play only while the game has a live version.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/embed' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The embed settings.

```json theme={"system"}
{
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "revision": 1,
  "origins": [
    "https://tiderunner.example.com"
  ],
  "embedUrl": "https://opengame.io/api/embed/tq7m4x2k9p",
  "enabled": true,
  "embeds": [
    {
      "origin": "https://tiderunner.example.com",
      "url": "https://opengame.io/api/embed/tq7m4x2k9p?origin=https%3A%2F%2Ftiderunner.example.com",
      "html": "<iframe src=\"https://opengame.io/api/embed/tq7m4x2k9p?origin=https%3A%2F%2Ftiderunner.example.com\" title=\"Play on OpenGame\" allow=\"autoplay; gamepad; microphone; clipboard-write\" width=\"960\" height=\"640\"></iframe>"
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the token lacks the `read` scope or is pinned to another game. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with that UUID or public ID is for this account, or the account is not active. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: retry. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |

## Replace the embed origins

`PUT https://opengame.io/api/v1/games/{id}/embed`

**Authentication:** A creator token or a signed-in browser session.

Requires the `deploy` scope. A token also needs the `read` scope, because the answer is read back with it after the save. Send the whole list and the `revision` you read; if the settings changed since, nothing is saved and the answer is `embed_conflict`. At most 20 origins. Each one must be exactly what a browser reports as an origin: `https://`, a lowercase hostname, and no trailing slash, path, query, fragment, port (including `:443`) or credentials. The hostname needs at least two labels of `a-z`, `0-9` and `-`, ends in a letters-only top-level label, and is at most 120 characters. IP addresses, single-label names, wildcards, internationalized names in either form, any hostname that is or ends in `localhost`, `local`, `internal`, `invalid` or `test`, and opengame.gg and the subdomains are rejected. An empty list turns embedding off. The answer is the saved settings. When the edge has not confirmed them yet, `synced` is false and `message` names so: OpenGame delivers them within a few minutes, and until then a page may get either list. Nothing needs resending.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Body

Sent as `application/json`.

**revision** `integer` *required*

At least 0. Example: `1`.

**origins** `array of string` *required*

At most 20 items. No item twice.

### Request

```bash cURL theme={"system"}
curl --request PUT \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/embed' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "revision": 1,
  "origins": [
    "https://tiderunner.example.com",
    "https://example.com"
  ]
}'
```

### Response 200

The saved settings.

```json theme={"system"}
{
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "revision": 2,
  "origins": [
    "https://tiderunner.example.com",
    "https://example.com"
  ],
  "embedUrl": "https://opengame.io/api/embed/tq7m4x2k9p",
  "enabled": true,
  "embeds": [
    {
      "origin": "https://tiderunner.example.com",
      "url": "https://opengame.io/api/embed/tq7m4x2k9p?origin=https%3A%2F%2Ftiderunner.example.com",
      "html": "<iframe src=\"https://opengame.io/api/embed/tq7m4x2k9p?origin=https%3A%2F%2Ftiderunner.example.com\" title=\"Play on OpenGame\" allow=\"autoplay; gamepad; microphone; clipboard-write\" width=\"960\" height=\"640\"></iframe>"
    },
    {
      "origin": "https://example.com",
      "url": "https://opengame.io/api/embed/tq7m4x2k9p?origin=https%3A%2F%2Fexample.com",
      "html": "<iframe src=\"https://opengame.io/api/embed/tq7m4x2k9p?origin=https%3A%2F%2Fexample.com\" title=\"Play on OpenGame\" allow=\"autoplay; gamepad; microphone; clipboard-write\" width=\"960\" height=\"640\"></iframe>"
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the body is not JSON, has a key except `revision` and `origins`, `revision` is not a whole number of 0 or more, or an origin is not exact, is repeated, or the list is longer than 20. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the token lacks `deploy`, or lacks `read` for the answer after a save that already happened, or is pinned to another game. `forbidden`: a browser change came from another site. `embed_unavailable`: the settings were saved but could not be read back for the edge, so read them again. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with that UUID or public ID is for this account, or the account is not active. |
| 409 | `embed_conflict`: the settings changed since you read them, or OpenGame could not save them, which today includes an outage. Nothing was saved. Read the settings again, then resend with the new `revision`. |
| 413 | `body_too_large`: the body is over `play.sessionRefreshBodyBytesMax` (4096) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: the cause is on our side, so wait `retryAfterSeconds` when the body gives it and send it again. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |

## List this game's experiments

`GET https://opengame.io/api/v1/games/{id}/experiments`

**Authentication:** A creator token or a signed-in browser session.

Requires the `read` scope. Any active creator can call this. Lists each experiment, newest first, with the outcome, and the versions that can take part in one, newest first. While experiment results are turned off, each experiment includes an `unavailable` outcome whose note names so, and nothing recorded is read.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/experiments' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

Experiments and eligible versions.

```json theme={"system"}
{
  "experiments": [
    {
      "id": "5f0c2a7e-9b1d-4c3e-a8f2-6d4b1e7c9a30",
      "game_id": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
      "creator_id": "8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63",
      "name": "Shorter first level",
      "control_version_id": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
      "candidate_version_id": "19ea6dc1-36d4-483a-9503-552308c56871",
      "state": "draft",
      "revision": 1,
      "config_revision": 1,
      "config": {
        "candidatePercent": 10,
        "minSessionsPerArm": 200,
        "minExposuresPerArm": 500,
        "errorIncreasePp": 5,
        "readyRegressionPercent": 30,
        "playtimeDropPercent": 20,
        "outcomes": {
          "version": 1,
          "survivalSeconds": [
            60,
            120,
            300,
            600
          ],
          "intervalZ": 2.5758293035489004,
          "intervalConfidence": 0.99,
          "minPlayersPerArm": 500,
          "minMeasuredPerArm": 200,
          "lateArrivalHours": 72,
          "timezone": "UTC"
        }
      },
      "prepared": null,
      "harm_evidence": null,
      "safety_checked_at": null,
      "created_at": "2026-10-20T09:12:30Z",
      "started_at": null,
      "ended_at": null,
      "allocation_ended_at": null,
      "outcome": {
        "schema": "experiment-outcome/v1",
        "experimentId": "5f0c2a7e-9b1d-4c3e-a8f2-6d4b1e7c9a30",
        "revision": 1,
        "state": "unavailable",
        "asOf": "2026-10-20T09:14:47Z",
        "policy": {
          "version": 1,
          "survivalSeconds": [
            60,
            120,
            300,
            600
          ],
          "intervalZ": 2.5758293035489004,
          "intervalConfidence": 0.99,
          "minPlayersPerArm": 500,
          "minMeasuredPerArm": 200,
          "lateArrivalHours": 72,
          "timezone": "UTC"
        },
        "cohort": "first_exposed_session",
        "bounded": false,
        "completeness": "unknown",
        "comparisons": [],
        "notes": [
          "Experiment results are turned off until their privacy checks are finished."
        ]
      }
    }
  ],
  "versions": [
    {
      "id": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
      "version": 2
    },
    {
      "id": "19ea6dc1-36d4-483a-9503-552308c56871",
      "version": 1
    }
  ],
  "controlVersionId": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17"
}
```

### Errors

| Status | Meaning |
| - | - |
| 401 | `sign_in_required`, including an invalid or revoked token. |
| 403 | `insufficient_scope`: the token lacks the `read` scope or is pinned to another game. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with that UUID or public ID is for this account, or the account is not active. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: experiments could not be read or saved. With `retryAfterSeconds`, wait that long; without it, try again shortly. |

## Create an experiment

`POST https://opengame.io/api/v1/games/{id}/experiments`

**Authentication:** A creator token or a signed-in browser session.

Requires the `deploy` scope, and the game must be published. Creates a draft that compares the live version with an approved candidate. A game can have one draft or running experiment at a time. Nothing is served differently until it is started.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Body

Sent as `application/json`.

**name** `string` *required*

Leading and trailing spaces are removed before the length is checked. 1 to 120 characters. Example: `Shorter first level`.

**candidateVersionId** `string (uuid)` *required*

Example: `19ea6dc1-36d4-483a-9503-552308c56871`.

**candidatePercent** `integer` (default: 10)

The share of new sessions given the candidate. From 1 to 50.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/experiments' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Shorter first level",
  "candidateVersionId": "19ea6dc1-36d4-483a-9503-552308c56871",
  "candidatePercent": 10
}'
```

### Response 201

The draft.

```json theme={"system"}
{
  "id": "5f0c2a7e-9b1d-4c3e-a8f2-6d4b1e7c9a30",
  "game_id": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "creator_id": "8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63",
  "name": "Shorter first level",
  "control_version_id": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
  "candidate_version_id": "19ea6dc1-36d4-483a-9503-552308c56871",
  "state": "draft",
  "revision": 1,
  "config_revision": 1,
  "config": {
    "candidatePercent": 10,
    "minSessionsPerArm": 200,
    "minExposuresPerArm": 500,
    "errorIncreasePp": 5,
    "readyRegressionPercent": 30,
    "playtimeDropPercent": 20,
    "outcomes": {
      "version": 1,
      "survivalSeconds": [
        60,
        120,
        300,
        600
      ],
      "intervalZ": 2.5758293035489004,
      "intervalConfidence": 0.99,
      "minPlayersPerArm": 500,
      "minMeasuredPerArm": 200,
      "lateArrivalHours": 72,
      "timezone": "UTC"
    }
  },
  "prepared": null,
  "harm_evidence": null,
  "safety_checked_at": null,
  "created_at": "2026-10-20T09:12:30Z",
  "started_at": null,
  "ended_at": null,
  "allocation_ended_at": null
}
```

| Field | Required | Type | What it is |
| - | - | - | - |
| `creator_id` | yes | string | |
| `config_revision` | yes | integer | |
| `prepared` | yes | object or null | The two versions checked when the experiment started, with `hosts_verified`. Null until `start`. |
| `allocation_ended_at` | yes | string or null | When new players stopped being assigned an arm: set once, the first time a running experiment stops, rolls back, is invalidated or is promoted. Null for an experiment that never ran. |
| `harm_evidence` | yes | object or null | The measurements behind an automatic rollback. |
| `safety_checked_at` | yes | string or null | When the automatic safety check last read this experiment, which it does only while it runs. Null for one that never ran. |
| `id` | yes | string | |
| `game_id` | yes | string | |
| `name` | yes | string | |
| `control_version_id` | yes | string | The live version when the experiment was created. |
| `candidate_version_id` | yes | string | |
| `state` | yes | string | |
| `revision` | yes | integer | |
| `config` | yes | object | The traffic share, the safety thresholds and `outcomes`, the policy an evaluation follows, all fixed at creation. |
| `created_at` | yes | string | |
| `started_at` | yes | string or null | Set by `start`. Null for an experiment that never ran. |
| `ended_at` | yes | string or null | Set by `stop`, and set again by `promote`. |

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the body is not JSON, has an unknown key, or `name`, `candidateVersionId` or `candidatePercent` is not valid. |
| 401 | `sign_in_required`, including an invalid or revoked token. |
| 403 | `insufficient_scope`: the token lacks the scope this operation names, or is pinned to another game. `forbidden`: a browser change came from another site. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. |
| 404 | `game_not_found`: no game with that UUID or public ID is for this account, or the account is not active. |
| 409 | `experiment_conflict`: the experiment could not be created. The game is not published, the candidate is the live version or is not approved, held or unavailable, or another experiment is still a draft or running. Read the experiments again before retrying. |
| 413 | `body_too_large`: the body is over `play.sessionRefreshBodyBytesMax` (4096) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: experiments could not be read or saved. With `retryAfterSeconds`, wait that long; without it, try again shortly. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |

## Start, stop, promote or evaluate an experiment

`POST https://opengame.io/api/v1/games/{id}/experiments/{experimentId}/{action}`

**Authentication:** A creator token or a signed-in browser session.

Requires the `deploy` scope. Send the `revision` you last read. `stop` works on a draft or running experiment, `start` on a draft, `promote` on a running or stopped one, and `evaluate` in any state. `start` answers 503 `experiments_unavailable` and changes nothing unless experiment starts are turned on; where they are, `start` checks that both versions can be served before it changes anything. From the close of entries, `start` answers 403 `entries_closed` and changes nothing. `start` and `promote` also need the game still published on the experiment's control version, and the candidate released. `promote` makes the candidate the live version. If `promote` answered 503, send it again with the same `revision`; a promoted experiment accepts it and returns the row. `evaluate` records an outcome and changes nothing that is served. While results are turned off it records nothing and answers an `unavailable` outcome.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

**experimentId** `string (uuid)` *required*

Example: `5f0c2a7e-9b1d-4c3e-a8f2-6d4b1e7c9a30`.

**action** `string` *required*

One of `start`, `stop`, `promote` or `evaluate`.

### Body

Sent as `application/json`.

**revision** `integer` *required*

At least 1. Example: `1`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/experiments/5f0c2a7e-9b1d-4c3e-a8f2-6d4b1e7c9a30/stop' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "revision": 1
}'
```

### Response 200

The experiment after the change, with `promotedVersionId` after `promote`. For `evaluate`, the recorded outcome, or a newer one already saved.

```json theme={"system"}
{
  "id": "5f0c2a7e-9b1d-4c3e-a8f2-6d4b1e7c9a30",
  "game_id": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "creator_id": "8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63",
  "name": "Shorter first level",
  "control_version_id": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
  "candidate_version_id": "19ea6dc1-36d4-483a-9503-552308c56871",
  "state": "stopped",
  "revision": 2,
  "config_revision": 1,
  "config": {
    "candidatePercent": 10,
    "minSessionsPerArm": 200,
    "minExposuresPerArm": 500,
    "errorIncreasePp": 5,
    "readyRegressionPercent": 30,
    "playtimeDropPercent": 20,
    "outcomes": {
      "version": 1,
      "survivalSeconds": [
        60,
        120,
        300,
        600
      ],
      "intervalZ": 2.5758293035489004,
      "intervalConfidence": 0.99,
      "minPlayersPerArm": 500,
      "minMeasuredPerArm": 200,
      "lateArrivalHours": 72,
      "timezone": "UTC"
    }
  },
  "prepared": null,
  "harm_evidence": null,
  "safety_checked_at": null,
  "created_at": "2026-10-20T09:12:30Z",
  "started_at": null,
  "ended_at": "2026-10-20T09:15:02Z",
  "allocation_ended_at": null
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the body is not JSON, has a key except `revision`, or `revision` is not a whole number of 1 or more. |
| 401 | `sign_in_required`, including an invalid or revoked token. |
| 403 | `insufficient_scope`: the token lacks the scope this operation names, or is pinned to another game. `forbidden`: a browser change came from another site. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `entries_closed`: entries have closed, so `start` changed nothing, and `retry` is `never`. |
| 404 | `not_found`: `experimentId` is not a UUID, or the action is not one of the four. Or `game_not_found`. |
| 409 | `experiment_conflict`: no experiment of this game has this ID, it changed since you read it, it is in a state this action cannot leave, the game's live version or visibility changed, a release is publishing, a version is no longer approved, or `start` could not prepare both versions. Read the experiments again before retrying. A `promote` includes `retry` set to `never` when the candidate's archive was flagged by the malware scan or is held, or the creator's account cannot publish. |
| 413 | `body_too_large`: the body is over `play.sessionRefreshBodyBytesMax` (4096), checked before the action and ID bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `experiments_unavailable`: experiment starts are turned off, so `start` changed nothing. `temporarily_unavailable`: retry. After `promote`, that means the candidate was selected and the public address is still updating, so retry `promote`. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |

## Start a new game from a remixable one

`POST https://opengame.io/api/v1/games/{id}/remix`

**Authentication:** A creator token or a signed-in browser session.

Requires the `deploy` scope on an account-wide token or a browser session. The source game must be published with remixing turned on under a supported license. Creates a draft game of yours and deploys a copy of the source's licensed version through the ordinary deploy, so the copy goes through each check a deploy does. Retrying with the same `Idempotency-Key` returns the same remix. If the deploy is rejected, your draft game already exists; send the same request with the same key to try the deploy again.

### Parameters

#### Path

**id** `string` *required*

Source game UUID or public ID. Example: `c2a8e4f1-6b3d-4e7a-9c5f-1d8b3a6e2f94`.

#### Headers

**Idempotency-Key** `string (uuid)` *required*

A UUID. Reuse it on each retry of this remix. Example: `9e2c5a7b-4d1f-4b38-a6e9-0c3d8f1b7a54`.

### Body

Sent as `application/json`.

**title** `string` *required*

The parser takes 1 character, but the copied manifest needs 3, so a shorter title makes the draft and then fails with `release_unavailable`. 3 to 40 characters. Example: `Lantern Keeper remix`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/games/c2a8e4f1-6b3d-4e7a-9c5f-1d8b3a6e2f94/remix' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Idempotency-Key: 9e2c5a7b-4d1f-4b38-a6e9-0c3d8f1b7a54' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "Lantern Keeper remix"
}'
```

### Response 200

The remix, whose deploy is already ready.

```json theme={"system"}
{
  "gameId": "a1d6f3b8-9e2c-4b57-8d0a-5f3e7c1b9a64",
  "publicId": "r8w2n5c7",
  "parentGameId": "c2a8e4f1-6b3d-4e7a-9c5f-1d8b3a6e2f94",
  "parentVersionId": "5a9d2e7c-3f1b-4c86-a0e5-8b4d6f2c1a93",
  "sourceLicense": "MIT",
  "operation": {
    "id": "3e8c1a6f-7d2b-4f95-b0e4-9a5c2d8f1b67",
    "engine": {
      "id": "unity",
      "name": "Unity",
      "version": "6000.0.23f1",
      "evidence": "Build/LanternKeeper.loader.js names UnityLoader 6000.0.23f1",
      "also": [],
      "threaded": false
    },
    "build": {
      "compression": [
        "br"
      ],
      "wasmBytes": 15728640,
      "largestFile": {
        "path": "Build/LanternKeeper.data.br",
        "bytes": 29360128
      },
      "hashedFilenames": false
    },
    "state": "ready",
    "gameId": "a1d6f3b8-9e2c-4b57-8d0a-5f3e7c1b9a64",
    "buildId": "9b4f7d2a-1e6c-4a38-8f0d-6c3e5a9b2d14",
    "releaseId": "e6a2c8f4-0b7d-4e19-9c3a-5f1d8b6e2a70",
    "error": null,
    "createdAt": "2026-10-21T15:06:12Z",
    "statusUrl": "/api/v1/operations/3e8c1a6f-7d2b-4f95-b0e4-9a5c2d8f1b67",
    "metadata": {
      "revision": 1,
      "keptFields": [],
      "source": "local"
    },
    "publicId": "r8w2n5c7",
    "gameOrigin": "https://w8n2c5r7t3ef.opengame.gg",
    "previewUrl": "https://opengame.io/g/r8w2n5c7?preview=e6a2c8f4-0b7d-4e19-9c3a-5f1d8b6e2a70",
    "progress": {
      "code": "ready",
      "label": "Ready",
      "message": "Your private preview is ready.",
      "waitingOn": "nobody",
      "fault": null,
      "since": "2026-10-21T15:08:37Z"
    },
    "findings": [],
    "next": null
  }
}
```

### Response 202

The remix, whose deploy is still running or has failed. Read `operation.state`, and follow `operation.statusUrl` while it runs.

```json theme={"system"}
{
  "gameId": "a1d6f3b8-9e2c-4b57-8d0a-5f3e7c1b9a64",
  "publicId": "r8w2n5c7",
  "parentGameId": "c2a8e4f1-6b3d-4e7a-9c5f-1d8b3a6e2f94",
  "parentVersionId": "5a9d2e7c-3f1b-4c86-a0e5-8b4d6f2c1a93",
  "sourceLicense": "MIT",
  "operation": {
    "id": "3e8c1a6f-7d2b-4f95-b0e4-9a5c2d8f1b67",
    "engine": null,
    "build": null,
    "state": "queued",
    "gameId": "a1d6f3b8-9e2c-4b57-8d0a-5f3e7c1b9a64",
    "buildId": "9b4f7d2a-1e6c-4a38-8f0d-6c3e5a9b2d14",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T15:06:12Z",
    "statusUrl": "/api/v1/operations/3e8c1a6f-7d2b-4f95-b0e4-9a5c2d8f1b67",
    "publicId": "r8w2n5c7",
    "gameOrigin": "https://w8n2c5r7t3ef.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "queued",
      "label": "Queued",
      "message": "Queued for checks. Nothing to do.",
      "waitingOn": "opengame",
      "fault": null,
      "since": "2026-10-21T15:06:14Z"
    },
    "findings": [],
    "next": "opengame status --watch"
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`, including a missing or non-UUID `Idempotency-Key`. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the token is limited to one game or has no `deploy` scope. `forbidden`: the game does not allow remixing under a supported license, or a browser request came from another site. `uploads_closed`: OpenGame is not taking new uploads from this account, so nothing was started, and `retry` is `later`. The message names the day uploads open again when there is one. `entries_closed`: entries have closed, so no new deploy or remix starts, fixes included, and `retry` is `never`. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: the ID is malformed, no game has it, the game is not published, the licensed version is unpublished or held, or the archive is no longer stored. Or `not_found`: this server does not serve the creator API. |
| 409 | `release_unavailable`: the source's manifest does not pass today's checks, or the archive is missing from storage. `idempotency_conflict`: this key was used for a different source or title. Or a refusal from the deploy the remix starts, such as `game_removed`, `kind_not_in_jam` or `upload_missing` when the copied archive did not arrive. `owner_mismatch`: opengame.json's `owner` names a different account, so change it to your own `@handle` or deploy from your own copy. `github_owner_unproved`: a GitHub deploy's branch or release no longer names that commit, or the repository's own opengame.json names a different account as the owner. No opengame.json is needed. |
| 413 | `body_too_large`: the body is over `platform.manifest.bytesMax` (65536) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `deploy_rate_limited`, `deploy_day_limited`, `storage_budget_exhausted` or `rate_limited`. Wait `retryAfterSeconds` when the body gives it. The deploy inside the remix counts against the token's allowance a second time. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 502 | `github_unreachable`: OpenGame could not read the repository from GitHub to check it. Send the same request again in a minute. |
| 503 | `temporarily_unavailable`: the cause is on our side, so wait `retryAfterSeconds` when the body gives it and send it again. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |

## Let others remix this game

`PUT https://opengame.io/api/v1/games/{id}/remix/license`

**Authentication:** A creator token or a signed-in browser session.

Requires the `deploy` scope for this game. Names the live version others may copy and the license it is shared under: MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, CC0-1.0, CC-BY-4.0. A game has one remix license; saving replaces it. The version you name stays the remix source after you publish a newer one, until you save the license again.

### Parameters

#### Path

**id** `string` *required*

Game UUID or public ID. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

### Body

Sent as `application/json`.

**versionId** `string (uuid)` *required*

The game's current live version. Example: `0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17`.

**license** `string` *required*

One of `MIT`, `Apache-2.0`, `BSD-2-Clause`, `BSD-3-Clause`, `ISC`, `CC0-1.0` or `CC-BY-4.0`.

**enabled** `boolean` *required*

Example: `true`.

### Request

```bash cURL theme={"system"}
curl --request PUT \
  --url 'https://opengame.io/api/v1/games/b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71/remix/license' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "versionId": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
  "license": "MIT",
  "enabled": true
}'
```

### Response 200

The saved license.

```json theme={"system"}
{
  "versionId": "0d7e3b58-6a21-4f9c-b4e2-93c1a8f05d17",
  "license": "MIT",
  "enabled": true
}
```

| Field | Required | Type |
| - | - | - |
| `versionId` | yes | string |
| `license` | yes | string |
| `enabled` | yes | boolean |

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the body does not match, the license is not one listed, the version is not the game's current live version, or the game is not published. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `insufficient_scope`: the credential has no `deploy` scope for this game. `forbidden`: a browser change came from another site. `not_member`: this account does not have access to the creator API. `account_inactive`: the account is suspended or deleted. `account_banned`: OpenGame's moderators have banned the account, so it can read and roll back to a version that was live, but cannot ship anything new, and `retry` is `never`. `not_launched`: the creator API is closed to this caller. It is open to each signed-in account, so sign in and try again. |
| 404 | `game_not_found`: no game with this UUID or public ID is for your account. Or `not_found`: this server does not serve the creator API. |
| 413 | `body_too_large`: the body is over `platform.manifest.bytesMax` (65536) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `rate_limited`: this token made too many requests. Wait `retryAfterSeconds`. A browser session is not counted. |
| 500 | `internal_error`: a failure retrying cannot fix. Quote `requestId` when you report it. |
| 503 | `temporarily_unavailable`: the cause is on our side, so wait `retryAfterSeconds` when the body gives it and send it again. `platform_unconfigured`: a fault on OpenGame's side, so try again later. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.