user_sessions
Retrieve a user's active sessions with session ID, IP, start/last access, and clients. Enables auditing and troubleshooting of user session activity across identity providers.
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 |