get_user_attribute_history
Retrieve admin-side attribute change history for a single user, capturing custom attribute modifications not shown in standard user events.
Instructions
Get admin-side attribute change history for a single user.
Queries admin events scoped to users/{userId} with UPDATE / ACTION
operations. Intended for tracking custom attribute changes such as
temp_password which are written by admin API and do not surface in
get_events (which only shows user-driven events like LOGIN /
UPDATE_PASSWORD).
Args: username: Exact username (email). date_from: Start date (YYYY-MM-DD). Defaults to last 24h when omitted (KEYCLOAK_DEFAULT_DATE_FROM_HOURS). date_to: End date (YYYY-MM-DD). max_results: Maximum results (default 100). max_repr: Max chars of the representation field. 0 = omit, -1 = full.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | ||
| date_from | No | ||
| date_to | No | ||
| max_results | No | ||
| max_repr | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |