DualMind Lab API
The DualMind Lab API provides programmatic access to the blind AI model comparison arena. Send prompts, manage threads, vote on responses, and access model statistics.Base URL:
https://api.dualmindlab.techAll endpoints are prefixed with /api/.Authentication
Most endpoints require a in theAuthorization header:
Quick start
1
Get your JWT token
Sign in via the DualMind frontend or use Supabase Auth directly:
- JavaScript
- cURL
- Python
2
Create a thread
3
Send a message
You’ll receive two anonymized model responses for blind comparison.
4
Vote on the best response
Endpoint categories
Chat & Arena
Send messages in single or dual (arena) mode with blind model comparison
Threads
Create, list, update, share, and delete conversation threads
Voting & Stats
Submit votes and retrieve model leaderboard statistics
Models & Users
List available AI models and sync user profiles
Utilities
Health checks, feature flags, and text-to-speech
Admin API
Full CRUD operations for platform management
Response format
All API responses use JSON. Successful responses return the data directly. Errors follow a consistent format:- Success
- Error
Error codes
Rate limits
Rate limits vary by endpoint and authentication status. Authenticated users receive higher limits than anonymous requests.
Interactive playground
SDKs and tools
OpenAPI Spec
Download the OpenAPI 3.0 specification for code generation
MCP Server
Connect AI agents to DualMind via Model Context Protocol