> ## 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.

# Deploys

> Deploy a browser game through the OpenGame API. Declare an archive, upload it, and follow the checks to a private preview.

A deploy uploads one build of your game. You declare the archive, upload the bytes to the address the server returns, and confirm the upload. The server then checks the archive, and when the checks pass it makes a release with a private preview. `opengame deploy` makes all of these calls, resumes an upload that stopped, and is how most people deploy.

[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.

## Start a deploy

`POST https://opengame.io/api/v1/deploys`

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

Declares an archive by size, file count and SHA-256, creates the operation, and returns a presigned create-only upload. With `multipart: true` and an archive over 67108864 bytes, it returns `multipart` instead: send each part to a URL from `POST /api/v1/operations/{id}/upload/parts`, then confirm. Without it, an archive over 524288000 bytes is rejected as `bundle_limit`. Requires the `deploy` scope. Omit `gameId` to create a game. Limited to 30 deploys an hour per account and 30 per token, and to 5 per account in any 24 hours. Retrying with the same `Idempotency-Key` returns the same operation, so a timeout never makes a second game. A browser session must send `Origin` set to the OpenGame origin.

### Parameters

#### Headers

**Idempotency-Key** `string` *required*

Generate once per deploy, save it before sending, and reuse it on each retry. 1 to 128 characters. Matches `^[A-Za-z0-9._:-]+$`. Example: `cli-20261021-7c9e6679`.

### Body

Sent as `application/json`.

**gameId** `string (uuid)`

The linked game, from `.opengame/project.json`. Omit for a new game. Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

**byteSize** `integer` *required*

From 1 to 4,294,967,295. Example: `40363`.

**fileCount** `integer` *required*

From 1 to 25,000. Example: `2`.

**sha256** `string` *required*

Matches `^[0-9a-f]{64}$`. Example: `b8d366f9c6b992934298623f0295a2e61b6ca91b7a25304a553695b9e98f0ef0`.

**manifest** `object` *required*

opengame.json without `build.command`. Build commands stay on your machine. The [packaging guide](https://docs.opengame.io/guides/packaging.md) covers each field.

**metadataRevision** `integer or null`

The website revision this manifest was last synced from. At least 1.

**metadata** `string` (default: preserve)

One of `preserve` or `local`. `preserve` keeps newer website edits; `local` replaces them on purpose.

**multipart** `boolean`

Only `true`. This client can send the archive in parts. Used for an archive over 67108864 bytes; a smaller one still gets one `upload`.

**provisional** `array of string`

The manifest fields this deploy sent only as placeholders, which review fills in and you confirm once review has passed: any of `title`, `description`, `genre` and `controls` that opengame.json leaves to Auto (a tagline is never named here), or a title read from the folder. `opengame deploy` sends it. Name each field once. At most 4 items.

**source** `object`

Where the files came from, when it was not your own disk: a public GitHub repository at one commit, with the branch or release and the folder. The server checks that the commit is that branch's or release's own before anything is stored. The GitHub tab on the deploy page sends it.

**fields**

**kind** `string` *required*

Always `github`.

**owner** `string` *required*

Matches `^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?$`.

**repo** `string` *required*

Matches `^[A-Za-z0-9._-]{1,100}$`.

**ref** `string` *required*

1 to 255 characters. Matches `^[^\s~^:?*[\\]+$`.

**refKind** `string` *required*

One of `branch` or `release`.

**commit** `string` *required*

Matches `^[0-9a-f]{40}$`.

**folder** `string` *required*

At most 512 characters. Matches `^(?:[^/\\:]+(?:\/[^/\\:]+)*)?$`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/deploys' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Idempotency-Key: cli-20261021-7c9e6679' \
  --header 'Content-Type: application/json' \
  --data '{
  "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
  "byteSize": 40363,
  "fileCount": 2,
  "sha256": "b8d366f9c6b992934298623f0295a2e61b6ca91b7a25304a553695b9e98f0ef0",
  "manifest": {
    "title": "Tide Runner",
    "genre": "racing-sports",
    "kind": "game",
    "controls": [
      "keyboard",
      "gamepad"
    ],
    "description": "Steer a paper boat down a storm drain and pick up every lost marble before the water rises."
  },
  "metadataRevision": null,
  "metadata": "preserve",
  "multipart": true
}'
```

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

### Response 200

The operation, with an upload when bytes are still needed. `upload` is absent when `uploaded` is true, when the archive goes in parts (`multipart` instead), or when the operation has left `uploading`.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "upload": {
    "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/builds/f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62/bundle.zip?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=c6e59cad5d7bd209ba786e6838b54a68c14ae3693ac9aa4356cecdbdd257c288",
    "headers": {
      "content-length": "40363",
      "content-type": "application/zip",
      "if-none-match": "*"
    },
    "key": "builds/f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62/bundle.zip",
    "expiresInSeconds": 600
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the body does not match the schema. Fix the field and send it again. `invalid_idempotency_key`: the header is missing or not in the allowed form. Generate a new key and save it before sending. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: this token is pinned to another game, lacks the Deploy permission, or a browser request came from another site. Use a token for this game. `insufficient_scope`: the credential cannot deploy here. `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`: `gameId` names a game this account does not have. Omit it to create a game, or take one from `GET /api/v1/games`. Or `not_found`: this server does not serve the creator API. |
| 409 | `idempotency_conflict`: this key was already used for a different request, so send a new one. `game_removed`: the game was removed and takes no new releases. `kind_not_in_jam`: the manifest makes a game entered in the jam a decomp or a mod, so withdraw the entry first. `handle_required`: claim a handle at `url`, then send it again. `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 | `bundle_limit`: the archive is over 524288000 bytes and the request did not ask for parts, so update the CLI, which sends it in parts. `body_too_large`: the body is over `platform.manifest.bytesMax` (65536) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `deploy_rate_limited` (30 an hour per account, 30 per token), `deploy_day_limited` (5 in any 24 hours per account), `storage_budget_exhausted`, or `rate_limited` for this token. Wait `retryAfterSeconds` when the body gives it, then send the same request with the same key. `storage_budget_exhausted` gives one only when a failed deploy is waiting to be cleared. `rate_limited` for a GitHub deploy: this account asked for 30 GitHub repository checks in the last hour, the most it can, so nothing was uploaded. Wait `retryAfterSeconds`, or deploy the build with Drop or the CLI. |
| 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. `rate_limited` for a GitHub deploy: the account's GitHub allowance could not be read, so nothing was fetched or uploaded. Wait `retryAfterSeconds`, then send it again. |

## Start a deploy with a file manifest

`POST https://opengame.io/api/v1/deploys/files`

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

Requires the deploy scope and per-file processing on this server, which bootstrap reports as `capabilities.incrementalUpload`. While that is `true`, the CLI sends an ordinary build this way, unless the stored archive would be past `platform.incrementalUpload.archiveBytesMax`. Some servers do not offer it. When unavailable, returns 503 `temporarily_unavailable` with `retry` set to `never` before reading the body; use `POST /api/v1/deploys` with a ZIP. A browser request from another site gets 403 first. Reuse the same Idempotency-Key on each retry. Returns the first page of missing content hashes and create-only storage PUT URLs. Cached content is scoped to this account.

### Parameters

#### Headers

**Idempotency-Key** `string` *required*

Generate once per deploy and reuse on each retry. 1 to 128 characters. Matches `^[A-Za-z0-9._:-]+$`. Example: `cli-20261021-7c9e6679`.

### Body

Sent as `application/json`.

**gameId** `string (uuid)`

Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

**byteSize** `integer` *required*

From 1 to 209,715,200 (200 MiB).

**fileCount** `integer` *required*

From 1 to 25,000.

**sha256** `string` *required*

Matches `^[0-9a-f]{64}$`.

**manifest** `object` *required*

opengame.json without build.command. Build commands stay on the creator's machine. The [packaging guide](https://docs.opengame.io/guides/packaging.md) covers each field.

**metadataRevision** `integer or null`

**metadata** `string` (default: preserve)

One of `preserve` or `local`.

**files** `array of objects` *required*

1 to 25000 items.

**fields of each item**

**path** `string` *required*

**sha256** `string` *required*

Matches `^[0-9a-f]{64}$`.

**byteSize** `integer` *required*

From 0 to 1,073,741,824 (1 GiB).

**source** `object`

Where the files came from, when it was not your own disk: a public GitHub repository at one commit, with the branch or release and the folder. The server checks that the commit is that branch's or release's own before anything is stored. The GitHub tab on the deploy page sends it.

**fields**

**kind** `string` *required*

Always `github`.

**owner** `string` *required*

Matches `^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?$`.

**repo** `string` *required*

Matches `^[A-Za-z0-9._-]{1,100}$`.

**ref** `string` *required*

1 to 255 characters. Matches `^[^\s~^:?*[\\]+$`.

**refKind** `string` *required*

One of `branch` or `release`.

**commit** `string` *required*

Matches `^[0-9a-f]{40}$`.

**folder** `string` *required*

At most 512 characters. Matches `^(?:[^/\\:]+(?:\/[^/\\:]+)*)?$`.

**provisional** `array of string`

The manifest fields this deploy sent only as placeholders, which review fills in and you confirm once review has passed: any of `title`, `description`, `genre` and `controls` that opengame.json leaves to Auto (a tagline is never named here), or a title read from the folder. `opengame deploy` sends it. Name each field once. At most 4 items.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/deploys/files' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Idempotency-Key: cli-20261021-7c9e6679' \
  --header 'Content-Type: application/json' \
  --data '{
  "byteSize": 40363,
  "fileCount": 2,
  "sha256": "b8d366f9c6b992934298623f0295a2e61b6ca91b7a25304a553695b9e98f0ef0",
  "manifest": {
    "title": "Tide Runner",
    "genre": "racing-sports",
    "kind": "game",
    "controls": [
      "keyboard",
      "gamepad"
    ],
    "description": "Steer a paper boat down a storm drain and pick up every lost marble before the water rises."
  },
  "files": [
    {
      "path": "Build/TideRunner.loader.js",
      "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
      "byteSize": 38211
    },
    {
      "path": "index.html",
      "sha256": "0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051",
      "byteSize": 1874
    }
  ]
}'
```

### Response 200

The operation and first file page.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "files": {
    "missing": [
      {
        "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
        "byteSize": 38211,
        "upload": {
          "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=3c4db17a39ef824b73418aaa7ea93667f161155c845f37306761e9d4e3ca02dd",
          "headers": {
            "content-length": "38211",
            "content-type": "application/octet-stream",
            "if-none-match": "*"
          },
          "key": "file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
          "expiresInSeconds": 600
        }
      }
    ],
    "reusedFiles": 1,
    "reusedBytes": 1874,
    "totalFiles": 2,
    "totalBytes": 40085,
    "cursor": 0,
    "nextCursor": null
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: no body, not JSON, or the manifest does not match the schema, including a `fileCount` or `byteSize` that does not match `files`. `invalid_idempotency_key`: the header is missing or malformed. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: the token cannot deploy this game, or a browser request came from another site. `insufficient_scope`: the credential cannot deploy here. `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`: `gameId` is not in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `idempotency_conflict`: the key was used for a different request, or for a ZIP deploy. Use a new key. `game_removed`: the game takes no new releases. `kind_not_in_jam`: the manifest makes a game entered in the jam a decomp or a mod, so withdraw the entry first. `handle_required`: claim a handle at `url`. `upload_attempts_exhausted`, `upload_size_mismatch` or `build_conflict` from the first page: start a new deploy. `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.incrementalUpload.bodyBytesMax` (4194304) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`. |
| 429 | `deploy_rate_limited`, `deploy_day_limited`, `storage_budget_exhausted` or `rate_limited` for this token. Only `rate_limited` includes `retryAfterSeconds` here. `rate_limited` for a GitHub deploy: this account asked for 30 GitHub repository checks in the last hour, the most it can, so nothing was uploaded. Wait `retryAfterSeconds`, or deploy the build with Drop or the CLI. |
| 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` with `retry` set to `never`: file uploads are off, so use `POST /api/v1/deploys`. With `retry` set to `later`: a failure on OpenGame's side, so send the same request again with the same key. Or `platform_unconfigured`. `rate_limited` for a GitHub deploy: the account's GitHub allowance could not be read, so nothing was fetched or uploaded. Wait `retryAfterSeconds`, then send it again. |

## Read the next page of missing files

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

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

For a file deploy started with `POST /api/v1/deploys/files`. Requires the deploy scope for this operation. Each page covers at most 32 distinct content hashes. Send the returned nextCursor even when missing is empty; cached hashes also occupy page positions. A null nextCursor ends pagination. Reading a page signs fresh URLs for the missing files once their previous URLs have expired, and each signing spends one of 3 attempts for that file. No upload URLs are returned after the operation leaves uploading.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

#### Query

**cursor** `integer` (default: 0)

Use nextCursor from the previous file page. From 0 to 25,000.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/files' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

Missing content and observed reuse counts.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "files": {
    "missing": [
      {
        "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
        "byteSize": 38211,
        "upload": {
          "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=3c4db17a39ef824b73418aaa7ea93667f161155c845f37306761e9d4e3ca02dd",
          "headers": {
            "content-length": "38211",
            "content-type": "application/octet-stream",
            "if-none-match": "*"
          },
          "key": "file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
          "expiresInSeconds": 600
        }
      }
    ],
    "reusedFiles": 1,
    "reusedBytes": 1874,
    "totalFiles": 2,
    "totalBytes": 40085,
    "cursor": 0,
    "nextCursor": null
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: `cursor` is not a whole number in range, or this operation is a ZIP deploy. |
| 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 cannot deploy this operation's 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 | `not_found`: no operation with that UUID is in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_attempts_exhausted`: a missing file used the signing attempts. `upload_size_mismatch`: a cached file's stored size changed. `upload_expired`: the deploy ran out of time to upload. `build_conflict`: the deploy cannot continue. Start a new deploy for all four. |
| 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 operation's files. Wait `retryAfterSeconds`, then read the operation. |

## Verify one uploaded file

`POST https://opengame.io/api/v1/operations/{id}/files/{hash}`

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

For a file deploy. Call after the storage PUT succeeds. Send no file bytes or JSON body here. The server reads the stored bytes and verifies their hash and size before marking the file verified. Requires the deploy scope.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

**hash** `string` *required*

SHA-256 from the file manifest. Matches `^[0-9a-f]{64}$`. Example: `bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/files/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

Verified content. When the operation has already left uploading, the operation alone, with no `file`.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "file": {
    "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
    "byteSize": 38211,
    "verified": true
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: `hash` is not 64 lowercase hex characters. |
| 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 cannot deploy this operation's 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 | `not_found`: no operation with that UUID is in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_size_mismatch`: the stored bytes do not match the hash or size, so start a new deploy with the corrected files. `upload_missing`: a file sent in parts still lacks some, so send them and confirm again. `upload_attempts_exhausted` or `upload_expired`: start a new deploy. `build_conflict`: another confirmation of this file is running or the operation changed. Wait 120 seconds, then read the operation. |
| 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`. With `retry` set to `never`: file uploads are off, so use `POST /api/v1/deploys`. With `retry` set to `later` and `retryAfterSeconds`: the review budget is paused, so wait and confirm again. With `retry` set to `later` and no wait: the stored file could not be read, which is also the answer when the PUT never arrived or the hash is not in the manifest. Finish the PUT, then confirm again. |

## Send one large file in parts

`POST https://opengame.io/api/v1/operations/{id}/files/{hash}/parts`

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

