---
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`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Metrics/dvm-production/{providerId}/diagnosis`
- Auth: HTTP bearer

## 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.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
