Skip to main content
The Arena app is a client of a public REST API. Everything you can do in the Arena (start a battle, vote, browse the leaderboard, manage threads) you can do over HTTPS.

Base URL

https://api.dualmindlab.tech

Format

JSON in, JSON out (camelCase). Streaming uses Server-Sent Events.

Auth

Authorization: Bearer <access token> from your Arena session. Details.

Status

GET /health is public and always cheap to call.
The API is in beta. It’s the same API the Arena uses, so it’s stable in practice, but fields can be added and behaviour can change. Watch the changelog or subscribe to its RSS feed.

Endpoints at a glance

Your first request

No token needed for the leaderboard:

Conventions

Threads, messages, comparisons and models use UUIDs. Model fields (model, model1, model2) accept either a model’s modelName or its modelId.
ISO 8601 in UTC, e.g. 2026-10-17T12:00:00Z.
Fields with no value are left out of responses rather than sent as null.
Each model call is capped at 60 seconds, after which a fallback model answers. Give battle requests a client timeout of at least 120 seconds.
Every response carries an X-Correlation-Id header. Include it when you report a problem.
Browser requests from any origin are allowed.

Rate limits and fair use

The API is shared with everyone using the Arena, so please keep usage at interactive volumes.
Battles and chats driven by people, scripts that run a handful of prompts, and dashboards that read the leaderboard every few minutes are all fine. Bulk benchmarking, load tests and scraping are not; get in touch first.
The leaderboard changes slowly. Cache GET /api/arena/model-stats for at least a minute instead of polling it in a tight loop.
Published per-user limits are planned. When they arrive, requests over the limit will get 429 Too Many Requests; back off and retry later. Changes will be announced in the changelog.

OpenAPI

The full OpenAPI 3.1 spec lives in the docs repo at api-reference/openapi.json, and every endpoint page can download it from the page menu. Import it into Postman, Insomnia or a code generator. Each endpoint page also has a Try it playground.

Authentication

Get an access token and keep it fresh.

Run a battle end to end

Battle, hide names, vote, reveal.
Last modified on October 18, 2026