For a file or large-asset deploy, and a file over `platform.deploy.multipart.aboveBytes` (67108864 bytes) that the deploy's page lists as missing. Answers the file's part plan, each part of `platform.deploy.multipart.partBytes` (16777216 bytes) but the last, with `uploadedParts` listing what storage already holds, and a signed PUT for each part number named, up to 64 a request. Send `parts: []` to read the plan alone. Signing spends no upload attempt. Once each part has arrived, confirm the file as usual with `POST /api/v1/operations/{id}/files/{hash}` or `.../files/verify`, which joins the parts first; a confirmation that finds parts missing answers `upload_missing`, so send the rest and confirm again. `uploaded: true` means the parts are already joined. A browser session must send `Origin` set to the OpenGame origin.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

**hash** `string` *required*

SHA-256 from the file manifest. Matches `^[0-9a-f]{64}$`. Example: `c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328`.

### Body

Sent as `application/json`.

**parts** `array of integer` *required*

0 to 64 items. No item twice.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/files/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328/parts' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "parts": [
    2
  ]
}'
```

### Response 200

The file's part plan and one signed PUT per part named. When the operation has left uploading, the operation and an empty list.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "file": {
    "sha256": "c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
    "byteSize": 50331648,
    "partBytes": 16777216,
    "partCount": 3,
    "uploaded": false,
    "uploadedParts": [
      1
    ]
  },
  "parts": [
    {
      "partNumber": 2,
      "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328?partNumber=2&uploadId=2~Hb4kR9wQeT1yZs6Lp3VxC7nM&X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bhost&X-Amz-Signature=6f31802acf26645848543e590d0ef4d8993a9d94c221b1d95be39b45304d04f4",
      "headers": {
        "content-length": "16777216"
      },
      "expiresInSeconds": 3600
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: `hash` is not 64 lowercase hex characters, is not in this deploy, names a file small enough for one PUT, or the list is too long, repeats a number or names a part past the file's plan. |
| 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 cannot deploy this operation's game, or a browser request came from another site. `insufficient_scope`: the credential cannot change this deploy. `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`: no operation with that UUID is in this account. `game_not_found`: the operation's game is no longer in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_expired`: the deploy ran out of time to upload. `build_conflict`: the deploy names a stored file that is not this account's. Start a new deploy for either. |
| 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. `submission_destination_unavailable`: deploys have nowhere to be stored right now, so nothing was signed. Try again later. |

## Send small files together

`POST https://opengame.io/api/v1/operations/{id}/files/pack`

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

For a file or large-asset deploy whose bootstrap names `filePacks`. Sends up to 1024 of the deploy's files of at most `platform.incrementalUpload.packFileBytesMax` (1048576) bytes each in one request of at most 4194304 bytes, with `Content-Type: application/octet-stream`. The body is a four-byte little-endian length, that many bytes of JSON `{"files":[{"sha256":"…","byteSize":…}]}` naming the files in order, then their bytes end to end. The server checks each file's SHA-256 and size, stores it where the PUT would have, and records the pack verified; nothing else needs sending for those files. Files already verified are accepted and left out of the answer. If any file fails, nothing in the pack is stored. Safe to repeat. Larger files go up through `POST /api/v1/operations/{id}/files/{hash}/parts`. Requires the deploy scope.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/files/pack' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The files this pack verified. When the operation has already left uploading, the operation and an empty list.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "files": [
    {
      "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
      "byteSize": 38211,
      "verified": true
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the body is not a pack (the header, the count or the sizes do not add up), a file is past the size a pack takes, or a file is not in this deploy. |
| 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 cannot deploy this operation's game, or a browser request came from another site. `insufficient_scope`: the credential cannot change this deploy. `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`: no operation with that UUID is in this account. `game_not_found`: the operation's game is no longer in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_size_mismatch`: a file's bytes are not the hash, or the size is not the one the deploy recorded, so nothing in the pack was stored. Start a new deploy with the corrected files. `upload_expired`: the deploy ran out of time to upload. `build_conflict`: the deploy names a stored file that is not this account's, or it left uploading while the pack was stored. Start a new deploy. |
| 413 | `body_too_large`: the pack is past `platform.incrementalUpload.bodyBytesMax` (4194304). Send fewer files in it. |
| 415 | `content_type`: send the pack as `application/octet-stream`. |
| 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. `submission_destination_unavailable`: deploys have nowhere to be stored right now, so nothing was stored. Try again later. |

## List each file the deploy still needs

`POST https://opengame.io/api/v1/operations/{id}/files/plan`

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

For a file deploy. Returns the SHA-256 and size of each manifest file not yet verified, in hash order, and the deploy's total distinct file count. It signs no URLs and spends no upload attempts: read pages from `GET /api/v1/operations/{id}/files` for those. Send no body. Safe to repeat. Requires the deploy scope for this operation. A deploy holds at most 25000 files, or a large-asset plan's own count.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/files/plan' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

Each hash still to upload and confirm. `files` is empty once all are verified.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "files": [
    {
      "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
      "byteSize": 38211
    }
  ],
  "totalFiles": 2
}
```

### 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 cannot deploy this operation's game, or cannot change this deploy. `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`: no operation with that UUID is in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_expired`: the deploy ran out of time to upload. Start a new deploy. |
| 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 plan. Wait `retryAfterSeconds`, then send it again. A ZIP deploy has no file plan and gets this answer too, so read it with `GET /api/v1/operations/{id}` instead. |

