https://buf.build/authzed/api/docs/main/authzed.ap...
# spicedb
e
https://buf.build/authzed/api/docs/main/authzed.api.v1#ExpandPermissionTree the expaned api lets you walk from objects -> subjects, which would let you find all of the users associated with a team (assuming you had a permission that aggregated them)