Base URL
https://api.dualmindlab.techFormat
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.Endpoints at a glance
Your first request
No token needed for the leaderboard:Conventions
IDs
IDs
Threads, messages, comparisons and models use UUIDs. Model fields (
model, model1, model2) accept either a model’s modelName or its modelId.Timestamps
Timestamps
ISO 8601 in UTC, e.g.
2026-10-17T12:00:00Z.Null fields
Null fields
Fields with no value are left out of responses rather than sent as
null.Timeouts
Timeouts
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.
Correlation IDs
Correlation IDs
Every response carries an
X-Correlation-Id header. Include it when you report a problem.CORS
CORS
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.What counts as fair use
What counts as fair use
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.
Be gentle with the leaderboard
Be gentle with the leaderboard
The leaderboard changes slowly. Cache
GET /api/arena/model-stats for at least a minute instead of polling it in a tight loop.Expect limits to arrive
Expect limits to arrive
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 atapi-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.