## Verify a page of uploaded files

`POST https://opengame.io/api/v1/operations/{id}/files/verify`

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

For a file or large-asset deploy. Call after the storage PUTs for a page succeed, naming up to 256 hashes from the manifest. A file sent in parts is joined first, and answers `upload_missing` until each part has arrived. The server checks each stored object's size and SHA-256 checksum, or reads the bytes when storage has no checksum for it, and records the whole page at once. Hashes already verified are accepted and left out of the answer. If any file fails, none in the page is recorded. Safe to repeat. Requires the deploy scope.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Body

Sent as `application/json`.

**hashes** `array of string` *required*

SHA-256 hashes from the file manifest whose PUT has finished. 1 to 256 items.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/files/verify' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "hashes": [
    "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3"
  ]
}'
```

### Response 200

The files this call verified. Empty when each hash was already verified, or when the operation has already left uploading.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "files": [
    {
      "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
      "byteSize": 38211,
      "verified": true
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: there is no body, or a hash is not part of this deploy. |
| 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 cannot deploy this operation's game or change this deploy, 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 | `not_found`: no operation with that UUID is in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_size_mismatch`: a stored object is missing, or the size or checksum does not match the hash, so nothing in the page was recorded. A file whose PUT never arrived can be sent again while the URL is valid and the page verified again; otherwise start a new deploy. `upload_missing`: a file sent in parts still lacks some, so send them and verify the page again. `build_conflict`: the operation left uploading while the page was checked, so read the operation. `upload_expired`: start a new deploy. |
| 413 | `body_too_large`: the body is over `platform.incrementalUpload.bodyBytesMax` (4194304) 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`: the body is JSON but `hashes` is missing, empty, longer than the limit or holds something except lowercase SHA-256 hex. Fix the body; sending it again unchanged fails the same way. Quote `requestId` when you report another cause. |
| 503 | `temporarily_unavailable`. With `retry` set to `never`: file uploads are off, so use `POST /api/v1/deploys`. With `retry` set to `later` and `retryAfterSeconds`: the review budget is paused, or storage could not be read, so wait and verify the page again. Or `platform_unconfigured`. |

## Assemble the archive and queue checks

`POST https://opengame.io/api/v1/operations/{id}/files/complete`

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

For a file deploy. Call after each missing hash has been uploaded and confirmed. The server assembles the canonical STORE ZIP and checks the declared size and SHA-256, then uses the existing scan and review pipeline. Send no JSON body. Safe to repeat; a queued operation continues the checks. Requires the deploy scope.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/files/complete' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The existing operation, including an assembly already in progress or completed.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "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
    },
    "state": "ready",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "metadata": {
      "revision": 3,
      "keptFields": [],
      "source": "local"
    },
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": "https://opengame.io/g/tq7m4x2k9p?preview=c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
    "progress": {
      "code": "ready",
      "label": "Ready",
      "message": "Your private preview is ready.",
      "waitingOn": "nobody",
      "fault": null,
      "since": "2026-10-21T14:32:08Z"
    },
    "findings": [],
    "next": null
  }
}
```

### Response 202

Archive assembled and queued for checks.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "queued",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "queued",
      "label": "Queued",
      "message": "Queued for checks. Nothing to do.",
      "waitingOn": "opengame",
      "fault": null,
      "since": "2026-10-21T14:30:21Z"
    },
    "findings": [],
    "next": "opengame status --watch"
  }
}
```

### 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 cannot deploy this operation's game, or a browser request came from another site. `insufficient_scope`: the credential cannot change this deploy. `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`: no operation with that UUID is in this account. `game_not_found`: the operation's game is no longer in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_missing`: some hashes are not confirmed, so confirm them and call complete again. `build_conflict`: another complete is running, so wait 600 seconds and read the operation. `upload_attempts_exhausted`, `upload_expired` or `upload_size_mismatch`: start a new deploy. |
| 413 | `bundle_limit`: the assembled archive exceeds the file-upload limit. Update the CLI and deploy again to upload a ZIP directly. |
| 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`. With `retry` set to `never`: file uploads are off. With `retryAfterSeconds`: the review budget is paused, so wait and call complete again. Otherwise assembly failed, which today includes an archive whose SHA-256 or size does not match your declaration and a ZIP operation sent here. Or `platform_unconfigured`, when the account needs a handle and a fault on OpenGame's side left no address to claim one at. |

## Start a Unity deploy with large data assets

`POST https://opengame.io/api/v1/deploys/unity-assets`

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

Requires per-file processing on the server, which not each server offers. When unavailable, returns 503 `temporarily_unavailable` with `retry` set to `later` after sign-in and body checks. A Unity build within the archive limit can also use `POST /api/v1/deploys`. `opengame deploy --unity-assets <plan.json>` sends this request. The body is the file deploy's body for the capped boot archive, with `delivery` and a separate sorted plan of Unity data assets, each with path, sha256 and byteSize. The plan is frozen when the deploy begins. Requires the deploy scope. Reuse the same Idempotency-Key after a timeout. Returns the first page of missing content, boot files and assets together, with create-only storage PUT URLs.

### Parameters

#### Headers

**Idempotency-Key** `string` *required*

Generate once per deploy and reuse on each retry. 1 to 128 characters. Matches `^[A-Za-z0-9._:-]+$`. Example: `cli-20261021-7c9e6679`.

### Body

Sent as `application/json`.

**gameId** `string (uuid)`

Example: `b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71`.

**byteSize** `integer` *required*

Bytes in the boot archive's canonical STORE ZIP, which leaves the planned assets out. From 1 to 209,715,200 (200 MiB).

**fileCount** `integer` *required*

Files in the boot archive. From 1 to 25,000.

**sha256** `string` *required*

SHA-256 of the boot archive. Matches `^[0-9a-f]{64}$`.

**manifest** `object` *required*

opengame.json without build.command. Build commands stay on the creator's machine. The [packaging guide](https://docs.opengame.io/guides/packaging.md) covers each field.

**metadataRevision** `integer or null`

**metadata** `string` (default: preserve)

One of `preserve` or `local`.

**files** `array of objects` *required*

The boot archive's sorted file manifest. Planned assets are not listed here, and no path may appear in both lists. 1 to 25000 items.

**fields of each item**

**path** `string` *required*

**sha256** `string` *required*

Matches `^[0-9a-f]{64}$`.

**byteSize** `integer` *required*

From 0 to 1,073,741,824 (1 GiB).

**source** `object`

Where the files came from, when it was not your own disk: a public GitHub repository at one commit, with the branch or release and the folder. The server checks that the commit is that branch's or release's own before anything is stored. The GitHub tab on the deploy page sends it.

**fields**

**kind** `string` *required*

Always `github`.

**owner** `string` *required*

