Recommended Flow
Base URL: https://api.remix.gg
- Fetch OpenAPI JSON from
https://api.remix.gg/docs/json. - Resolve exact methods/paths/schemas from the spec.
GET /v1/metadata/categoriesto fetch valid category enums.POST /v1/games- Build game code against
window.RemixSDKrequirements, including SDK<script>in HTML<head>(https://cdn.jsdelivr.net/npm/@remix-gg/sdk@latest/dist/index.min.js) (see theremix-game-sdkskill) - Set required metadata:
- Name: game metadata APIs
- Category: game metadata APIs (1-3)
- Icon: upload via
POST /v1/games/{gameId}/assetsor in Remix Studio/app flow
- Upload binary assets (icon/sprites/audio) via
POST /v1/games/{gameId}/assetsor in Remix Studio/app flow. GET /v1/games/{gameId}/assetsto confirm hosted asset URLs.POST /v1/games/{gameId}/versions/{versionId}/codeGET /v1/games/{gameId}/versions/{versionId}/validate- Optional:
GET /v1/games/{gameId}/launch-readiness?versionId={versionId} - If blockers exist, patch code/metadata and repeat validation
GET /v1/games/{gameId}/versions/{versionId}/status
Discovery / Inspection Endpoints
GET /v1/gamesGET /v1/games/{gameId}GET /v1/games/{gameId}/versionsGET /v1/games/{gameId}/versions/{versionId}GET /v1/games/{gameId}/versions/{versionId}/codeGET /v1/games/{gameId}/versions/{versionId}/threadGET /v1/games/{gameId}/assetsGET /v1/games/{gameId}/items
Guardrails
- Never skip validation checks.
- Treat
blockers[]as source of truth. - Do not trust cached path/method memory when OpenAPI is available.
- Do not create extra versions from agent REST.
- Do not submit from agent REST.
- If docs are stale, check
https://api.remix.gg/docs.