Checking account…

API Docs

Binary-2048 API v0.1.0

OpenAPI JSON source: /api/openapi

Docs hub: /docs | User guide: /docs/user | Developer guide: /docs/developer

Interactive explorer

64 operations shown

/api/ads/reward
POSTGrant rewarded-ad inventory after server-side signature and anti-fraud checks

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Reward granted
  • 400 Invalid payload
  • 401 Invalid reward signature
  • 403 Ad rewards disabled or paid-tier blocked
  • 409 Replay nonce detected
  • 429 Cooldown or daily cap reached
/api/auth/bridge-token
POSTMint auth-bridge bearer token from authenticated Auth.js session

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Auth bridge token minted
  • 401 Authenticated session required
  • 503 Auth bridge secret not configured
/api/auth/dev-token
POSTDev-only auth bridge token minting helper (env-gated)

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Dev auth token minted
  • 404 Endpoint disabled
  • 503 Auth bridge secret not configured
/api/auth/entitlements/proof
POSTMint short-lived entitlement proof from signed auth bridge token

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Entitlement proof minted
  • 401 Invalid auth token
  • 403 Authenticated user required
  • 503 Proof issuance not configured
/api/bots/tournament
POSTRun server-side AI-vs-AI tournament for configured seeds

Request body: documented

Parameters: x-api-key (header)

Authentication: Scoped x-api-key (tournament:run), configured research subject, or admin authority required

Required scopes: tournament:run

Rate limit: bots_tournament: default 10 requests / 5 minutes; 128 KiB body; maximum 100 seeds, 2,000 moves/run, 25,000 aggregate decisions, and 2,500 trace decisions; challenge policy; compute-class 150 jobs/month and global budgets apply

Schema/version: tournament-job-v2

Request example: { seedCount: 3, maxMoves: 250, bots: ['priority', 'rollout'] }

Response example: Tournament result or { jobId, status, statusUrl, resultUrl }

Responses
  • 200 Tournament result with ranking and run summaries
  • 202 Queued on isolated compute; poll statusUrl, then fetch resultUrl
  • 400 Invalid tournament payload
  • 401 Research credential required
  • 403 Credential lacks tournament:run or configured anti-abuse challenge required
  • 413 Tournament body exceeds 128 KiB
  • 429 Rate limit or worker budget exceeded
  • 503 Endpoint disabled, tournament capacity reached, or queue wait timed out
/api/challenges/daily
GETGet Bitstorm Daily challenge and daily leaderboard window

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Daily challenge payload
/api/challenges/daily/submit
POSTSubmit replay for Bitstorm Daily leaderboard

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Daily replay submission result
  • 400 Invalid submission payload
/api/challenges/ghost-race
GETGet ghost race challenge (rollout bot replay on selected seed)

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Ghost race challenge payload
/api/challenges/ghost-race/submit
POSTSubmit replay for ghost race comparison

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Ghost race submission result
  • 400 Invalid submission payload
/api/games
POSTCreate a game session

Request body: documented

Parameters: none

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: session-schema-v2

Request example: { config?: { seed: 42 }, mode?: 'classic' | 'bitstorm' | 'numbers-only' }

Response example: { id, current, recoverySnapshot, integrity, mode }

Responses
  • 200 Game created
  • 400 Invalid request
/api/games/{id}
GETGet game state by id

Request body: none

Parameters: id (path), required

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: session-schema-v2

Response example: { id, current, recoverySnapshot, integrity }

Responses
  • 200 Game found
  • 404 Game not found
/api/games/{id}/encoded
GETGet AI-friendly encoded state

Request body: none

Parameters: id (path), required

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: encoded-state-v1

Response example: { encoded, encodedFlat, actionMask }

Responses
  • 200 Encoded state
  • 404 Game not found
/api/games/{id}/export
GETExport game JSON

Request body: none

Parameters: id (path), required, compact (query), audit (query)

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: game-export-v1

Response example: Versioned game export or compact replay

Responses
  • 200 Export JSON
  • 404 Game not found
POSTRecover a missing session and export game JSON

Request body: documented

Parameters: id (path), required, compact (query), audit (query)

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: checkpoint-tail-v1

Request example: { compactRecovery }

