Me
Manage the authenticated user's profile and workspace.
List your suspension appeal thread, both your messages and admin replies
/me/suspension-messagesReturns the full suspension appeal message thread for the current user. Each message includes the sender (user or admin), the message content, and a timestamp. Only available to users with an active or past suspension.
import osfrom giantcontext import GiantContext
gc = GiantContext(api_key=os.environ["GIANTCONTEXT_API_KEY"])
suspension_messages = gc.me.list_my_suspension_messages()
List the caller's notifications, filterable by read status and type
/me/notificationsReturns a paginated list of notifications for the authenticated user. Supports filtering by read/unread status and notification type via query parameters. Each notification includes its type, title, message, read status, and associated resource reference.
import osfrom giantcontext import GiantContext
gc = GiantContext(api_key=os.environ["GIANTCONTEXT_API_KEY"])
notifications = gc.me.list_my_notifications()
List organizations you belong to and your role in each
/me/organizationsReturns all organizations that the authenticated user is a member of. Each organization includes its ID, name, slug, logo URL, and the user's role within that organization (owner, admin, editor or viewer).
import osfrom giantcontext import GiantContext
gc = GiantContext(api_key=os.environ["GIANTCONTEXT_API_KEY"])
orgs = gc.me.list_my_organizations()
List pending org invitations addressed to the caller's email, with offered role
/me/invitationsReturns a paginated list of pending organization invitations addressed to the current user's email. Each invitation includes the organization name, the role offered, who sent it, and when it was created. Supports standard pagination query parameters.
import osfrom giantcontext import GiantContext
gc = GiantContext(api_key=os.environ["GIANTCONTEXT_API_KEY"])
invitations = gc.me.list_my_invitations()
List activity by or affecting you, with the resource each touched, paginated
/me/activitiesReturns a paginated list of activities performed by or affecting the current user. Each activity includes the action taken, the resource type and ID involved, the actor, and a timestamp. Filter by action or resourceType, sort with sort=field:direction, and page with page and pageSize.
import osfrom giantcontext import GiantContext
gc = GiantContext(api_key=os.environ["GIANTCONTEXT_API_KEY"])
activities = gc.me.list_my_activities()
Get current user profile and permissions
/meReturns the authenticated user's full profile including name, email, avatar, role (admin/editor/viewer), active status, notification preferences, suspension status, a list of all granted RBAC permissions, and organization memberships with roles. Auto-provisions new users on first login with a default viewer role.
import osfrom giantcontext import GiantContext
gc = GiantContext(api_key=os.environ["GIANTCONTEXT_API_KEY"])
me = gc.me.get_me()