Contexte géant
Base de connaissancesDéveloppeurs
Le Sign Up Now

Me

Manage the authenticated user's profile and workspace.


GET

Get my suspension appeal messages

/me/suspension-messages

Returns 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.

SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: messages } = await gc.me.getMySuspensionMessages();
GET

Get my notifications

/me/notifications

Returns 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.

Parameters
page
query · number
pageSize
query · number
search
query · string
status
query · union
SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: notifications } = await gc.me.getMyNotifications();
GET

Get organizations I belong to

/me/organizations

Returns 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 (e.g. owner, admin, member).

SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: orgs } = await gc.me.getMyOrganizations();
GET

Get my pending invitations

/me/invitations

Returns 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.

SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: invitations } = await gc.me.getMyInvitations();
GET

Get my activity history

/me/activities

Returns 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. Supports standard pagination query parameters (page, pageSize, sortBy, sortOrder).

Parameters
page
query · number
pageSize
query · number
lite
query · stringWhen 'true', return only essential fields (id, slug, title/name). Useful for context fetching, link resolution, and reducing payload size.
SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: activities } = await gc.me.getMyActivities();
GET

Get current user profile and permissions

/me

Returns 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.

SDK
import { createGiantContext } from "@giantcontext/sdk-typescript";
const gc = createGiantContext({ apiKey: process.env.GIANTCONTEXT_API_KEY! });
const { data: me } = await gc.me.getMe();

Built byHuman
This content was designed and written by a human.
[0]
Colonne
    Colonne 2
    • Discord
    • BlueSky

    © 2026 Giant Context
    ConfidentialitéConditions d'utilisationPolitique relative aux cookies
    Me