---
title: "Set the current value of a gauge metric (how many exist right now) for the workspace."
method: PUT
path: "/v1/usage/gauge/{metric}"
tags: ["account"]
---

# Set the current value of a gauge metric (how many exist right now) for the workspace.

`PUT /v1/usage/gauge/{metric}`

## Request

- Base URL: `https://api.thebridge.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thebridge.dev/v1/usage/gauge/{metric}`
- Auth: none declared

## Path parameters

- `metric` string, required

## Request body

- SetGaugeDto
  - `value` number, required: The current absolute value (how many exist right now). Integer >= 0.

## Response `200`

---

[API](https://skmtc.dev/thebridge/apis/bridge-api.md) · [All operations](https://skmtc.dev/thebridge/apis/bridge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thebridge/apis/bridge-api/revisions/290fffcb3d80?raw)
