---
title: "AI root-cause diagnosis for one provider's DVM Production drill-down (PAW-576).
POST since it may trigger an LLM call; the result is cached server-side."
method: POST
path: "/Metrics/dvm-production/{providerId}/diagnosis"
tags: ["Metrics"]
---

# AI root-cause diagnosis for one provider's DVM Production drill-down (PAW-576).
POST since it may trigger an LLM call; the result is cached server-side.

`POST /Metrics/dvm-production/{providerId}/diagnosis`

## Path parameters

- `providerId` string, required

## Query parameters

- `period` string

## Response `200`

OK

- BusinessMetricsResponseDtoOfDvmDiagnosisDto
  - `success` boolean
  - `data` DvmDiagnosisDto — AI root-cause diagnosis for one provider's drill-down on the DVM Production tab (PAW-576). bool DvmDiagnosisDto.IsLlmGenerated is false when the deterministic rule-based fallback was used (LLM call failed or returned nothing).
    - `providerId` string
    - `period` string
    - `diagnosis` string
    - `isLlmGenerated` boolean
    - `generatedAt` string
  - `error` string, nullable
  - `message` string, nullable

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/e7d381a5453b/schema)
