user_sessions
Retrieve the complete set of active sessions for a specified user, including session IDs, IP addresses, start and last access times, and client applications. Provide user_id and optionally an IdP target.
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 |