---
title: "Create Competition"
method: POST
path: "/api/v1/domains/{domain_id}/competitions"
tags: ["Domains"]
---

# Create Competition

`POST /api/v1/domains/{domain_id}/competitions`

## Request

- Base URL: `https://app.aimrank.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.aimrank.io/api/v1/domains/{domain_id}/competitions`
- Auth: none declared

Create a competition (ranking) from the domain's entity pool.

In 'open' mode: creates a ranking linked to the domain. Entities are
shared — votes update domain-level ratings.

In 'bracket' mode: creates a ranking + seeds a bracket tournament
from the domain's entity pool.

## Path parameters

- `domain_id` string, required

## Request body

- ApiRoutesDomainsCreateCompetitionRequest
  - `name` string, required
  - `description` string, nullable
  - `mode` string
  - `bracket_size` integer, nullable: Power of 2 for bracket mode
  - `bracket_strategy` string

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aimrank/apis/aimrank-api.md) · [All operations](https://skmtc.dev/aimrank/apis/aimrank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aimrank/apis/aimrank-api/revisions/3574d0aff459?raw)
