Organizations

✨ Get organization members/roles

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Retrieve a list of all users and roles in a specific organization.
get/api/organizations/{id}/memberships

Path parameters

idinteger required

A unique integer value identifying this organization.

Query parameters

contributed_to_projectsboolean

Whether to include projects created and contributed to by the members.

exclude_project_idinteger

Project ID to exclude users who are already associated with this project (direct members, workspace members, or implicit admin/owner access).

exclude_workspace_idinteger

Workspace ID to exclude users who are already associated with this workspace (direct workspace members or implicit admin/owner access).

is_deletedboolean
orderingstring

Which field to use when ordering the results.

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

rolestring

Filter members by organization role. Accepts single role or comma-separated list of roles.

Format:

  • Single role: ?role=RE
  • Multiple roles: ?role=AN,RE (users with ANY of these roles)

Role Codes:

  • OW = Owner
  • AD = Administrator
  • MA = Manager
  • RE = Reviewer
  • AN = Annotator
  • NO = Not Activated
  • DI = Disabled
scope'accessible' | 'all'

Member visibility scope. accessible (default) limits Managers to members in their projects/workspaces. all returns all organization members. Only affects Manager role.

searchstring

A search term.

tagsstring

Filter members by tags. Use a comma-separated list of tag IDs.

user__last_activity__gtestring date-time
user__last_activity__ltestring date-time
user_typestring[]

Multiple values may be separated by commas.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}

Changes