---
title: "One health-pattern finding (beta)"
method: GET
path: "/v1/patients/{patient_id}/patterns/{finding_id}"
tags: ["REST v1"]
---

# One health-pattern finding (beta)

`GET /v1/patients/{patient_id}/patterns/{finding_id}`

## Request

- Base URL: `https://platform.anpheros.com`
- URL: `https://platform.anpheros.com/v1/patients/{patient_id}/patterns/{finding_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://platform.anpheros.com/oauth/authorize`, token URL `https://platform.anpheros.com/oauth/token`; client credentials, token URL `https://platform.anpheros.com/oauth/token`, scopes: `patient/*.rs`, `patient/Observation.rs`, `patient/Observation.rs?category=laboratory`, `patient/Condition.rs`, `patient/MedicationStatement.rs`, `patient/DocumentReference.rs`, `patient/AllergyIntolerance.rs`, `offline_access`, `openid`, `fhirUser`, `anpheros/patterns`)

Recomputed for the same window; when the record changed, the finding gets a new id and this one answers 404.

## Path parameters

- `patient_id` string, required
- `finding_id` string, required

## Query parameters

- `end` string, date, nullable: Last day of the window (UTC, ISO date); default today
- `window_days` integer: Days in the analysis window, ending on `end`

## Headers

- `authorization` string, nullable
- `X-Api-Key` string, nullable
- `X-Anpheros-Acting-As` string, nullable
- `X-Anpheros-On-Behalf-Of` string, nullable

## Response `200`

Successful Response

- PatternFinding: O constatare: ce arată dosarul pe o perioadă, cu datele suport, metoda și limitările ei. Nu e diagnostic; o asociere nu e o cauză; doar `statistically_supported = true` are susținere statistică.
  - `id` string, required
  - `patient` string, required
  - `type` 'trend' | 'baseline_deviation' | 'recurrence' | 'association' | 'convergence', required
  - `subtype` string, nullable
  - `epistemic_status` 'descriptive_observation' | 'statistical_association' | 'validated_prediction', required
  - `strength` 'strong' | 'moderate' | 'weak' | 'not_tested', required
  - `statistically_supported` boolean, required
  - `summary_code` string, required
  - `summary_text` string, required
  - `variables` object[], required
  - `window` object, required
  - `comparison_window` object, nullable
  - `result` object, required
  - `statistics` object, nullable
  - `threshold` object, nullable
  - `evidence` object[], required
  - `evidence_total` integer, required
  - `limitations` object[], required
  - `method` object, required
  - `engine_version` string, required
  - `input_fingerprint` string, required
  - `config_fingerprint` string, required
  - `safety` object, required
  - `review` object, required

## Other responses

- `401`: Missing, invalid, expired or revoked credential (`WWW-Authenticate: Bearer`).
- `403`: The credential's scope or the patient's consent does not allow this.
- `404`: Not in the current data for this window
- `422`: Validation Error
- `429`: Rate limit exceeded; wait `Retry-After` seconds.

---

[API](https://skmtc.dev/anpheros/apis/anpheros-platform.md) · [All operations](https://skmtc.dev/anpheros/apis/anpheros-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/anpheros/apis/anpheros-platform/revisions/ff567b232dc3?raw)
