---
title: "Set hashrate target"
method: PUT
path: "/api/v1/performance/hashrate-target"
tags: ["Performance"]
---

# Set hashrate target

`PUT /api/v1/performance/hashrate-target`

## Request

- Base URL: `http://miner`
- URL: `http://miner/api/v1/performance/hashrate-target`
- Auth: none declared
- TypeScript: <https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/docs/api/v1/performance/hashrate-target/put.ts> (a function with typed inputs; its response is checked against the schema)

Sets hashrate target for the miner.

## Request body

- TeraHashrate
  - `terahash_per_second` number, double, required

## Response `200`

Successful response containing hashrate target (Th/s).

- TeraHashrate
  - `terahash_per_second` number, double, required

---

[API](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api.md) - [All operations](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/256foundation/apis/braiins-os-public-rest-api/revisions/d341c8e1d506?raw)
