Groups
Groups are Paperless-ngx user groups used for permission management. They are read-only from the API perspective - groups can only be fetched and iterated, not created or modified via pypaperless.
Model
See pypaperless/models/permissions/groups.py for all fields and pypaperless/models/types.py for enum and filter types, and the Paperless-ngx API docs for the upstream schema.
Fetch one
group = await paperless.groups(2)
print(group.name) # "Administrators"
print(group.permissions) # ["view_document", "change_document", ...]