from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Get user from workspace
users = portkey.admin.workspaces.users.list(
workspace_id="WORKSPACE_SLUG",
)
print(users)
from portkey_ai import Portkey
# Initialize the Portkey client
portkey = Portkey(
api_key="PORTKEY_API_KEY",
)
# Get user from workspace
users = portkey.admin.workspaces.users.list(
workspace_id="WORKSPACE_SLUG",
)
print(users)