---
title: "Doc Drift References"
method: GET
path: "/snapshots/{snapshot_id}/health/doc-drift/references"
tags: ["code-health"]
---

# Doc Drift References

`GET /snapshots/{snapshot_id}/health/doc-drift/references`

Which documents name one file, and whether those documents carry drift
of their own.

## Path parameters

- `snapshot_id` string, required

## Query parameters

- `target` string, required — Repository-relative path to look up
- `limit` integer

## Response `200`

Successful Response

- DocDriftReferencesResponse — Which documents name one file: the reverse view.
  - `target_path` string, required
  - `references` DocDriftReferenceResponse[]
    - `document` string, required
    - `line` integer, required
    - `kind` string, required
    - `section` string
  - `references_emitted` integer
  - `references_total` integer
  - `documents` integer
  - `documents_with_drift` DocDriftDocumentDriftResponse[]
    - `document` string, required
    - `findings` integer, required
  - `references_basis` string
  - `unavailable` 'not_computed' | 'index_predates_doc_drift' | 'drift_read_failed', nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-21** `cce15d886f2b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/repowise/apis/repowise-hosted-api/changes/snapshots/:snapshot_id/health/doc-drift/references/get.md)

---

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