Response example: Recovered versioned game export

Responses
  • 200 Recovered export JSON
  • 400 Invalid recovery payload
  • 404 Game not found
/api/games/{id}/move
POSTApply one move

Request body: documented

Parameters: id (path), required, x-api-key (header)

Authentication: Optional x-api-key; missing or invalid keys use the IP/account quota

Required scopes: none

Rate limit: game_move: default 600 requests / 5 minutes; API-key counters are shared

Schema/version: turn-hash-checkpoint-v1

Request example: { dir: 'left', expectTurn, expectStateHashVersion, expectStateHash }

Response example: { current, stateHash, stateHashVersion, sync }

Responses
  • 200 Move applied with versioned authoritative state identity; compact clients receive a signed recovery checkpoint every 25 persisted moves, on recovery, and at terminal state
  • 400 Invalid move or unsupported explicit state-hash/compact-sync version
  • 404 Game not found
  • 409 State-hash precondition or persistence conflict
  • 429 Gameplay move rate limit exceeded
  • 503 Session storage temporarily unavailable
/api/games/{id}/replay
GETGet canonical replay payload (header + moves)

Request body: none

Parameters: id (path), required

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: replay-v1

Response example: { header, moves, signature? }

Responses
  • 200 Replay payload
  • 404 Game not found
/api/games/{id}/undo
POSTUndo the last move

Request body: none

Parameters: id (path), required

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: session-schema-v2

Response example: { current, undo, recoverySnapshot }

Responses
  • 200 Undo applied
  • 400 Undo unavailable
  • 404 Game not found
/api/games/import
POSTImport game JSON

Request body: documented

Parameters: none

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota; body capped at 256 KiB

Schema/version: checkpoint-tail-v1

Request example: Game export, recovery snapshot, or compact recovery

Response example: { id, current, recoverySnapshot, steps, integrity }

Responses
  • 200 Imported
  • 400 Invalid import payload
  • 413 Import body exceeds 256 KiB
/api/health
GETHealth check

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Service healthy
/api/jobs/{id}
GETRead principal-bound research job status; stored artifacts expire after 24 hours

Request body: none

Parameters: id (path), required, x-binary2048-job-contract (header)

Authentication: Scoped research/admin credential bound to the submitting principal; ownerless pre-deployment jobs retain opaque-id access until their 24-hour TTL

Required scopes: jobs:read

Rate limit: job_status: default 120 requests / 5 minutes; contract v2 reads bounded metadata only; stored artifacts expire after 24 hours

Schema/version: job-v2

Response example: { jobId, status, resultUrl?, result? (deprecated stored-artifact compatibility), error?, expiresAt }

Responses
  • 200 Owned job status; contract v2 reads metadata only, while unversioned requests load the verified stored artifact into a deprecated inline result field; Retry-After: 2
  • 401 Research credential required
  • 403 Credential lacks jobs:read
  • 404 Unknown, unowned, or expired job
  • 429 Polling quota exhausted
  • 503 Status or compatibility artifact unavailable
/api/jobs/{id}/result
GETRead and integrity-check a persisted principal-bound research job result artifact

Request body: none

Parameters: id (path), required

Authentication: Same principal ownership and bounded ownerless-job compatibility policy as job status; artifacts are verified before parsing

Required scopes: jobs:read

Rate limit: job_status: shared default 120 requests / 5 minutes; worker-result-v1 artifact capped at 12 MiB and retained for 24 hours

Schema/version: worker-result-v1

Response example: { jobId, status: 'complete', result }

Responses
  • 200 Completed worker-result-v1 artifact, verified by owner, byte length, and SHA-256
  • 202 Job is still queued or running; Retry-After: 2
  • 401 Research credential required
  • 403 Credential lacks jobs:read
  • 404 Unknown, unowned, or expired job
  • 409 Job failed and has no result
  • 429 Polling quota exhausted
  • 503 Result unavailable
/api/leaderboard
GETList ranked leaderboard entries

Request body: none

Parameters: limit (query), page (query)

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Leaderboard entries
/api/leaderboard/submit
POSTSubmit finished ranked game to leaderboard (server-authoritative)

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Leaderboard entry submitted
  • 400 Missing game id
  • 401 Authenticated user required
  • 403 Session not eligible
  • 404 Game not found
  • 409 Game not finished
