---
title: "Ingest Benchmark"
method: POST
path: "/api/v1/benchmarks/{bench_id}/ingest"
tags: ["benchmarks"]
---

# Ingest Benchmark

`POST /api/v1/benchmarks/{bench_id}/ingest`

Ingest the uploaded manifest for a bench_id allocated by createBenchmarkUpload: validate it and write the bench, task, and grader rows.

## Path parameters

- `bench_id` string, required

## Query parameters

- `bench_type` 'benchmark' | 'holodeck_benchmark' — The kind of benchmark push: a real benchmark or a holodeck draft.

## Response `200`

Successful Response

- IngestBenchmarkResponse
  - `bench_id` string, required
  - `name` string, required
  - `family` string, nullable
  - `task_count` integer, required
  - `failed_tasks` BenchmarkTaskWriteFailure[]
    - `task_id` string, required
    - `label` string, nullable
    - `error` string, required

---

[API](https://skmtc.dev/trajectory/apis/trajectory-api.md) · [All operations](https://skmtc.dev/trajectory/apis/trajectory-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trajectory/trajectory-api/revisions/d930b23b9602/schema)
