Skip to main content

Member workspace change response

The member's role in the workspace after the change.

membership_idstringrequired
project objectrequired

A member's role in one workspace (project).

project_idstringrequired
project_namestringrequired
is_open_to_orgbooleanrequired
rolestringrequired

Possible values: [no_access, viewer, member, admin, owner]

sourcestringrequired

Where the role comes from: owner for the Workspace Owner, org_admin for Org Admins, added when they were given a role in this workspace, everyone when the workspace is open to the organization and none when they have no access.

Possible values: [owner, org_admin, added, everyone, none]

last_active_atdate-timenullablerequired

When they last opened this workspace, null if they haven't since they got access. Recorded at most once an hour, so it can be up to an hour behind. Use it to find members who haven't used a workspace for a while. Sign-ins aren't counted, because a single sign-on session can stay alive for days without any use.

transferred_assets objectrequired

Number of assets moved, keyed by asset type: dashboards, insights, cohorts, custom_events, annotations, filter_groups, experiments, scheduled_agents, alerts, csv_uploads.

property name*integer
Member workspace change response
{
"membership_id": "string",
"project": {
"project_id": "string",
"project_name": "string",
"is_open_to_org": true,
"role": "no_access",
"source": "owner",
"last_active_at": "2024-07-29T15:51:28.071Z"
},
"transferred_assets": {}
}