---
title: "Submit a benchmark"
method: POST
path: "/submit-benchmark"
tags: ["POST"]
---

# Submit a benchmark

`POST /submit-benchmark`

# Notes

* This endpoint can only be invoked once every few seconds

* Order of `solution_nonces` does not matter

* When a benchmark is confirmed (`benchmark.state != null`), up to `3` nonces will be sampled (`benchmark.state.sampled_nonces`) for which the corresponding `merkle_proof` must be submitted via `/submit-proof` endpoint

* Header `X-Api-Key` is required. Use `/request-api-key` endpoint. 
  
  * If `<api_key>` is invalid, a `401` error will be returned

## Headers

- `X-Api-Key` string

## Request body

- SubmitBenchmarkRequest
  - `benchmark_id` string
  - `stopped` boolean
  - `merkle_root` string
  - `solution_quality` integer[]

## Response `200`

Success

- SubmitBenchmarkResponse
  - `ok` boolean

## Changes

- **2025-11-18** `f5c2c49d48ea` — 2 warning, 2 info
  - removed the request property `discarded_solution_nonces`
  - removed the request property `solution_nonces`
  - added the new optional request property `solution_quality`
  - added the new optional request property `stopped`
- **2025-06-05** `77a999862d17` — 1 info
  - added the new optional request property `discarded_solution_nonces`
- **2024-10-04** `619cf3c6322a` — 3 warning, 4 info
  - removed the request property `settings`
  - removed the request property `solution_data`
  - removed the request property `solutions_meta_data`
  - added the new optional request property `benchmark_id`
  - …3 more
- **2024-05-31** `5523952546dd` — 1 breaking, 4 warning, 3 info
  - removed the media type `application/json` for the response with the status `200`
  - removed the request property `benchmark_id`
  - removed the request property `merkle_root`
  - removed the request property `solution_quality`
  - …4 more

[Change history](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/changes/submit-benchmark/post.md)

---

[API](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api.md) · [All operations](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tig-foundation/the-innovation-game-api/revisions/2af9c398c1d4/schema)
