---
title: "Diff Benchmark Tasks"
method: POST
path: "/api/v1/benchmarks/{bench_id}/tasks:diff"
tags: ["benchmarks"]
---

# Diff Benchmark Tasks

`POST /api/v1/benchmarks/{bench_id}/tasks:diff`

Split submitted tasks into new tasks, tasks already stored with identical content, and updates whose names are stored with different content. Lets a client upload only what is missing or changed.

## Path parameters

- `bench_id` string, required

## Request body

- BenchmarkTaskDiffRequest
  - `tasks` object[], required
  - `artifacts` object

## Response `200`

Successful Response

- BenchmarkTaskDiffResponse
  - `bench_id` string, required
  - `new` string[], required
  - `present` string[], required
  - `updated` string[], required
  - `task_count` integer, 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)
