list_workspace_members
Workspace Analytics & Billing: everyone who belongs or ever belonged to ONE Enterprise workspace, including people who left and people who never ran anything. Needs a workspace reporting key (wdr_report_…, made by the workspace Owner) for that workspace, or your own sign-in as its Owner or Admin (everyone) or Member (only your own row). Returns data (one row per person) + meta. Each row: user_id, email, name (both as they are today), role (owner/admin/member/viewer; for someone who left, the role they had when they left), status (active or left), team = their team now ("unclassified" when they have none), team_history = every team they were put in, oldest first: team, team_id, effective_from (null = their first team, which also covers everything they did before it was set), effective_to (null = still that team), assigned_at, assigned_by (user id); last_used_at = when they last sent a run in this workspace (a job, or a step charged outside jobs; null = never); membership_periods = each period they belonged: joined_at, left_at (null = still a member; joined_at null = they joined before the workspace audit log recorded joins, see meta.missing_fields). A report split by team puts each run in the team its person was in when the run finished. Times are ISO 8601 in Asia/Ho_Chi_Minh (+07:00). Free; at most 60 calls a minute per key or person. The same report as CSV: GET /api/v1/workspaces/{workspace_id}/reports/list_workspace_members?format=csv.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | The workspace: the one the reporting key belongs to, or one you are a member of. |