Matches `^[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?$`.

**repo** `string` *required*

Matches `^[A-Za-z0-9._-]{1,100}$`.

**ref** `string` *required*

1 to 255 characters. Matches `^[^\s~^:?*[\\]+$`.

**refKind** `string` *required*

One of `branch` or `release`.

**commit** `string` *required*

Matches `^[0-9a-f]{40}$`.

**folder** `string` *required*

At most 512 characters. Matches `^(?:[^/\\:]+(?:\/[^/\\:]+)*)?$`.

**provisional** `array of string`

The manifest fields this deploy sent only as placeholders, which review fills in and you confirm once review has passed: any of `title`, `description`, `genre` and `controls` that opengame.json leaves to Auto (a tagline is never named here), or a title read from the folder. `opengame deploy` sends it. Name each field once. At most 4 items.

**delivery** `string` *required*

Always `unity-assets-v1`. Always `unity-assets-v1`. Marks the body as a Unity large-asset deploy.

**assets** `array of objects` *required*

The Unity data files that travel outside the boot archive, sorted by the UTF-8 bytes of their paths. At most 1 GiB (1073741824 bytes) together. The plan is frozen when the deploy begins, so a changed file needs a new deploy. 1 to 512 items.

**fields of each item**

**path** `string` *required*

Relative to the export root, NFC, with no `?`, `#`, `%` or `:` and nothing under `_og/`. Either a `.data` file (also `.data.br`, `.data.gz` or `.data.unityweb`), or a file under `StreamingAssets/` ending in .bin, .json, .txt, .png, .jpg, .jpeg, .webp, .ktx, .ktx2, .basis, .dds, .mp3, .ogg, .wav, .mp4 or .webm. Unique even ignoring case.

**sha256** `string` *required*

SHA-256 of the file's stored bytes. Matches `^[0-9a-f]{64}$`.

**byteSize** `integer` *required*

