---
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-26** `65e661618b8f` — 1 info
  - api operation id `t_1` removed and replaced with `F_3`
- **2026-09-15** `4da8c9536717` — 1 info
  - api operation id `d_4` removed and replaced with `t_1`
- **2026-09-15** `e2458537595b` — 1 info
  - api operation id `B_4` removed and replaced with `d_4`
- **2026-09-11** `2e438cb3181d` — 1 info
  - api operation id `v_3` removed and replaced with `B_4`
- **2026-09-07** `50527361f800` — 1 info
  - api operation id `e_5` removed and replaced with `v_3`

[Full 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.dev/octoperf/apis/octoperf-api/revisions/65e661618b8f?raw)
