user_sessions
Retrieve complete active session details for a user (ID, IP, timestamps, clients) to diagnose access issues and audit activity.
Instructions
[READ] A user's active sessions (id, IP, start/last access, clients).
Args: user_id: User id, from list_users. target: IdP target name from config; omit for the default.
Returns {"sessions": [...], "returned": N, "truncated": false} — the IdP returns the user's whole session set, so this listing is always complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| user_id | Yes | ||
| max_results | No |