Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.clarifeye.ai/llms.txt

Use this file to discover all available pages before exploring further.

Use these methods on the warehouse object to manage project members and invites.

List Users

warehouse = client.get_warehouse("warehouse-id")

users = warehouse.list_users()
print(users)

Remove a User

# Assuming you have at least one user
warehouse.remove_user(users[0]["id"])

Invite a User

# Permissions can be any of:
# ["CAN_VIEW_DATA", "CAN_RUN_TASKS", "CAN_PERFORM_ADMIN_ACTIONS"]
warehouse.invite_user("john.doe@clarifeye.ai", permissions=["CAN_PERFORM_ADMIN_ACTIONS"])

List Invites

invites = warehouse.list_invites()
print(invites)

invite = [invite for invite in invites if invite["email"] == "john.doe@clarifeye.ai"][0]
print(invite)

Delete an Invite

warehouse.delete_invite(invite["id"])