YouGame Check Build API

The Check Build API from YouGame, for check build.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /api/check-build Runs YouGame's pre-upload checks on a build folder and returns ready, risky, or… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/yougame-co:yougame-co-check-build-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

yougame-co-check-build-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: YouGame Check Build API
  version: 1.1.0
  description: 'YouGame hosts browser games: a creator, or their coding agent on their behalf, uploads a static build and it is live at https://yougame.co. Read the publish guide before making a game YouGame-ready, read the SDK reference for leaderboards, phone support, and multiplayer, and run checkBuild on the finished folder until the verdict is "ready". With the creator''s API key the agent does the rest on their behalf: it stages the build (startUpload, uploadFile, completeUpload), fills in the whole listing and publishes it (publishGame, creator_approved true: a creator who asked the agent to publish has approved it), and later ships new versions (POST /api/agent/update, in the publish guide). For a creator who wants to look first, prepareSubmission saves the listing and returns a review link where they press Publish. Only without a key, as a fallback, the creator uploads the zip at https://yougame.co/upload.'
servers:
- url: https://yougame.co
tags:
- name: Check Build
paths:
  /api/check-build:
    post:
      operationId: checkBuild
      summary: Runs YouGame's pre-upload checks on a build folder and returns ready, risky, or…
      description: Pass every file in the build folder (paths relative to the folder) and the text of index.html plus any other text files worth scanning. Fix what the report lists and run it again until the verdict is "ready", then zip the folder's contents for upload at https://yougame.co/upload.
      x-openai-isConsequential: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - files
              properties:
                platform:
                  type: string
                  enum:
                  - web
                  - desktop_app
                  description: 'Optional listing context: web or desktop_app. Without context, a possible web stub is advisory. desktop_app with no index.html checks the folder as a native build: its program file and yougame-native.json (pass its text), static only, the game is not run.'
                kind:
                  type: string
                baseRuntime:
                  type: object
                base_game:
                  type: object
                  properties:
                    runtime:
                      type: object
                files:
                  type: array
                  minItems: 1
                  maxItems: 5000
                  description: Every file in the build folder (max 5000).
                  items:
                    type: object
                    required:
                    - path
                    properties:
                      path:
                        type: string
                        description: Path relative to the build folder, forward slashes, e.g. assets/player.png
                      size:
                        type: number
                        description: Size in bytes. Enables the size checks.
                      bytes:
                        type: array
                        maxItems: 16
                        items:
                          type: integer
                          minimum: 0
                          maximum: 255
                        description: Optional first 16 bytes for native executable detection.
                      text:
                        type: string
                        description: File contents. Pass it for index.html and the .html/.css/.js files worth scanning, 8 MB of text in total.
      responses:
        '200':
          description: The report.
          content:
            application/json:
              schema:
                type: object
                properties:
                  verdict:
                    type: string
                    enum:
                    - ready
                    - risky
                    - broken
                  summary:
                    type: string
                  report:
                    type: string
                    description: The whole report as text, ready to show the creator.
                  checks:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        level:
                          type: string
                        title:
                          type: string
                        detail:
                          type: string
                        items:
                          type: array
                          items:
                            type: string
                  features:
                    type: array
                    items:
                      type: string
                    description: SDK features detected in the build.
                  folder:
                    type:
                    - string
                    - 'null'
                    description: A single top-level folder every path shared, if there was one.
        '400':
          description: The file list could not be read.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '413':
          description: The body is too large to parse.
        '429':
          description: Too many requests.
      tags:
      - Check Build
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: The creator's API key (yg_…), made at /account under Coding agents.