Skip to content

Me

Fields

userUser!

The viewer's bookings — the union of ones attended by one of their participants and ones they made on somebody else's behalf. What the account schedule reads.

Sort order follows time: upcoming runs chronologically forward and drops cancelled bookings and sessions that have already started; past and all run most-recent-first and include cancelled ones.

On a business-scoped request this is that business's bookings alone. On the shared, app-wide account it hides demo tenants — with the exception of a booking whose session has not finished, because a place you still have to turn up for belongs on your schedule wherever you booked it.

Arguments (8)
firstInt
afterString
status[SessionStatus!]
businesses[EntityRef!]
activities[EntityRef!]
activityTypes[ActivityType!]

Restrict to bookings whose activity has any of the listed types. Null or empty means "no type constraint".

Explicit ordering. startAsc / startDesc order by the session's start time; createdAsc / createdDesc by when the booking was made. Unset follows time.

bookingBooking

One of the viewer's bookings, by id. Null when it is not theirs — the same answer as "not found", so a guessed id cannot confirm that somebody else's booking exists.

Arguments (1)
idID!

The viewer's orders across every business, newest first. Each carries its own lines, so the account purchases page needs no second query to say what was bought. On a business-scoped request (that business's pages and embeds) only the orders placed there.

Arguments (5)
firstInt
afterString
businessEntityRef

Restrict to orders placed at this business.

Only orders with at least one line of one of these kinds. The Purchases page asks for [product]: what the buyer bought to keep, leaving out the orders that only booked a session, which their schedule already lists.

searchString

Only orders with a line whose name holds this text, ignoring case.

entitlements[Entitlement!]!

What the viewer owns and can spend at each business: passes with credits left, live memberships, gift cards with a balance. On a business-scoped request (that business's pages and embeds) only what they hold there.

Arguments (2)
businessEntityRef

Restrict to one business.

includeInactiveBoolean

Include spent, expired and cancelled ones. Defaults to false.

challengeRegistrationsChallengeRegistrationConnection!

Challenge registrations that belong to the viewer through linked participant records. Cursor-paginated; default page size 50, clamped to [1, 100]. Newest registrations are returned first. On a business-scoped request (a business's own pages, and the embeds on its site) only that business's registrations.

Arguments (2)
firstInt
afterString
paymentMethods[SavedPaymentMethod!]!

Saved Stripe PaymentMethods attached to the viewer's customer record. Card-only for v1 — bank accounts, Apple/Google Pay surfaces are out of scope. The default-flagged entry is what off-session charges (waitlist auto-promote, future subscription dunning) fall back to when no per-flow card is reserved.

apps[App!]!

Apps the viewer owns, newest first.

appApp

One of the viewer's apps, by its handle.

Arguments (1)
handleString!
developerAccessTokens[DeveloperAccessToken!]!

The viewer's active CLI credentials, newest first.

Used in