---
title: "Suggest Metric Missing Policy"
method: POST
path: "/api/v1/metrics/suggest-missing-policy"
tags: ["metrics"]
---

# Suggest Metric Missing Policy

`POST /api/v1/metrics/suggest-missing-policy`

## Request

- Base URL: `https://api.cohearence.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cohearence.app/api/v1/metrics/suggest-missing-policy`
- Auth: HTTP bearer

Suggest what an unlogged day means for a metric that's being created.

Body: ``{name, category?, data_type, unit?, description?}``. Returns
``{"policy", "source": "classifier"|"type_default", "confidence", "applied"}`` —
the policy creating the metric without an explicit choice would use (a confident
classifier pick, else the type default). Never errors on classifier failure.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cohearence/apis/health-agent-api.md) · [All operations](https://skmtc.dev/cohearence/apis/health-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cohearence/apis/health-agent-api/revisions/c7aee7d6ecf0?raw)
