The
organizations client methods are currently in BETA. The API may change without notice. A one-time warning is emitted on first use.Key Capabilities
- List organizations you have access to
- Retrieve organization details by name or ID
- Create new organizations
- Update an organizationās name or description
- Delete an organization
- Add or remove users (organization memberships)
List Organizations
List all organizations you have access to, with optional name filtering.Create an Organization
Organization names must be unique within the account.Get an Organization
Retrieve a specific organization by name or ID.Update an Organization
Update an organizationās name or description. Only the fields you pass are sent; omitted fields are left unchanged. At least one ofname or description must be provided, otherwise a ValueError is raised. Pass description=None to clear the existing description.
Delete an Organization
Add a User to an Organization
Add a user to an organization, or update their role if theyāre already a member (upsert). Requires organization admin. Custom role assignments are not yet supported for organizations. Role constraints:- Users with an
annotatoraccount role can only be assigned theannotatororganization role. - Users with a non-annotator account role cannot be assigned the
annotatororganization role.