---
title: "Get Metrics Recommendations"
method: GET
path: "/api/v1/sdk/recommendations/metrics"
tags: ["public-api", "public-recommendations"]
---

# Get Metrics Recommendations

`GET /api/v1/sdk/recommendations/metrics`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/sdk/recommendations/metrics`
- Auth: none declared

Get metric recommendations based on schema analysis.

Analyzes column types, naming patterns, and constraints to suggest:
- Appropriate metric types for each column
- Check types (validity, referential, metric)
- Priority based on business importance

Uses pattern matching from COMPLIANCE_PATTERNS and PII_TYPE_MAPPING
to identify columns that warrant monitoring.

## Query parameters

- `asset_id` string, required: Asset UUID or identifier
- `table_path` string, nullable: Filter to specific table
- `min_confidence` number: Minimum confidence threshold
- `limit` integer: Maximum recommendations to return

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api.md) · [All operations](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anomalyarmor/apis/anomalyarmor-api/revisions/51c755fb5d0b?raw)
