---
title: "Changes to Create a threshold"
method: POST
path: "/v0/projects/{project}/thresholds"
---

# Changes to Create a threshold

`POST /v0/projects/{project}/thresholds`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 10 of 194 revisions.

- **2026-09-23** `6b8d0bafd2dd`: 4 info
- **2026-03-23** `1634d744359e`: 2 info
- **2026-02-26** `e6055a86dc91`: 1 info
- **2026-02-22** `b7250beffe09`: 1 info
- **2025-08-10** `c2d6b1d67c04`: 1 info
- **2025-08-10** `e1332be6f87b`: 3 breaking, 3 warning
- **2025-08-09** `857f697f66a4`: 3 breaking, 3 warning
- **2025-08-09** `2be9839636fa`: 3 breaking, 3 warning
- **2025-08-09** `ca83201e45e6`: 3 breaking
- **2025-08-08** `7b38ab3b0881`: 3 breaking, 3 warning

## Changes

- **2026-09-23** `6b8d0bafd2dd`: 4 info
  - added the new optional request property `metric`
  - added the new optional request property `parameters`
  - added the optional property `metric` to the response with the `201` status
  - added the optional property `parameters` to the response with the `201` status
- **2026-03-23** `1634d744359e`: 2 info
  - added the optional property `testbed/spec/allOf[#/components/schemas/JsonSpec]/sandbox` to the response with the `201` status
  - added the required property `testbed/spec/allOf[#/components/schemas/JsonSpec]/os` to the response with the `201` status
- **2026-02-26** `e6055a86dc91`: 1 info
  - added the optional property `testbed/spec/allOf[#/components/schemas/JsonSpec]/fallback` to the response with the `201` status
- **2026-02-22** `b7250beffe09`: 1 info
  - added the optional property `testbed/spec` to the response with the `201` status
- **2025-08-10** `c2d6b1d67c04`: 1 info
  - for the `path` request parameter `project`, the type was generalized from `string` to no type
- **2025-08-10** `e1332be6f87b`: 3 breaking, 3 warning
  - added `#/components/schemas/NameId` to the `branch` request property `allOf` list
  - added `#/components/schemas/NameId` to the `measure` request property `allOf` list
  - added `#/components/schemas/NameId` to the `testbed` request property `allOf` list
  - removed `#/components/schemas/NameId_for_BranchUuid_and_BranchSlug_and_BranchName` from the `branch` request property `allOf` list
  - removed `#/components/schemas/NameId_for_MeasureUuid_and_MeasureSlug_and_ResourceName` from the `measure` request property `allOf` list
  - removed `#/components/schemas/NameId_for_TestbedUuid_and_TestbedSlug_and_ResourceName` from the `testbed` request property `allOf` list
- **2025-08-09** `857f697f66a4`: 3 breaking, 3 warning
  - added `#/components/schemas/NameId_for_BranchUuid_and_BranchSlug_and_BranchName` to the `branch` request property `allOf` list
  - added `#/components/schemas/NameId_for_MeasureUuid_and_MeasureSlug_and_ResourceName` to the `measure` request property `allOf` list
  - added `#/components/schemas/NameId_for_TestbedUuid_and_TestbedSlug_and_ResourceName` to the `testbed` request property `allOf` list
  - removed `#/components/schemas/NamedId_for_BranchUuid_and_BranchSlug_and_BranchName` from the `branch` request property `allOf` list
  - removed `#/components/schemas/NamedId_for_MeasureUuid_and_MeasureSlug_and_ResourceName` from the `measure` request property `allOf` list
  - removed `#/components/schemas/NamedId_for_TestbedUuid_and_TestbedSlug_and_ResourceName` from the `testbed` request property `allOf` list
- **2025-08-09** `2be9839636fa`: 3 breaking, 3 warning
  - added `#/components/schemas/NamedId_for_BranchUuid_and_BranchSlug_and_BranchName` to the `branch` request property `allOf` list
  - added `#/components/schemas/NamedId_for_MeasureUuid_and_MeasureSlug_and_ResourceName` to the `measure` request property `allOf` list
  - added `#/components/schemas/NamedId_for_TestbedUuid_and_TestbedSlug_and_ResourceName` to the `testbed` request property `allOf` list
  - removed `#/components/schemas/NameId_for_BranchName` from the `branch` request property `allOf` list
  - removed `#/components/schemas/NameId_for_ResourceName` from the `measure` request property `allOf` list
  - removed `#/components/schemas/NameId_for_ResourceName` from the `testbed` request property `allOf` list
- **2025-08-09** `ca83201e45e6`: 3 breaking
  - the `branch/slug` response's property type changed from `string` to no type for status `201`
  - the `measure/slug` response's property type changed from `string` to no type for status `201`
  - the `testbed/slug` response's property type changed from `string` to no type for status `201`
- **2025-08-08** `7b38ab3b0881`: 3 breaking, 3 warning
  - added `#/components/schemas/NameId_for_BranchName` to the `branch` request property `allOf` list
  - added `#/components/schemas/NameId_for_ResourceName` to the `measure` request property `allOf` list
  - added `#/components/schemas/NameId_for_ResourceName` to the `testbed` request property `allOf` list
  - removed `#/components/schemas/NameId` from the `branch` request property `allOf` list
  - removed `#/components/schemas/NameId` from the `measure` request property `allOf` list
  - removed `#/components/schemas/NameId` from the `testbed` request property `allOf` list

---

[Operation](https://skmtc.dev/bencherdev/apis/bencher-api/docs/v0/projects/:project/thresholds/post.md) - [API](https://skmtc.dev/bencherdev/apis/bencher-api.md) - [Page](https://skmtc.dev/bencherdev/apis/bencher-api/changes/v0/projects/:project/thresholds/post)
