---
title: "Apply template to an existing report"
method: POST
path: "/analysis/bench-reports/apply-template/{templateId}"
tags: ["Analysis - Bench Reports"]
---

# Apply template to an existing report

`POST /analysis/bench-reports/apply-template/{templateId}`

## Path parameters

- `templateId` string, required

## Request body

- BenchReport
  - `id` string
  - `userId` string
  - `projectId` string
  - `benchResultIds` string[]
  - `name` string
  - `description` string
  - `items` BenchReportItem[], nullable
    - `id` string
  - `configs` BenchReportConfig[], nullable
    - unknown
  - `created` string, date-time
  - `lastModified` string, date-time
  - `tags` string[], nullable

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `429` — Too Many Requests

## Changes

- **2026-09-03** `0dd39158a6ad` — 1 info
  - api operation id `K_1` removed and replaced with `E_2`
- **2026-09-02** `f1e5fc0d1899` — 1 info
  - api operation id `O_4` removed and replaced with `K_1`
- **2026-08-27** `5c632fc8774c` — 1 info
  - api operation id `J_1` removed and replaced with `O_4`
- **2026-08-26** `02a15fc32858` — 1 info
  - api operation id `S_2` removed and replaced with `J_1`
- **2026-07-27** `4b624af2cb6e` — 3 breaking, 4 info
  - the response property `configs` became nullable for the status `200`
  - the response property `items` became nullable for the status `200`
  - the response property `tags` became nullable for the status `200`
  - api operation id `Y_2` removed and replaced with `S_2`
  - …3 more

[Change history](https://skmtc.dev/octoperf/apis/octoperf-api/changes/analysis/bench-reports/apply-template/:templateId/post.md)

---

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