v1

latestOpenAPI 3.0.0Superhuman Developer Terms2026-08-06124404444.0 KB
Workspaces

List workspace roles

Returns a list of the counts of users over time by role for the workspace.

get/workspaces/{workspaceId}/roles

Path parameters

workspaceIdstring required

ID of the workspace.

Response

List of role activity over time for the workspace.

Example response

{
  "items": [
    {
      "month": "2020-09-15",
      "activeAdminCount": 2,
      "activeDocMakerCount": 2,
      "activeEditorCount": 2,
      "inactiveAdminCount": 2,
      "inactiveDocMakerCount": 2,
      "inactiveEditorCount": 2
    }
  ]
}