---
title: "Create Metric Point"
method: POST
path: "/metrics/{metric}/points"
tags: ["Metric Points"]
---

# Create Metric Point

`POST /metrics/{metric}/points`

## Path parameters

- `metric` integer, required

## Request body

- CreateMetricPointRequestData
  - `value` number, required
  - `timestamp` string, date-time, nullable

## Response `201`

`MetricPoint`

## Other responses

- `401` — Unauthenticated
- `403` — Authorization error
- `404` — Not found
- `422` — Validation error

## Changes

> 30 revisions in range; 7 could not be searched.

- **2026-07-10** `4e4308be5bcf` — 6 breaking, 2 info
  - the response property `data/attributes/created/human` became nullable for the status `201`
  - the response property `data/attributes/created/string` became nullable for the status `201`
  - the response property `data/attributes/updated/human` became nullable for the status `201`
  - the response property `data/attributes/updated/string` became nullable for the status `201`
  - …4 more
- **2026-05-09** `64c2a336b25f` — 1 warning
  - removed the request property `timestamp`
- **2025-12-02** `b912f4471de4` — 1 info
  - added the non-success response with the status `403`
- **2025-08-25** `c7bc597b862d` — 3 breaking, 1 info
  - the `data/relationships/metric/data` response's property type/format changed from `object`/`` to ``/`` for status `201`
  - removed the required property `data/relationships/metric/data/id` from the response with the `201` status
  - removed the required property `data/relationships/metric/data/type` from the response with the `201` status
  - added `#/components/schemas/MetricIdentifier, subschema #2` to the `data/relationships/metric/data` response property `anyOf` list for the response status `201`
- **2025-08-15** `5b3f1f21cf76` — 1 info
  - media type `application/json` was changed to a more specific media type `application/vnd.api+json` for the response status `201`

[Full history](https://skmtc.dev/cachethq/apis/cachet/changes/metrics/:metric/points/post.md)

---

[API](https://skmtc.dev/cachethq/apis/cachet.md) · [All operations](https://skmtc.dev/cachethq/apis/cachet/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cachethq/cachet/revisions/7f89fdcf710a/schema)
