---
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

---

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