The file's stored size. One hash cannot have two sizes across both lists. From 0 to 536,870,912 (512 MiB).

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/deploys/unity-assets' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Idempotency-Key: cli-20261021-7c9e6679' \
  --header 'Content-Type: application/json' \
  --data '{
  "byteSize": 40363,
  "fileCount": 2,
  "sha256": "b8d366f9c6b992934298623f0295a2e61b6ca91b7a25304a553695b9e98f0ef0",
  "manifest": {
    "title": "Tide Runner",
    "genre": "racing-sports",
    "kind": "game",
    "controls": [
      "keyboard",
      "gamepad"
    ],
    "description": "Steer a paper boat down a storm drain and pick up every lost marble before the water rises."
  },
  "files": [
    {
      "path": "Build/TideRunner.loader.js",
      "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
      "byteSize": 38211
    },
    {
      "path": "index.html",
      "sha256": "0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051",
      "byteSize": 1874
    }
  ],
  "delivery": "unity-assets-v1",
  "assets": [
    {
      "path": "Build/TideRunner.data",
      "sha256": "c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
      "byteSize": 96468992
    }
  ]
}'
```

### Response 200

The operation and first page of missing content, boot files and assets together.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "files": {
    "missing": [
      {
        "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
        "byteSize": 38211,
        "upload": {
          "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=3c4db17a39ef824b73418aaa7ea93667f161155c845f37306761e9d4e3ca02dd",
          "headers": {
            "content-length": "38211",
            "content-type": "application/octet-stream",
            "if-none-match": "*"
          },
          "key": "file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
          "expiresInSeconds": 600
        }
      },
      {
        "sha256": "c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
        "byteSize": 96468992,
        "upload": {
          "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=6f31802acf26645848543e590d0ef4d8993a9d94c221b1d95be39b45304d04f4",
          "headers": {
            "content-length": "96468992",
            "content-type": "application/octet-stream",
            "if-none-match": "*"
          },
          "key": "file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
          "expiresInSeconds": 600
        }
      }
    ],
    "reusedFiles": 1,
    "reusedBytes": 1874,
    "totalFiles": 3,
    "totalBytes": 96509077,
    "cursor": 0,
    "nextCursor": null
  },
  "delivery": "unity-assets-v1",
  "inputDigest": "3e7a1c9f5b2d8e4a6c0f3b7d9e1a5c8f2b4d6e0a7c9f1b3d5e8a2c4f6b0d9e7a"
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: no body, a body that is not valid JSON or not valid gzip, or a boot manifest or asset plan that does not validate for a known plan kind. `invalid_idempotency_key`: send an `Idempotency-Key`. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | Nothing was started. `forbidden`: the token cannot deploy this game or make a new one, or a browser request came from another site. `large_asset_lane_not_granted`: the plan kind needs large-asset access this account does not have, and `retry` is `never`; no plan kind asks for it since the Kaigen lane opened on 16 November 2026. `insufficient_scope`: the credential cannot deploy here. `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`: `gameId` is not in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `idempotency_conflict`: use a new key. `game_removed`: the game takes no new releases. `kind_not_in_jam`: the manifest makes a game entered in the jam a decomp or a mod, so withdraw the entry first. `handle_required`: claim a handle at `url`. From the first page, `build_conflict`, `upload_attempts_exhausted` or `upload_size_mismatch`: start a new deploy. `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.incrementalUpload.bodyBytesMax` (4194304) bytes as sent, or a gzip body decodes past `platform.incrementalUpload.assetPlanBodyBytesMax` (8388608) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`, with no `Content-Encoding` or with `gzip`. |
| 429 | `deploy_rate_limited`, `deploy_day_limited`, `scan_budget_exhausted` (a granted lane's own allowance, which counts asset bytes), `storage_budget_exhausted` or `rate_limited` for this token. Only `rate_limited` includes `retryAfterSeconds` here. `rate_limited` for a GitHub deploy: this account asked for 30 GitHub repository checks in the last hour, the most it can, so nothing was uploaded. Wait `retryAfterSeconds`, or deploy the build with Drop or the CLI. |
| 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` with `retry` set to `later` and no wait: large-asset processing is paused, so keep the export and try again later. With `retryAfterSeconds`: OpenGame could not save the plan, or rejected it. Wait, then send it again. Or `platform_unconfigured`. `rate_limited` for a GitHub deploy: the account's GitHub allowance could not be read, so nothing was fetched or uploaded. Wait `retryAfterSeconds`, then send it again. |

## Start a deploy with large external assets, for any plan kind

`POST https://opengame.io/api/v1/deploys/external-assets`

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

The same request and response as /api/v1/deploys/unity-assets, with delivery naming the plan kind: unity-assets-v1, kaigen-assets-v1 or large-game-v1. large-game-v1 is open to any active account. kaigen-assets-v1 is open to any active account too, and asks no statement. large-game-v1 supports large exports, including decompilations, mods and recompilations. It accepts any detected engine except Kaigen, or an unrecognized engine, and requires no publication statement. Assets can leave the boot archive except file types a browser runs or renders as a document (HTML, JavaScript, CSS, XML, SVG, wasm, web manifests, SWF and PDF, and their compressed forms). It holds up to 32768 assets, 1 GiB a file and 12 GiB in all; the boot archive keeps the ordinary limits. `opengame deploy --external-assets auto`, or a plan file containing `{"delivery":"large-game-v1","assets":"auto"}` chooses the files itself. A plan that large is a JSON body past `platform.incrementalUpload.bodyBytesMax`, so this route also takes `Content-Encoding: gzip`, held to that many bytes as sent and to `platform.incrementalUpload.assetPlanBodyBytesMax` (8388608) once decoded. Engine detection after the scan selects the plan's rules; account access is checked separately.

### Parameters

#### Headers

**Idempotency-Key** `string` *required*

Generate once per deploy and reuse on each retry. 1 to 128 characters. Matches `^[A-Za-z0-9._:-]+$`. Example: `cli-20261021-7c9e6679`.

### Body

Sent as `application/json`.

Type: object.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/deploys/external-assets' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Idempotency-Key: cli-20261021-7c9e6679' \
  --header 'Content-Type: application/json' \
  --data '{
  "byteSize": 40363,
  "fileCount": 2,
  "sha256": "b8d366f9c6b992934298623f0295a2e61b6ca91b7a25304a553695b9e98f0ef0",
  "manifest": {
    "title": "Tide Runner",
    "genre": "racing-sports",
    "kind": "game",
    "controls": [
      "keyboard",
      "gamepad"
    ],
    "description": "Steer a paper boat down a storm drain and pick up every lost marble before the water rises."
  },
  "files": [
    {
      "path": "Build/TideRunner.loader.js",
      "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
      "byteSize": 38211
    },
    {
      "path": "index.html",
      "sha256": "0eb547304658805aad788d320f10bf1f292797b5e6d745a3bf617584da017051",
      "byteSize": 1874
    }
  ],
  "delivery": "unity-assets-v1",
  "assets": [
    {
      "path": "Build/TideRunner.data",
      "sha256": "c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
      "byteSize": 96468992
    }
  ]
}'
```

### Response 200

The operation and first page of missing content, boot files and assets together.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "files": {
    "missing": [
      {
        "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
        "byteSize": 38211,
        "upload": {
          "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=3c4db17a39ef824b73418aaa7ea93667f161155c845f37306761e9d4e3ca02dd",
          "headers": {
            "content-length": "38211",
            "content-type": "application/octet-stream",
            "if-none-match": "*"
          },
          "key": "file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
          "expiresInSeconds": 600
        }
      },
      {
        "sha256": "c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
        "byteSize": 96468992,
        "upload": {
          "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=6f31802acf26645848543e590d0ef4d8993a9d94c221b1d95be39b45304d04f4",
          "headers": {
            "content-length": "96468992",
            "content-type": "application/octet-stream",
            "if-none-match": "*"
          },
          "key": "file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
          "expiresInSeconds": 600
        }
      }
    ],
    "reusedFiles": 1,
    "reusedBytes": 1874,
    "totalFiles": 3,
    "totalBytes": 96509077,
    "cursor": 0,
    "nextCursor": null
  },
  "delivery": "unity-assets-v1",
  "inputDigest": "3e7a1c9f5b2d8e4a6c0f3b7d9e1a5c8f2b4d6e0a7c9f1b3d5e8a2c4f6b0d9e7a"
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: no body, a body that is not valid JSON or not valid gzip, or a boot manifest or asset plan that does not validate for a known plan kind. `invalid_idempotency_key`: send an `Idempotency-Key`. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | Nothing was started. `forbidden`: the token cannot deploy this game or make a new one, or a browser request came from another site. `large_asset_lane_not_granted`: the plan kind needs large-asset access this account does not have, and `retry` is `never`; no plan kind asks for it since the Kaigen lane opened on 16 November 2026. `insufficient_scope`: the credential cannot deploy here. `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`: `gameId` is not in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `idempotency_conflict`: use a new key. `game_removed`: the game takes no new releases. `kind_not_in_jam`: the manifest makes a game entered in the jam a decomp or a mod, so withdraw the entry first. `handle_required`: claim a handle at `url`. From the first page, `build_conflict`, `upload_attempts_exhausted` or `upload_size_mismatch`: start a new deploy. `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.incrementalUpload.bodyBytesMax` (4194304) bytes as sent, or a gzip body decodes past `platform.incrementalUpload.assetPlanBodyBytesMax` (8388608) bytes. |
| 415 | `content_type`: send `Content-Type: application/json`, with no `Content-Encoding` or with `gzip`. |
| 429 | `deploy_rate_limited`, `deploy_day_limited`, `scan_budget_exhausted` (a granted lane's own allowance, which counts asset bytes), `storage_budget_exhausted` or `rate_limited` for this token. Only `rate_limited` includes `retryAfterSeconds` here. `rate_limited` for a GitHub deploy: this account asked for 30 GitHub repository checks in the last hour, the most it can, so nothing was uploaded. Wait `retryAfterSeconds`, or deploy the build with Drop or the CLI. |
| 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` with `retry` set to `later` and no wait: large-asset processing is paused, so keep the export and try again later. With `retryAfterSeconds`: OpenGame could not save the plan, or rejected it. Wait, then send it again. Or `platform_unconfigured`. `rate_limited` for a GitHub deploy: the account's GitHub allowance could not be read, so nothing was fetched or uploaded. Wait `retryAfterSeconds`, then send it again. |

## Read the next page of missing large assets

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

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

For a large-asset deploy of any supported plan kind. Requires the deploy scope for this operation. Send nextCursor even when missing is empty; cached content also occupies page positions. A null nextCursor ends pagination. Reading a page signs fresh URLs for missing files whose URLs have expired, and each signing spends one of 3 attempts for that file.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

#### Query

**cursor** `integer` (default: 0)

Use nextCursor from the previous page. From 0 to 25,000.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/assets' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

Missing content and upload URLs.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "files": {
    "missing": [
      {
        "sha256": "bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
        "byteSize": 38211,
        "upload": {
          "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=3c4db17a39ef824b73418aaa7ea93667f161155c845f37306761e9d4e3ca02dd",
          "headers": {
            "content-length": "38211",
            "content-type": "application/octet-stream",
            "if-none-match": "*"
          },
          "key": "file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/bb3645559c296672f00b1612316401f3d6c23e3747e393fe36a92513646d3ab3",
          "expiresInSeconds": 600
        }
      },
      {
        "sha256": "c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
        "byteSize": 96468992,
        "upload": {
          "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=6f31802acf26645848543e590d0ef4d8993a9d94c221b1d95be39b45304d04f4",
          "headers": {
            "content-length": "96468992",
            "content-type": "application/octet-stream",
            "if-none-match": "*"
          },
          "key": "file-content/8a4d6c12-e3f5-47b9-b0c8-1f2e9d7a5c63/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
          "expiresInSeconds": 600
        }
      }
    ],
    "reusedFiles": 1,
    "reusedBytes": 1874,
    "totalFiles": 3,
    "totalBytes": 96509077,
    "cursor": 0,
    "nextCursor": null
  },
  "delivery": "unity-assets-v1",
  "inputDigest": "3e7a1c9f5b2d8e4a6c0f3b7d9e1a5c8f2b4d6e0a7c9f1b3d5e8a2c4f6b0d9e7a"
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: `cursor` is not a whole number in range, or this operation is not a large-asset deploy. |
| 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 cannot deploy this operation's 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 | `not_found`: no operation with that UUID is in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `build_conflict` (the frozen plan no longer matches, `retry` is `never`), `upload_attempts_exhausted`, `upload_expired` or `upload_size_mismatch`: start a new deploy. |
| 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. |