/api/marketing/events
GETList tracked marketing events

Request body: none

Parameters: limit (query)

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Tracked marketing events
/api/marketing/track
POSTTrack marketing/share CTA events

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Marketing event tracked
  • 400 Invalid marketing payload
/api/matches/{id}
GETGet async match details and standings

Request body: none

Parameters: id (path), required

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Match found
  • 404 Match not found
/api/matches/{id}/submit
POSTSubmit moves for async same-seed PvP match

Request body: documented

Parameters: id (path), required

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Submission accepted
  • 400 Invalid submission payload
  • 404 Match not found
/api/matches/same-seed
POSTCreate async same-seed PvP match

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Match created
  • 400 Invalid payload
/api/openapi
GETOpenAPI spec document

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 OpenAPI JSON
/api/ops/leaderboard
GETGet authorized read-only leaderboard operations data

Request body: none

Parameters: namespace (query), seasonMode (query), practice (query), limit (query), page (query)

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Leaderboard page with explicit backend and scope
  • 401 Server-verified admin authority required
  • 503 Leaderboard operations data unavailable
/api/ops/league/config
GETGet authorized read-only runtime league configuration

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Production and sandbox league configuration
  • 401 Server-verified admin authority required
POSTMirror or promote authorized league configuration

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 League configuration mirrored or promoted
  • 400 Unsupported configuration action
  • 401 Server-verified admin authority required
/api/ops/models
GETGet authorized read-only runtime model registry data

Request body: none

Parameters: none

Authentication: Admin bearer token or signed admin auth-bridge token

Required scopes: admin

Rate limit: No route-local request quota

Schema/version: model-registry-v1

Response example: { source, models }

Responses
  • 200 Registered model records with explicit runtime scope
  • 401 Server-verified admin authority required
/api/ops/rate-limit/probe
POSTRun an authorized shared rate-limit probe

Request body: none

Parameters: probeId (query), required, x-api-key (header)

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Shared rate-limit probe result
  • 400 Invalid probe identifier
  • 401 Admin authority and valid bot API key required
  • 503 Shared rate-limit store unavailable
/api/ops/storage/leaderboard-probe
POSTRun an authorized leaderboard storage probe

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Leaderboard storage probe result
  • 400 Invalid action or probe identifier
  • 401 Server-verified admin authority required
  • 503 Leaderboard storage probe failed
/api/ops/storage/smoke
POSTRun authorized active storage write/read/delete smoke verification

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Active storage probe result
  • 401 Server-verified admin authority required
  • 500 Storage probe failed
/api/ops/storage/status
GETGet authorized passive storage configuration status

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Passive status; performs no connectivity checks or writes
  • 401 Server-verified admin authority required
/api/ops/telemetry
GETGet authorized runtime-scoped route telemetry and anomaly flags

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Read-only telemetry snapshot
  • 401 Server-verified admin authority required
/api/replay
POSTDeterministically reconstruct replay from export or replay payload

Request body: documented

Parameters: none

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota; body capped at 128 KiB

Schema/version: replay-v1

Request example: Versioned game export or replay envelope

Response example: Deterministically reconstructed replay

Responses
  • 200 Replay reconstruction result
  • 400 Invalid replay payload
  • 413 Replay body exceeds 128 KiB
/api/replay/code
GETDecode shareable replay code back to compact replay payload

Request body: none

Parameters: code (query), required

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: replay-code-v1

Response example: Decoded compact replay payload

Responses
  • 200 Replay payload
  • 400 Invalid replay code
POSTCreate shareable replay code from replay payload

Request body: documented

Parameters: none

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: replay-code-v1

Request example: Compact replay payload

Response example: { code, length, signed, hosted }

Responses
  • 200 Replay code created
  • 400 Invalid replay payload
/api/replay/ingest
POSTIngest canonical run records for replay research

Request body: documented

Parameters: none

Authentication: Scoped x-api-key (replay:ingest), configured research subject, or admin authority required

Required scopes: replay:ingest

Rate limit: replay_ingest: default 10 requests / 5 minutes; 1 MiB body and 100 records/request

