List Organization Members
(v2)GET
Lists your organization's members one page at a time. Membership here is what grants access to the organization itself, so every project's member list is drawn from this one.
curl -X GET "https://api.confident-ai.com/v2/organization/members" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"members": [
{
"id": "<USER-ID>",
"email": "jane@acme.com",
"name": "Jane Doe",
"image": null,
"organizationRole": {
"id": "<ROLE-ID>",
"name": "Admin"
}
}
],
"totalOrganizationMembers": 3,
"page": 1,
"pageSize": 25
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Query parameters
pageintegerdefault: 1The page to return. Defaults to 1.
pageSizeintegerdefault: 25The number of members per page, at most 100. Defaults to 25.
Response
List Organization Members succeeded.
successbooleanIndicates if the request was successful.
dataobjectOne page of organization members, with the total across all pages.
Show 4 propertiesHide 4 properties
memberslist of objectsThe organization's members for the current page.
Show 5 propertiesHide 5 properties
idstringThis is the id of the user.
emailstringThis is the email address of the user.
namestring | nullThis is the display name of the user, or
nullwhen they have not set one.imagestring | nullThis is the URL of the user's avatar, or
nullwhen they have none.organizationRoleobject | nullThe role a member holds, as referenced from the member. Retrieve the role by id from the roles endpoint of the same scope to see the policies behind it.
Show 2 propertiesHide 2 properties
idstringThe id of the role.
namestringThe name of the role.
totalOrganizationMembersintegerThe total number of members in the organization, across every page.
pageintegerThe page this response covers.
pageSizeintegerThe number of members per page.
deprecatedbooleanIndicates if this endpoint is deprecated.