## Verify one uploaded large asset

`POST https://opengame.io/api/v1/operations/{id}/assets/{hash}`

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

For a large-asset deploy of any supported plan kind. Call after the storage PUT succeeds. Send no body. The server reads the stored bytes and checks their hash and size, as for a file deploy. While asset processing is off, even an operation that has left uploading answers 503 here.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

**hash** `string` *required*

SHA-256 from the plan. Matches `^[0-9a-f]{64}$`. Example: `c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/assets/c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

Verified content. When the operation has already left uploading, the operation alone, with no `file`.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "file": {
    "sha256": "c680d6d08ae42a6aeedecdec9b83edbb1666a900caf75e962e992aa48cb27328",
    "byteSize": 96468992,
    "verified": true
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: `hash` is not 64 lowercase hex characters, or this operation is not a large-asset deploy. |
| 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 cannot deploy this operation's 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 | `not_found`: no operation with that UUID is in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_size_mismatch`, `upload_attempts_exhausted` or `upload_expired`: start a new deploy. `upload_missing`: a file sent in parts still lacks some, so send them and confirm again. `build_conflict`: the plan changed (`retry` is `never`, start a new deploy), or another confirmation is running (wait 120 seconds). |
| 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` with `retry` set to `later`. With `retryAfterSeconds`: the review budget is paused and nothing was spent, so wait and confirm again. Without it: asset processing is off, or the stored file could not be read. A failed read spends one verification attempt, and a retry inside 120 seconds gets 409 `build_conflict`. |

## Assemble the boot archive and queue checks

`POST https://opengame.io/api/v1/operations/{id}/assets/complete`

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

For a large-asset deploy of any supported plan kind. Call after each missing boot file and asset is uploaded and verified. Assembles the boot archive with the plan and uses the existing scan and review pipeline. Send no body. Safe to repeat.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/assets/complete' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

The existing operation.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "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
    },
    "state": "ready",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "metadata": {
      "revision": 3,
      "keptFields": [],
      "source": "local"
    },
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": "https://opengame.io/g/tq7m4x2k9p?preview=c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
    "progress": {
      "code": "ready",
      "label": "Ready",
      "message": "Your private preview is ready.",
      "waitingOn": "nobody",
      "fault": null,
      "since": "2026-10-21T14:32:08Z"
    },
    "findings": [],
    "next": null
  }
}
```

### Response 202

Assembled and queued for checks.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "queued",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "queued",
      "label": "Queued",
      "message": "Queued for checks. Nothing to do.",
      "waitingOn": "opengame",
      "fault": null,
      "since": "2026-10-21T14:30:21Z"
    },
    "findings": [],
    "next": "opengame status --watch"
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: this operation is not a large-asset deploy. |
| 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 cannot deploy this operation's game, or a browser request came from another site. `insufficient_scope`: the credential cannot change this deploy. `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`: no operation with that UUID is in this account. `game_not_found`: the operation's game is no longer in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_missing`: an asset or boot file is not confirmed. `build_conflict`: the plan changed (`retry` is `never`, start a new deploy), or another complete is running (wait 600 seconds). `upload_attempts_exhausted`, `upload_expired` or `upload_size_mismatch`: start a new deploy. |
| 413 | `bundle_limit`: the assembled archive exceeds the file-upload limit. Update the CLI and deploy again to upload a ZIP directly. |
| 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` with `retry` set to `later`. With `retryAfterSeconds`: the review budget is paused and nothing changed, so wait and call complete again. Without it: asset processing is off, or assembly failed after it began, which spends one of 3 assembly attempts. Or `platform_unconfigured`, when the account needs a handle and a fault on OpenGame's side left no address to claim one at. |

## Follow a deploy

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

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

Without query parameters this returns immediately. Each answer includes `waitCursor`; reconnect with `after` and `waitMs` to wait for a change for at most 20000 ms. The wait ends at once unless the state is `queued` or `checking` and the cursor still matches, and when nothing changes you get 200 with the same `waitCursor`. The server re-reads each 2000 ms and authenticates each read, so a token spends the request allowance once per read; a cursor grants no access. Older servers omit waitCursor; poll them each 2 seconds. Needs the `deploy` or `read` scope for the operation's game. `ready` means the release passed each check a private preview needs.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

#### Query

**after** `string`

The last waitCursor; requires waitMs. Matches `^[0-9a-f]{64}$`.

**waitMs** `integer`

Wait budget in milliseconds; requires after. Values above 20000 are clamped to it. At least 0.

### Request

```bash cURL theme={"system"}
curl --request GET \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

```bash CLI theme={"system"}
opengame status . --watch --json
```

### Response 200

The operation.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "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
    },
    "state": "ready",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "metadata": {
      "revision": 3,
      "keptFields": [],
      "source": "local"
    },
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": "https://opengame.io/g/tq7m4x2k9p?preview=c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
    "progress": {
      "code": "ready",
      "label": "Ready",
      "message": "Your private preview is ready.",
      "waitingOn": "nobody",
      "fault": null,
      "since": "2026-10-21T14:32:08Z"
    },
    "findings": [],
    "next": null,
    "waitCursor": "a3f19c7e5b2d8046e1c9a7f3b5d2e8c4a6f0b9d3e7c1a5f8b2d4e6c0a9f7b3d1"
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: pass both `after` and `waitMs` or neither. `after` is the 64-character `waitCursor` and `waitMs` is a whole number. |
| 401 | `sign_in_required`, `token_invalid` or `token_revoked`. Sign in again, or use a token that has not been revoked. |
| 403 | `forbidden`: this credential cannot read this deploy, because it has neither `deploy` nor `read` for the operation's 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 | `not_found`: no operation with that UUID is in this 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. |

## Sign URLs for archive parts

`POST https://opengame.io/api/v1/operations/{id}/upload/parts`

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

For a deploy whose create answered `multipart`. Signs a PUT for each part number named, up to 64 per request, each for that part's exact length. Signing spends no upload attempt: a part number holds one part however often it is sent. An operation that has left `uploading` answers an empty list. A browser session must send `Origin` set to the OpenGame origin.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Body

Sent as `application/json`.

**parts** `array of integer` *required*

