---
title: "Benchmark Spec"
method: GET
path: "/api/v1/benchmarks/{bench_id}/spec"
tags: ["benchmarks"]
---

# Benchmark Spec

`GET /api/v1/benchmarks/{bench_id}/spec`

## Path parameters

- `bench_id` string, required

## Response `200`

Successful Response

- BenchmarkSpecResponse
  - `bench_id` string, required
  - `task_count` integer, required
  - `tasks` BenchmarkSpecTask[]
    - `task_id` string, required
    - `label` string, nullable
    - `split` 'train' | 'test'
    - `input_message` string, nullable
    - `task_category` BenchmarkTaskCategory
      - `task_category_id` string, required
      - `label` string, required
  - `tools` BenchmarkSpecTool[]
    - `tool_id` string, required
    - `name` 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)