Schema/version: canonical-run-v1

Request example: { records: [canonicalRunRecord] }

Response example: { ingested, duplicateIds }

Responses
  • 200 Canonical run records ingested with duplicate ids reported
  • 400 A valid 1..100 canonical-record array is required
  • 401 Research credential required
  • 403 Credential lacks replay:ingest
  • 413 Request exceeds 1 MiB
  • 429 Replay-ingest quota exhausted
/api/replay/postmortem
POSTReplay postmortem analyzer for highest-cost moves

Request body: documented

Parameters: none

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota; body capped at 128 KiB

Schema/version: replay-v1

Request example: Versioned game export or replay envelope

Response example: Ranked highest-cost move analysis

Responses
  • 200 Replay postmortem result
  • 400 Invalid replay payload
  • 413 Replay body exceeds 128 KiB
/api/replay/validate
POSTValidate replay payload compatibility and deterministic rerun

Request body: documented

Parameters: none

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: replay-v1

Request example: { payload, signature? }

Response example: { ok, reason, details? }

Responses
  • 200 Replay validation result { ok, reason, details? }
  • 400 Invalid JSON payload
/api/runs/{id}
GETGet canonical persisted run record by id

Request body: none

Parameters: id (path), required

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: canonical-run-v1

Response example: Canonical persisted run record

Responses
  • 200 Canonical run record
  • 404 Run not found
/api/runs/{id}/replay
GETGet persisted compact replay payload for run id

Request body: none

Parameters: id (path), required

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota

Schema/version: replay-v1

Response example: Compact replay envelope for the persisted run

Responses
  • 200 Compact replay payload
  • 404 Run replay not found
/api/scenarios/drafts
GETList private scenario drafts for the authenticated account

Request body: none

Parameters: none

Authentication: Authenticated Auth.js browser session; drafts are owner-scoped

Required scopes: none

Rate limit: No route-local request quota

Schema/version: scenario-draft-v1

Response example: { drafts: [scenarioDraft] }

Responses
  • 200 Private scenario drafts owned by the authenticated account
  • 401 Authenticated session required
  • 503 Authentication or scenario draft storage unavailable
POSTCreate or update a private scenario draft for the authenticated account

Request body: documented

Parameters: none

Authentication: Authenticated Auth.js browser session; drafts are owner-scoped

Required scopes: none

Rate limit: No route-local request quota

Schema/version: scenario-draft-v1

Request example: Versioned scenario draft

Response example: { draft: scenarioDraft }

Responses
  • 200 Private scenario draft saved
  • 400 Invalid versioned scenario draft
  • 401 Authenticated session required
  • 503 Authentication or scenario draft storage unavailable
DELETEDelete a private scenario draft owned by the authenticated account

Request body: none

Parameters: id (query), required

Authentication: Authenticated Auth.js browser session; only the owner can delete a draft

Required scopes: none

Rate limit: No route-local request quota

Schema/version: scenario-draft-v1

Response example: { deleted: true }

Responses
  • 200 Private scenario draft deleted
  • 400 Invalid draft id
  • 401 Authenticated session required
  • 404 Scenario draft not found
  • 503 Authentication or scenario draft storage unavailable
/api/sim/run
POSTRun deterministic scenario

Request body: documented

Parameters: none

Authentication: Public; no credential is required

Required scopes: none

Rate limit: No route-local request quota; body capped at 128 KiB

Schema/version: simulation-v1

Request example: { config, initialGrid, moves }

Response example: { version: 1, final, steps }

Responses
  • 200 Scenario result
  • 400 Invalid scenario payload
  • 413 Scenario body exceeds 128 KiB
/api/simulate
POSTBatch simulation endpoint

Request body: documented

Parameters: x-api-key (header)

Authentication: Scoped x-api-key (simulation:run), configured research subject, or admin authority required

Required scopes: simulation:run

Rate limit: simulate: default 60 requests / 5 minutes; 128 KiB body; maximum 2,000 moves; challenge policy; compute-class 150 jobs/month and global queued-job budgets apply

Schema/version: simulation-job-v2

Request example: { moves: ['L', 'U'], seed: 42 }

Response example: { jobId, status, statusUrl, resultUrl } or local-development simulation result