1 to 64 items. No item twice.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/upload/parts' \
  --header "Authorization: Bearer $OPENGAME_TOKEN" \
  --header 'Content-Type: application/json' \
  --data '{
  "parts": [
    1,
    2,
    3,
    4
  ]
}'
```

### Response 200

One signed PUT per part named.

```json theme={"system"}
{
  "parts": [
    {
      "partNumber": 1,
      "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/builds/f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62/bundle.zip?partNumber=1&uploadId=2~Qx0bS7kVnF3pR8tLm1YdA9cZ&X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bhost&X-Amz-Signature=c6e59cad5d7bd209ba786e6838b54a68c14ae3693ac9aa4356cecdbdd257c288",
      "headers": {
        "content-length": "16777216"
      },
      "expiresInSeconds": 3600
    },
    {
      "partNumber": 2,
      "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/builds/f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62/bundle.zip?partNumber=2&uploadId=2~Qx0bS7kVnF3pR8tLm1YdA9cZ&X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bhost&X-Amz-Signature=c6e59cad5d7bd209ba786e6838b54a68c14ae3693ac9aa4356cecdbdd257c288",
      "headers": {
        "content-length": "16777216"
      },
      "expiresInSeconds": 3600
    }
  ]
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: the list is empty, too long, repeats a number, names a part past the plan, or this deploy does not send the archive in parts. |
| 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 cannot deploy this operation's game, or a browser request came from another site. `insufficient_scope`: the credential cannot change this deploy. `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`: no operation with that UUID is in this account. `game_not_found`: the operation's game is no longer in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_expired`: the deploy ran out of time to upload, or storage discarded the parts. Start a new deploy. |
| 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. |

## Get a fresh upload URL

`POST https://opengame.io/api/v1/operations/{id}/upload`

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

Signs a fresh PUT for an interrupted upload. The first URL from `POST /api/v1/deploys` counts as one of 3 attempts. A call while the previous URL is still valid re-signs without spending another. When the bytes already arrived, the answer is `uploaded: true` with no new URL, and an operation that has left `uploading` comes back alone. For an archive sent in parts it answers `multipart` again, with `uploadedParts` listing what storage already holds, so a resumed upload sends only the rest.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Request

```bash cURL theme={"system"}
curl --request POST \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/upload' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

A new upload, the part plan, or `uploaded: true`.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "uploading",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "upload",
      "label": "Uploading",
      "message": "Waiting for your archive to finish uploading. Run opengame deploy to resume it.",
      "waitingOn": "you",
      "fault": null,
      "since": "2026-10-21T14:29:47Z"
    },
    "findings": [],
    "next": "opengame deploy"
  },
  "upload": {
    "url": "https://4f1c8e2a9b7d6035e1a4c8f2b9d70e36.r2.cloudflarestorage.com/og-platform-internal-quarantine/builds/f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62/bundle.zip?X-Amz-Expires=600&X-Amz-Date=20261021T142947Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=3f9c2a71d4e8b6057a1c9e2f4b8d6a03%2F20261021%2Fauto%2Fs3%2Faws4_request&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost%3Bif-none-match&X-Amz-Signature=c6e59cad5d7bd209ba786e6838b54a68c14ae3693ac9aa4356cecdbdd257c288",
    "headers": {
      "content-length": "40363",
      "content-type": "application/zip",
      "if-none-match": "*"
    },
    "key": "builds/f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62/bundle.zip",
    "expiresInSeconds": 600
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: this is a file or Unity deploy, so resume it through the upload routes. |
| 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 cannot deploy this operation's game, or a browser request came from another site. `insufficient_scope`: the credential cannot change this deploy. `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`: no operation with that UUID is in this account. `game_not_found`: the operation's game is no longer in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_attempts_exhausted` or `upload_expired`: start a new deploy. `handle_required`: claim a handle at `url`. |
| 413 | `bundle_limit`: the archive is over 524288000 bytes and this deploy did not ask for parts, so one PUT cannot include it. Start a new deploy from a current CLI, which sends it in parts. |
| 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. |

## Confirm the upload and queue checks

`PUT https://opengame.io/api/v1/operations/{id}/upload`

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

Call after the PUT succeeds, or after each part has. For parts, the server lists what storage holds, refuses with `upload_missing` while any part is absent or the wrong size, and joins them. The server reads the object's real size before queuing the scan. Answers 202 when it queues checks, and 200 with the current operation when it is no longer `uploading`, so it is safe to repeat.

### Parameters

#### Path

**id** `string (uuid)` *required*

Operation UUID. Example: `d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39`.

### Request

```bash cURL theme={"system"}
curl --request PUT \
  --url 'https://opengame.io/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39/upload' \
  --header "Authorization: Bearer $OPENGAME_TOKEN"
```

### Response 200

Already confirmed.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "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
    },
    "state": "ready",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": "c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "metadata": {
      "revision": 3,
      "keptFields": [],
      "source": "local"
    },
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": "https://opengame.io/g/tq7m4x2k9p?preview=c6f19a03-5b8e-4d27-9e4a-2b70d1f8c345",
    "progress": {
      "code": "ready",
      "label": "Ready",
      "message": "Your private preview is ready.",
      "waitingOn": "nobody",
      "fault": null,
      "since": "2026-10-21T14:32:08Z"
    },
    "findings": [],
    "next": null
  }
}
```

### Response 202

Queued for checks.

```json theme={"system"}
{
  "operation": {
    "id": "d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "engine": null,
    "build": null,
    "state": "queued",
    "gameId": "b3e1d9a4-27c6-4f80-9d15-0a6e8c4b2f71",
    "buildId": "f8e2b6d0-4c9a-4e13-a7f5-1d3c9b0e8a62",
    "releaseId": null,
    "error": null,
    "createdAt": "2026-10-21T14:29:47Z",
    "statusUrl": "/api/v1/operations/d4a7c1e9-3b6f-4a28-9e05-7c2b8f1d6a39",
    "publicId": "tq7m4x2k9p",
    "gameOrigin": "https://k3v9q2m7x4ab.opengame.gg",
    "previewUrl": null,
    "progress": {
      "code": "queued",
      "label": "Queued",
      "message": "Queued for checks. Nothing to do.",
      "waitingOn": "opengame",
      "fault": null,
      "since": "2026-10-21T14:30:21Z"
    },
    "findings": [],
    "next": "opengame status --watch"
  }
}
```

### Errors

| Status | Meaning |
| - | - |
| 400 | `invalid_request`: this is a file or Unity deploy, so finish it through the upload routes. |
| 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 cannot deploy this operation's game, or a browser request came from another site. `insufficient_scope`: the credential cannot change this deploy. `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`: no operation with that UUID is in this account. `game_not_found`: the operation's game is no longer in this account. Or `not_found`: this server does not serve the creator API. |
| 409 | `upload_missing`: the bytes have not arrived, so finish the PUT and confirm again. `upload_expired` or `build_conflict`: start a new deploy. `upload_size_mismatch`: start a new deploy with the original archive. `handle_required`: claim a handle at `url`. |
| 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.