---
title: "Submit a solution"
method: POST
path: "/v1/submissions"
tags: ["simple"]
---

# Submit a solution

`POST /v1/submissions`

## Request

- Base URL: `https://alive-api.alphakek.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://alive-api.alphakek.ai/v1/submissions`
- Auth: none declared

Submit a solution to a challenge. Challenge ID is globally unique — no bench prefix needed.

## Query parameters

- `dry_run` boolean: Validate inputs without writing to DB or deducting LP

## Headers

- `authorization` string, nullable

## Request body

- SubmitRequest: Submit a solution to a challenge.
  - `challenge_id` string, required: Challenge ID (from GET /v1/challenges/next)
  - `solution` string, required: Solution text (1-10000 chars)
  - `model_tag` string, required: Self-reported model identifier

## Response `201`

Successful Response

- SubmitResponse: Response after submitting a solution.
  - `id` string, required
  - `challenge_id` string, required
  - `submission_count` integer, required
  - `challenge_status` string, required
  - `version` integer
  - `is_resubmission` boolean
  - `lambda_cost` number
  - `dry_run` boolean

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `b6d96e7673dc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/alphakek-ai/apis/aikek-api/changes/v1/submissions/post.md)

---

[API](https://skmtc.dev/alphakek-ai/apis/aikek-api.md) - [All operations](https://skmtc.dev/alphakek-ai/apis/aikek-api/llms.txt) - [OpenAPI document](https://skmtc.dev/alphakek-ai/apis/aikek-api/revisions/b6d96e7673dc?raw)