Responses
  • 200 Simulation result from the documented local development fallback
  • 202 Queued on isolated compute; poll statusUrl, then fetch resultUrl
  • 400 Invalid simulation payload
  • 401 Research credential required
  • 403 Credential lacks simulation:run or configured anti-abuse challenge required
  • 413 Simulation body exceeds 128 KiB
  • 429 Rate limit exceeded
  • 503 Endpoint temporarily disabled by degrade mode
/api/store/catalog
GETList active paid packet SKUs

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Store packet catalog
/api/store/consume
POSTConsume inventory for subscriber and append ledger entry

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Inventory consumed
  • 400 Invalid consume payload or insufficient balance
  • 401 Authenticated bearer token required
/api/store/inventory
GETGet store inventory and recent ledger entries

Request body: none

Parameters: limit (query)

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Inventory and ledger
  • 400 Invalid query
  • 401 Authenticated bearer token required
  • 403 Requested subscriber does not match authenticated account
POSTGrant inventory to subscriber

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Inventory granted
  • 400 Invalid payload
  • 401 Server-verified admin authority required
/api/store/purchase
POSTPurchase a paid packet SKU and grant inventory bundle

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Packet purchased and inventory granted
  • 400 Invalid purchase payload
  • 401 Authenticated bearer token required
  • 503 Direct purchase disabled until verified checkout is configured
/api/store/webhook
POSTProcess a signed Stripe store webhook

Request body: documented

Parameters: stripe-signature (header), required

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Webhook processed or previously processed
  • 400 Invalid signature or webhook event
  • 503 Store webhook is not configured
/api/subscriptions
GETList notification subscriptions for a subscriber

Request body: none

Parameters: subscriberId (query), required

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Subscription list
  • 400 Missing subscriber id
POSTCreate or update notification subscription

Request body: documented

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Subscription upserted
  • 400 Invalid payload
  • 403 Requested topics denied for current user tier
DELETEDelete notification subscription by id

Request body: none

Parameters: id (query), required

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 Subscription deleted
  • 400 Missing id
  • 404 Subscription not found
/api/training/labels
GETGenerate labeled board states for training

Request body: none

Parameters: x-api-key (header), page (query), limit (query), strategy (query), minTile (query)

Authentication: Scoped x-api-key (training:read), configured research subject, or admin authority required

Required scopes: training:read

Rate limit: training: shared default 20 requests / 5 minutes; limit 1..500; challenge policy; training-class 100 jobs/month and global budgets apply

Schema/version: training-labels-job-v2

Response example: Label page or { jobId, status, statusUrl, resultUrl }

Responses
  • 200 Paginated labeled board states
  • 202 Queued on isolated compute; poll statusUrl, then fetch resultUrl
  • 401 Research credential required
  • 403 Credential lacks training:read or configured anti-abuse challenge required
  • 429 Shared training rate limit exceeded
  • 500 Training label generation failed
  • 503 Training queue full or wait timeout
/api/training/replays
GETGenerate deterministic bot replay summaries for training

Request body: none

Parameters: x-api-key (header), page (query), limit (query), bot (query), minScore (query)

Authentication: Scoped x-api-key (training:read), configured research subject, or admin authority required

Required scopes: training:read

Rate limit: training: shared default 20 requests / 5 minutes; limit 1..100; challenge policy; training-class 100 jobs/month and global budgets apply

Schema/version: training-replays-job-v2

Response example: Replay page or { jobId, status, statusUrl, resultUrl }

Responses
  • 200 Paginated replay summaries
  • 202 Queued on isolated compute; poll statusUrl, then fetch resultUrl
  • 401 Research credential required
  • 403 Credential lacks training:read or configured anti-abuse challenge required
  • 429 Shared training rate limit exceeded
  • 500 Training replay generation failed
  • 503 Training queue full or wait timeout
/api/user/data
DELETEDelete authenticated user data package

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 User data deleted
  • 401 Authenticated user required
/api/user/data/export
GETExport authenticated user data package

Request body: none

Parameters: none

Authentication: Not yet audited

Required scopes: none

Rate limit: Not yet audited

Schema/version: Not yet audited

Responses
  • 200 User data export
  • 401 Authenticated user required