> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dualmindlab.tech/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> DualMind Arena API base URL: https://api.dualmindlab.tech. Public endpoints only; admin routes are not part of this API.
> Authenticate with the access token from an Arena session (a Supabase JWT) as `Authorization: Bearer <token>`. There are no API keys yet; never invent one.
> For battles call POST /api/arena/dualchat, then vote with POST /api/arena/model-vote using the returned comparisonId. Keep model names hidden from voters until they vote.
> GET /api/arena/model-stats (leaderboard) and GET /health need no token.

# Health check

> Public liveness check. `/api/health` returns the same response.

`GET /api/health` returns the same response. Both are public and suitable for uptime monitors.


## OpenAPI

````yaml GET /health
openapi: 3.1.0
info:
  title: DualMind Arena API
  version: 1.0.0
  description: >-
    The REST API behind DualMind Arena: blind battles, votes, the leaderboard,
    models and threads.
  contact:
    name: DualMind Labs
    email: support@dualmindlab.tech
    url: https://dualmindlab.tech
servers:
  - url: https://api.dualmindlab.tech
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Arena
    description: Battles and chat.
  - name: Voting
    description: Votes and the leaderboard.
  - name: Models
    description: Available models.
  - name: Threads
    description: Saved conversations and sharing.
  - name: Utilities
    description: Health and feature flags.
paths:
  /health:
    get:
      tags:
        - Utilities
      summary: Health check
      description: Public liveness check. `/api/health` returns the same response.
      operationId: health
      responses:
        '200':
          description: The API is up.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Health'
              example:
                status: healthy
                message: DualMind API is running
                timestamp: '2026-10-17T12:00:00Z'
                version: 1.0.0
                instanceId: 67c5fc5b5352c545...
      security: []
components:
  schemas:
    Health:
      type: object
      properties:
        status:
          type: string
          example: healthy
        message:
          type: string
          example: DualMind API is running
        timestamp:
          type: string
          format: date-time
        version:
          type: string
          example: 1.0.0
        instanceId:
          type: string
          description: Identifier of the API instance that served the request.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        The access token from your DualMind Arena session (a Supabase JWT). See
        Authentication.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.