---
title: "Client Drift"
method: GET
path: "/api/adviser/clients/{user_id}/drift"
tags: ["Adviser"]
---

# Client Drift

`GET /api/adviser/clients/{user_id}/drift`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/adviser/clients/{user_id}/drift`
- Auth: HTTP bearer

Material changes in one client's position.

Every rule this grant permits is run; rules the grant does not cover are
reported in `rules_not_run` rather than silently skipped, so a quiet
client is distinguishable from an unscannable one.

## Path parameters

- `user_id` string, uuid, required

## Query parameters

- `as_of` string, date, nullable

## Response `200`

Successful Response

- ClientDriftResponse
  - `user_id` string, required
  - `client_label` string, required
  - `period_label` string, required
  - `scanned_at` string, date-time, required
  - `alert_count` integer, required
  - `highest_severity` string, nullable, required
  - `alerts` DriftAlertOut[], required
    - `rule` string, required
    - `severity` string, required
    - `subject` string, required
    - `headline` string, required
    - `detail` string, required
    - `threshold` string, required
    - `current` number, required
    - `prior` number, nullable, required
    - `change_abs` number, nullable, required
    - `change_pct` number, nullable, required
    - `period_label` string, required
    - `scope_required` string, required
    - `fingerprint` string, required
  - `rules_not_run` RuleNotRun[], required
    - `rule` string, required
    - `reason` string, required
  - `scopes` string[], required
  - `rules` RuleDescription[], required
    - `rule` string, required
    - `name` string, required
    - `threshold` string, required
    - `rationale` string, required
    - `scope_required` string, required
  - `derivation` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
