---
title: "Modifies values of performance metrics"
method: GET
path: "/pmapi/store"
tags: ["PMAPI HOST SERVICES"]
---

# Modifies values of performance metrics

`GET /pmapi/store`

Some performance metrics allow their value to be modified, for example to re-initialize counters or to modify control variables.

This operation takes a single metric *name* to modify, and optionally specific *instances*. The mandatory *value* will be interpreted according to the 
type of the metric being modified.

If successful, the response from these requests is a JSON document.

```bash
$ curl -s http://localhost:44322/pmapi/store?name=pmcd.control.timeout&value=10
```
**Reference:** [pmStore](https://man7.org/linux/man-pages/man3/pmStore.3.html)(3)

## Query parameters

- `iname` string
- `instance` number
- `name` string
- `value` unknown
- `hostspec` string
- `context` number
- `polltimeout` number
- `client` string

## Response `200`

OK

## Changes

> 16 revisions in range; 1 could not be searched.

- **2020-10-21** `26cabf98ddfb` — 1 info
  - endpoint added
- **2020-10-20** `7da0633fad91` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/performancecopilot/apis/pmwebapi/changes/pmapi/store/get.md)

---

[API](https://skmtc.dev/performancecopilot/apis/pmwebapi.md) · [All operations](https://skmtc.dev/performancecopilot/apis/pmwebapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/performancecopilot/pmwebapi/revisions/666212c8ed6b/schema)
