Skip to content

GraphQL reference

330 types, 14 queries, and 37 mutations published on the public schema.

Queries

  • previewCheckout
    Price a basket without minting anything. Takes the same items checkout does, so what a buyer previews and what they are charged cannot disagree — hand taxCalculationId back to checkout to be charged the figure shown.
  • purchase
    One order, by id. Readable by its buyer, and by anyone holding the id for an anonymous checkout — which is what lets a guest see their own receipt.
  • booking
    One booking, by id.
  • services
    Third-party service configuration (Stripe keys, Mapbox tokens, etc.).
  • me
    → Me
    The currently authenticated user and their passkeys.
  • business
  • session
  • staffMember
    One staff member of the business the request is scoped to (the @handle whose page is being viewed) — how a public profile sheet fetches the schedule behind a staff member it only knows the id of, without the page query carrying every member's sessions up front. Null when the request has no business scope, or the id belongs to another business or a removed member.
  • production
    One production of the business the request is scoped to (the @handle whose page is being viewed) — a public performing-arts or cinema activity — with its poster, facts, ticket price range and its whole upcoming run of showtimes (the next 120 at most), for the production sheet. Null when the request has no business scope, or the id is not a listed or unlisted (never an internal) production of that business. The public site and the embeds' production sheet read it.
  • bookingActivitySlots
    Open, bookable increments for a structure: booking activity within the [from, to] window — the activity's weekly windows minus the assigned resource's commitments, honoring its booking notice + advance window. Each slot is one increment; customers compose a longer booking from a contiguous run (bounded by minIncrements/maxIncrements). Empty when the activity isn't bookable or the appointments feature is off.
  • bookingActivityNextAvailability
    The start of the earliest open booking increment strictly after after (scanning forward up to a bounded horizon), so a booking calendar can jump the customer to the next day/week that actually has availability. Null when there's none within the horizon, the activity isn't bookable, or the appointments feature is off. Pass services for a services-priced activity so the opening spans the selection's full derived duration.
  • product
  • search
    Global search across Sessions' public surfaces, used by the Cmd-K Go menu's contextual results. Today returns matching businesses; the result type will grow over time to surface favorite instructors, activities, and other public entities alongside without breaking the field name. Each list is capped at first (default 5, max 10); matches are case-insensitive substring matches on the entity's primary text columns. Returns empty lists for an empty query.
  • pendingSocialSignUp
    The social sign-in waiting on a confirmation in this browser, if any. Only ever non-null right after a popup-blocked social sign-in bounced back with ?confirmSignUp=1: it reads the pending token out of its HttpOnly cookie so the app can ask about the account without the address ever travelling through the URL.

Mutations

  • createApp
    Create an app owned by the viewer. The handle is global and permanent; the sessions CLI creates one from sessions.app.json on first push.
  • updateApp
    Rename or describe an app the viewer owns, or set its icon to an uploaded image.
  • deleteApp
    Delete an app the viewer owns. Every business that installed it stops rendering its extensions.
  • createAppExtension
    Add an extension to an app the viewer owns.
  • updateAppExtension
  • deleteAppExtension
  • pushAppExtensionVersion
    Upload a new version of an extension: one bundled ES module per target it renders into, each with its live query. Creates a draft; publish it to make businesses run it.
  • publishAppExtensionVersion
    Make a pushed version the one businesses run.
  • createDeveloperAccessToken
    Mint a CLI credential for the viewer. The secret is returned once.
  • revokeDeveloperAccessToken
  • checkout
    Price a basket, mint the order, and — when money is owed — the PaymentIntent to pay for it. The single entry point for booking a session, buying a product, booking an appointment time, or entering a team or individual into a league: one mutation, any mix of items, one order.
  • completePurchase
    Fulfill a minted purchase once its payment has been confirmed: books the sessions, mints the entitlements, spends the credits, and records how the order was funded, all in one transaction.
  • collectPurchaseBalance
    Collect what a deferred order still owes.
  • cancelBooking
    Cancel a booking and, under the activity's cancellation policy, return the money and the credits it consumed. Booking.cancellationPreview says what this will do before it is called.
  • changeBookingSpot
    Move the viewer's own confirmed booking to another free spot on the same session — a different bike, mat or seat.
  • rescheduleBooking
    Move the viewer's own appointment or rental to another open time of the same activity. The booking keeps its length, its practitioner and everything it was paid with: nothing is charged and nothing is refunded.
  • respondToBookingAttendance
    Say whether the viewer's booking is still on — the answer to a reminder's "I'll be there" and "Can't make it" buttons. Answering again replaces the previous answer.
  • cancelBookingSeats
    Cancel some of a party's places and keep the rest of the booking.
  • shareTicket
    Hand one ticket of an order to somebody in the party: returns a link that opens that ticket alone, with its own check-in code, to whoever holds it.
  • stopSharingTicket
    Turn a ticket's share link off. The link stops opening at once; sharing the ticket again mints a new one. The booker's alone to call.
  • sendTicket
    Send one ticket to somebody by email. They get an email with the ticket's link; when the address belongs to a Sessions account, the ticket is also saved to it, so it shows among their tickets right away. The answer is the same either way, so it never says whether an address has an account. A ticket goes to one person: sending it stops any link already out for it, unless that link went to the same account. The booker's alone to call.
  • addBookingSeats
    Add seats more places to a party's booking — more people are coming.
  • joinBookingWaitlist
    Join the queue for a full session. Writes a waitlisted booking with no order behind it — nothing is charged until a place is offered and accepted, which is why this is not checkout.
  • acceptBookingOffer
    Accept an offered place. Re-enters checkout for the amount owed, so the result carries a CheckoutSession exactly as checkout does; the existing waitlisted booking is confirmed rather than a second one inserted beside it.
  • createAccount
    Request an email containing a 6-digit code to confirm a new account. Always returns success regardless of whether the email is already in use (anti-enumeration). If an account already exists for the email, a sign-in code is sent instead.
  • signIn
    Request a sign-in email containing a 6-digit code. Always returns success regardless of whether the email matches an existing account (anti-enumeration).
  • redeemAuthCode
    Redeem a 6-digit auth code and sign the user in. Returns the created or signed-in user, the JWT token, and the redirect URL stored on the code. Sets the auth cookie on success — except for codes that were issued with a business pin, which return a business-scoped token without touching the cookie session.
  • confirmSocialSignUp
    Create the account a social sign-in stopped short of creating, and sign in as it. token is the pending sign-up handed to a popup opener; omit it and the pending cookie is used instead (the popup-blocked flow, which has no opener to hand anything to). name is the viewer's chosen display name, falling back to whatever the provider shared.
  • cancelSocialSignUp
    Discard a pending social sign-up without creating anything. Clears the pending cookie so a later page load doesn't ask again.
  • signOut
    Clear the auth cookie and sign out the current user.
  • refreshSession
    Exchange a native app's session token for a fresh one. The token a sign-in returns stops being accepted after 15 minutes; send it here — expired or not, and without an Authorization header — and use the returned token from then on. Renews and rotates by the same rules as the auth cookie: each token renews once, and presenting one the session has already moved past signs that session out everywhere. Refused once the session is signed out, revoked, or unused for 30 days; the app should then sign out.
  • enterWaitingRoom
    The way into a high-demand session's waiting room.
  • createBankDebitMandateSetup
    Mint a SetupIntent on the business's connected account so the buyer can authorize a bank-debit mandate before the membership they're paying for exists.
  • addFavorite
    Add a business, staff member (instructor), or activity to the authenticated user's favorites. Idempotent — adding an existing favorite is a no-op.
  • removeFavorite
    Remove a business, staff member, or activity from the authenticated user's favorites. Idempotent — removing a favorite that isn't set is a no-op.
  • setMyEmailMarketingConsent
    Set the signed-in viewer's own email-marketing consent for a business they participate in. grant records an affirmative opt-in and freezes the compliant disclosure the viewer was shown (only allowed while the business is collecting consent); withdraw unsubscribes. Recorded as an immutable ledger event with source = participant.
  • setMySmsReminderConsent
    Agree to, or stop, a business texting the viewer session reminders — the "Text me reminders" box at checkout, written once the booking lands, the way setMyEmailMarketingConsent is. phone (as typed) sets the number first; it is saved to the account too when the account has none. A grant freezes the disclosure the viewer was shown into the consent ledger. Refused for a grant with no number.

Objects

  • AcknowledgementRegistrationBlock
    An inline consent acknowledgement: a bold prompt/statement followed by a single checkbox with a short accept label (e.g. "I agree"). Unlike a contract block it renders inline — no review-and-sign sheet, no signature — and required gates submission until the box is checked.
  • Activity
  • ActivityConnection
    Cursor-paginated list of activities for a business.
  • ActivityReminderConfig
    One configured session reminder on an activity: how far ahead of session start to notify, and over which channels. An activity may have several (e.g. 24h and 1h before).
  • ActivityServiceLink
  • AddBookingSeatsResult
    What adding places to a party did.
  • AddFavoriteResult
  • Admission
    One admitted person: one seat, one ticket, one scan.
  • AgeRequirement
    A participant age window for an activity. At least one of minimumAge / maximumAge is set when present. Age is evaluated in whole years as of asOfDate (a season cutoff) or, when that is null, the session's start, against the participant's date of birth whenever it is known.
  • App
    A container for extensions, owned by a developer account and pushed to with the sessions CLI.
  • AppExtension
    One extension inside an app: a JavaScript module that renders into one or more extension targets. Versions are immutable; the latest published one runs.
  • AppExtensionVersion
    An immutable upload of an extension: one bundled module per target it declares.
  • AppExtensionVersionTarget
    One target a version renders into: its own bundled module and the GraphQL input query the host resolves against the extension API before rendering it.
  • AppointmentSlot
    A single open, bookable time range for an appointment type on a specific resource. Computed live from the resource's availability minus its existing commitments; never persisted until a customer books it.
  • Artist
    A performer a business books — a DJ, a band, an actor, a comedian — kept once and billed on any number of activities and sessions, so their links are entered once.
  • AvailabilityBlock
    A recurring weekly open block within a resource's appointment availability. Times are local wall-clock "HH:mm" strings interpreted in the schedule's timezone.
  • BankDebitCheckoutOption
    Bank debit offered to the buyer for a membership purchase.
  • BankDebitMandateSetup
    A bank-debit mandate in the making: the SetupIntent a buyer authorizes before the thing they are paying for exists.
  • BillingCycle
  • Booking
    One party's claim on one thing to attend. Carries attendance only: no price, no payment pointer, no refund columns. That is what lets the rows nobody paid for — a staff comp, an imported roster, a waitlist join — be a booking with no purchase rather than a fabricated $0 order.
  • BookingAvailability
    Whether a location or facility is taking bookings, and how many it holds. Not a booking — a place's availability to be booked. The Booking name now belongs to a party's claim on a session.
  • BookingCancellation
  • BookingCancellationPreview
    What cancelling a booking right now would do, under the policy in force.
  • BookingCancellationRefund
    One funding source a cancellation would return money through, and how much.
  • BookingConnection
  • BookingFacilityAccess
    A booker's view of how to get into the facility they booked.
  • BookingReceivedShare
    How a ticket of somebody else's party came to this booking's attendee.
  • BookingSeatAdditionLine
    One line of what adding places to a booking would sell.
  • BookingSeatAdditionPreview
    What adding places to a party would cost the viewer. See Booking.seatAdditionPreview.
  • BookingSeatReleasePreview
    What removing some of a party's places would return. See Booking.seatReleasePreview.
  • BotChallenge
    Bot-challenge (CAPTCHA-style) configuration for the single platform-wide widget. Delivered to the public guest checkout / registration sheets (web app and embeds) so the client can render the challenge; the resulting token is verified server-side on the guest path (BuyerInput.botChallengeToken). Provider-neutral; the current provider is Cloudflare Turnstile. See issues #2455 / #2456.
  • BrandActionColor
    An action fill (accent/critical/positive). on is the contrast-aware foreground for use when the value is the fill color; subdued is a lighter variant suitable for tinted backgrounds and hover states.
  • BrandColors
  • BrandGradient
    Brand signature gradient — the prominent two-tone (or single-tone) backdrop applied to identity surfaces like business avatar tiles, purchased-card headers, and the public-page hero. Always emitted as a usable CSS background value plus the component parts so consumers can render a custom variation if needed.
  • BrandSurface
    A container palette: background + text + border, plus subdued variants for striped rows and de-emphasized text. Every value is an OKLCH string (oklch(L C H)) post-expansion.
  • BrandSurfaces
  • Business
  • BusinessBrand
    Business brand configuration: icon image, design-system seed values, and server-computed theming tokens. The expander in @sessions-internal/core/branding fills every leaf the business hasn't explicitly set, so an unconfigured business gets sensible defaults.
  • BusinessChannels
    Channels group the surfaces a business's customers can reach it through. This covers the public channel (Sessions Go listing + unified search), the web channel (Sessions embeds on the business's own site), the app channel (white-label native apps), and the messages Sessions sends for it: email and texts.
  • BusinessContact
    Customer-facing contact details. email is the operator-set override; when unset, consumers use effectiveEmail which falls back to the business owner's email. phone is omitted from rendering when null.
  • BusinessEmailMarketing
    Email-marketing consent collection settings for a business. Off by default; a business must deliberately enable collection. Sessions never sends marketing email — these settings govern whether an opt-in is presented on registration and checkout so the business can lawfully email participants via its own provider.
  • BusinessLocalization
    Localization settings for a business — the canonical IANA timezone and the ISO 4217 charge currency, with locale likely to follow.
  • BusinessPublicChannel
    Configuration for the business's presence on Sessions' own public surfaces: the per-business page on go.sessions.website/<handle>, the Sessions Go discovery listing, and the unified search.
  • BusinessStripe
    Stripe Connect integration state for a business.
  • Buyer
    Who placed an order. Either an account and its participant record, or — for an anonymous checkout — the name and email the buyer typed, snapshotted so a later account change can never rewrite what a receipt said.
  • BuyPassCreditCost
    What one seat of an activity costs on a pass the viewer could buy.
  • BuyPassPaymentOption
    A "buy and use" suggestion: the viewer doesn't have a covering membership or pass, but the business sells passes that would work for this session. Carries the candidate passes the client should offer in its inline pass picker. Filtered server-side by business, visibility, sale window, and (for passes flagged purchaseRules.introOffer) by ownership; signed-out viewers never see this option because pass purchases require an account. Suppressed when the viewer already has a covering pass or membership option in this resolution.
  • CalendarUrl
  • CancelBookingResult
  • CancelBookingSeatsResult
    What cancelling part of a party did. booking is the booking that remains, with the released places gone from its tickets.
  • CancelSocialSignUpResult
  • CardPaymentOption
    A payment option requiring direct card payment via Stripe.
  • Challenge
    A business-configured challenge that encourages participation over a time window — e.g. "12 classes in 21 days".
  • ChallengeProgress
    Computed progress for a participant's challenge registration.
  • ChallengeRegistration
    A participant's registration for a challenge.
  • ChallengeRegistrationConnection
    Cursor-paginated list of challenge registrations. Used by the challenge-detail page to page through the participants who have joined a challenge.
  • CheckoutCollection
    How much of a basket is charged at checkout, and how much is owed afterwards.
  • CheckoutPreview
    A priced basket, before anything is minted. Same item shape as checkout, so what the buyer previews and what they are charged cannot disagree.
  • CheckoutPreviewCredit
  • CheckoutPreviewLine
  • CheckoutResult
  • CheckoutSession
    Response from creating a checkout for a payment.
  • Competitor
    One side of a match. A league fixture pits two competitors: teams (e.g. volleyball), participants (an individual bracket), or — in a rotating-partner league — the players drawn onto one side for that fixture. kind says which: for team and individual the id is the Team's or the Participant's; for drawnSide it is not a node, and changes when the side is redrawn, so read the players from Match.drawnSides rather than keying anything on it. name is the display name for any of them.
  • CompletePurchaseResult
  • ContractRegistrationBlock
  • CreateAppExtensionResult
  • CreateAppResult
  • CreateBankDebitMandateSetupResult
  • CreateDeveloperAccessTokenResult
  • DeleteAppExtensionResult
  • DeleteAppResult
  • DepositPolicy
    What an activity takes up front when it collects a deposit.
  • DeveloperAccessToken
    A long-lived credential the sessions CLI signs in with. The secret is shown once, at creation.
  • Duration
  • EmailMarketingRegistrationBlock
    An optional email-marketing opt-in placed into a registration form by the business. Renders the standardized, compliant opt-in (unchecked, never gates submission). The shown disclosure — and the exact text frozen into the consent ledger — is built from the business's name + mailing address + this block's descriptor + the participant's locale. Honoured only when the business has email-marketing collection enabled (the master switch); otherwise inert.
  • EnterWaitingRoomResult
  • Entitlement
    Something a participant owns and can spend: a pass with credits, a membership with a billing period, a gift card with a balance. Kept apart from the line that sold it, so buying three passes is three spendable things.
  • EntitlementHold
    A hold on a membership: Sessions' freeze or suspension.
  • EntitlementSubscription
    The Stripe subscription behind a membership.
  • Facility
    A named sub-space within a Location — e.g. a room, court, or studio. A facility inherits its address from the parent location and adds a name plus optional instructions. Its booking overrides the location's when configured on the facility, and otherwise inherits from the location. Sessions can target a facility directly (see Session.facility).
  • GiftCard
    A gift card offered by a business. The face value is the product price. When purchased, the buyer receives a unique code that can be redeemed.
  • GiftCardPaymentOption
    A payment option backed by a gift card with sufficient balance.
  • HomeBlockImage
    A still image referenced by a home-page block — a lightweight projection of an uploaded image (no GlobalID; just what a backdrop/card needs to render).
  • HomeBlockProduction
    A production on the showtimes block — a lightweight projection of an Activity whose type is one of the performing-arts & cinema types, with its poster, run dates, known performance metafields, and upcoming showtimes.
  • HomeBlockShowtime
    One showtime on a production card in a showtimes block — a materialized session, projected down to what a "buy a ticket for the Saturday 8pm" strip needs.
  • Image
    An uploaded image stored in R2, with pre-computed dimensions and thumbhash.
  • JoinWaitlistResult
  • Lineup
    The artists billed on an activity or a session, in running order.
  • LineupSet
    One billed slot: a single artist, or several playing back to back ("KHAYTO b2b PREACHERONE").
  • LineupSummary
    The size of a lineup, for a surface that doesn't draw its artists yet.
  • Location
  • LocationConnection
    Cursor-paginated list of locations for a business.
  • Match
  • MatchSet
  • Me
  • Membership
    A recurring membership offered by a business. Sessions reset or accumulate each billing period.
  • MembershipGuestPassPaymentOption
    A payment option backed by an active membership purchase's guest-pass balance. Returned for guest registrations only, when the membership has guest passes remaining for the current billing period.
  • MembershipPaymentOption
    A payment option backed by an active membership purchase, consumed against the member's own session balance. Returned for self registrations only.
  • MetadataEntry
    A single named metadata field on an entity, with its ordered list of values. Scalar fields carry exactly one value.
  • OperationError
  • PairedCompanionSpot
    A companion spot and the wheelchair space (or spaces) it is sold with. Ids are raw spot ids, like viewerHeldSpotIds.
  • Participant
    A person known to a business — the primary entity for all business interactions. A business learns about a person only through this record: the account a participant may be linked to is never served whole, only the few facts account, avatar and (on the business API) pronouns carry.
  • Pass
    A session pass offered by a business. Grants registration for a fixed number of sessions, with an optional expiration window.
  • PassPaymentOption
    A payment option backed by an active pass purchase.
  • PaymentResolution
    Resolved payment options for the current user and a specific session. Returns null when the user is not authenticated.
  • PendingSocialSignUp
    A social sign-in that resolved to no existing account and is waiting on the viewer's answer before one is created. Held server-side as a short-lived signed token — in an HttpOnly cookie for the redirect flow, or handed to the opener for the popup flow — so nothing about the identity can be edited in between.
  • PersonName
    A person's name, resolved into parts. full is the canonical, always-present name; first and last are derived from it (the leading whitespace token is the first name, the remainder the last name) unless the person has set an explicit override. Greet people with first.
  • PhysicalFulfillment
    Where a physical item is in being handed to its buyer.
  • PhysicalProduct
    A physical product (merchandise, equipment, etc.) offered by a business. Has finite inventory and must be fulfilled by staff handing the item to the purchaser after payment.
  • Price
    One price a thing can be sold at.
  • PriceOffset
    A duration offset on a price's on-sale window. Exactly one field is set. The value is relative to the start of what is being sold — the session's start, or for an activity's defaults asked about on their own, the activity's start date. Positive means before, negative means after. Mirrors RegistrationOffset, which has said the same thing about a registration window all along.
  • PriceTier
    One step in an early-bird price timeline — the public, forward-looking view of date-based (beforeDate) pricing rules, e.g. "$80 until May 1, then $100". Tiers are ordered current-first; every subject with pricing has at least one (its base price, with a null until). Reflects the current viewer, so members see their member-rate schedule and anonymous visitors see the public one.
  • ProductConnection
    Cursor-paginated list of products. Used by the business product list page and any other admin surface that wants a full paginated view across product subtypes.
  • ProductExpiration
    How a Pass or Membership purchase expires. At most one of after / at is set: after is relative to the purchase date, at is a fixed calendar date that applies regardless of when the product was bought. Null on the parent product means it never expires.
  • ProductPurchaseRules
  • ProductSalePeriod
    The window during which a product can be purchased. Both bounds are optional — null startsAt means available immediately; null endsAt means available indefinitely. The wrapper is always present so callers can read a consistent shape across product types.
  • PublishAppExtensionVersionResult
  • Purchase
    One checkout. Every line the buyer bought hangs off it, every source that paid for it, and everything it created.
  • PurchaseAdConversion
    The value an order reports as an ad conversion.
  • PurchaseAgreementDocument
    The immutable PDF record of the buyer's agreed-to purchase-page blocks (contract text, acknowledgements, form answers, and the captured signature), generated at agreement time and stored in object storage. Null when the purchase captured no document-worthy responses.
  • PurchaseBlockResponse
    A buyer's response to a single purchase-page block, captured as an immutable snapshot at checkout. payload is interpreted per kind (e.g. accepted contract text + timestamp, signature URL + hash, form value) and is encoded as a JSON string.
  • PurchaseConnection
  • PurchaseItem
    One line of one order, and the only place a price is stated. Every amount is an immutable snapshot: editing the activity, product or menu afterwards can never change what a buyer was charged.
  • PurchasePageBlock
    A single configurable block rendered on a product's purchase page. Required blocks gate checkout submission.
  • PushAppExtensionVersionResult
  • RecurrenceSchedule
    A generalized recurrence rule for an activity. Null when the activity is marked recurring but has no specific schedule set, or when the activity is a single session.
  • RefreshSessionResult
  • Refund
    Money sent back against an order. A purchase can be refunded more than once, line by line, across more than one source — which is why this is a row and not a column on whatever was cancelled.
  • RefundLine
  • RegistrationBlockFilter
    One filter clause scoping the registration block that carries it. A block with no filters applies to every registration (the default). values are OR-ed within a clause; multiple clauses on one block are AND-ed across kinds. Values are plain strings so a future kind can carry ids (division / price-tier) without a shape change — each kind defines the valid values for its dimension (for registrationType: individual, team).
  • RegistrationConfiguration
    Registration settings for an activity or individual session. Embedded value object (no ID) — lives on Activity or Session.
  • RegistrationParticipantPolicy
    Whether the public registration flow accepts self registrations, guest registrations, or both. Admin-side registrations (added by staff on the session sheet) are unaffected by this policy.
  • RegistrationPrice
    Per-registration-type price configuration.
  • RegistrationRestrictions
  • RegistrationTypeRestriction
  • RemoveFavoriteResult
  • RequestAuthCodeResult
    Result of requesting a sign-in or account-creation email. The response is intentionally opaque — it returns the same shape regardless of whether the email matched an existing account, to avoid leaking account existence.
  • RescheduleBookingResult
  • ReservedCard
    A card on file reserved for charging if a waitlist spot is promoted.
  • ResourceUrl
    The canonical URLs for a resource across the surfaces it can appear on. Resolved server-side (never hand-built in the view layer) so the URL contract lives in one place. go is the public consumer page, business the staff-admin page, and account the signed-in member's own view of the resource — present only for resources that have a member-facing page.
  • RespondToBookingAttendanceResult
  • RevokeDeveloperAccessTokenResult
  • SavedPaymentMethod
    A saved Stripe PaymentMethod attached to the viewer's customer record. Listed and managed via Me.paymentMethods so customers can add, remove, and pick a default card before any charge happens.
  • SearchResults
    Mixed-entity search results returned by Query.search. Currently surfaces matching businesses; the type's shape will grow over time to include favorite instructors, activities, and other public entities without breaking the field name. Each list is independently scoped and capped at the requested first.
  • SectionHeaderRegistrationBlock
    A non-input heading placed into a registration form by the business to group the blocks that follow it under a titled section. Purely presentational — it never captures a response and never gates submission.
  • SelectRegistrationBlock
  • SelectRegistrationBlockOption
  • SendTicketResult
  • Service
    A bookable service in a business's catalogue — the salon/beauty menu entry ("Women's Cut & Style, $75, 60 min"). Services are a business-level resource, reused across as many booking activities as you like; how a service appears on a particular activity's menu (primary vs addOn, and its position) lives on the {@link ActivityServiceLink} that attaches it.
  • Services
    Third-party service configuration available to the client.
  • Session
  • SessionConnection
    Cursor-paginated list of sessions. Sort order is startAt ASC, id ASC. Pair with the starting filter to scope the window to upcoming/past/from-date.
  • SessionSpotMap
    Spot-map layout, occupancy, and viewer-relative state for one session.
  • SetMyEmailMarketingConsentResult
  • SetMySmsReminderConsentResult
  • SharedTicketSharer
    The person who shared a ticket, as the page their link opens names them: a first name and a photo, and nothing else — no surname, no email, no account, and no upload metadata (an Image would carry the photo's original filename).
  • SharedTicketSharerAvatar
    The sharer's photo: a resized copy and its blur placeholder.
  • ShareTicketResult
  • SignInResult
  • SignOutResult
  • SocialSignIn
    Which optional social sign-in providers this deployment has configured, so the client knows whether to render the "Sign in with Google/Apple" buttons. A provider is only true when its server credentials are present.
  • Spot
    One spot, at fractional map coordinates with its own rotation — which is what makes a curved row read as a curve rather than as squares on an arc.
  • SpotBlock
    A block of spots described by rule rather than enumeration — eighteen rows of twenty-four is one of these, not 432 objects.
  • SpotChangePolicy
    A booked buyer's freedom to move their own place on a session's spot map. Staff can always move a booking from the roster, whatever this says.
  • SpotMap
    A venue spot map. Belongs to a location, optionally narrowed to one facility (a single auditorium inside a multi-screen building).
  • SpotMapArtwork
    Venue-supplied artwork the spots are registered against, so a historic house gets their map rather than a generated one. SVG is preferred.
  • SpotMapBounds
    The map's drawn extent — every spot, the stage, and every element — so the picker can fit the whole house before the buyer zooms in.
  • SpotMapElement
  • SpotMapPoint
  • SpotMapSection
    A named tier within a map — orchestra, mezzanine, balcony, boxes. Row letters restart per section, so a spot's rowLabel is only unique within one.
  • SpotMapStage
    The stage or screen. x/y is its centre in map space and rotation turns it about that centre; at rotation: 0 the stage faces +y (down the map). width runs along the stage's lateral axis, depth along its facing axis.
  • SpotNumberingScheme
  • SpotOverride
    One spot's deviation from its block rule. Only the fields that differ are set; everything else comes from expanding the rule.
  • SpotPlacement
  • SpotRowLabelScheme
  • SpotRowRuns
    Unavailable spot positions within one row of one block, run-length encoded.
  • SpotSectionAvailability
    Availability for one section. For a assigned section the counts are spots; for a unassigned pool they are places in the pool.
  • SpotsTogetherSuggestion
    One "four spots together" offer.
  • StaffAssignment
    A staff member assigned to an activity or individual session, along with the role they fill.
  • StaffMember
    A staff member belonging to a business. Combines the staff directory (name, email, bio) with optional login access (user + permissions).
  • StaffMemberConnection
    Cursor-paginated list of staff members for a business.
  • StopSharingTicketResult
  • TaxBreakdownLine
    Per-jurisdiction tax line collected on a single payment. Surfaced on receipts and aggregated by the tax-collected report.
  • TeamSizeRequirement
    The roster size a league allows its teams.
  • TextRegistrationBlock
  • TicketShare
    A link to one ticket, handed by the booker to somebody in their party. It opens a public page showing that ticket alone — its seat, its type, and its own check-in code — to whoever holds it, with no account. The booker can stop sharing at any time, and it stops working a day after the session.
  • UIExtensionInstance
    One extension rendering into one target for one subject: the published version to load and the live query to resolve for it. Its id is what the host sends back to the extension API so every query and mutation is attributed to the extension that made it.
  • UpdateAppExtensionResult
  • UpdateAppResult
  • UpdateBookingSpotResult
  • User
  • ViewerSmsReminders
    The signed-in viewer's own number and text-reminder consent with a business.
  • WaitlistConfiguration
  • WalletPass
    "Add to Apple Wallet" and "Add to Google Wallet" for one ticket. Each link carries a signed token rather than the code, and opens only while the ticket is still the holder's and its session is not over. A wallet the deployment has no signing credentials for is null.

Interfaces

  • CatalogItem
    Anything that appears in a business's catalog — the admin's single inventory of what it offers, whether that's something a customer buys outright (a pass, a membership, a gift card, a physical good) or a priced line item a customer books (a {@link Service}).
  • Product

Unions

Enums

  • ActivityLifecycle
    Lifecycle phase of an activity, derived from its end date relative to the current moment.
  • ActivityPassGifting
  • ActivityRegistrationTimeFilter
    Time-window filter for booking lists (Me.bookings, BookingFilter.time). upcoming returns bookings whose session has not yet ended; past returns ones whose session has already ended; all returns both. The type keeps its legacy name because shipped clients declare it as a variable type.
  • ActivityServiceKind
    Whether a service on a booking activity's menu is a base service (the client picks exactly one) or an optional extra layered on top of the chosen primary.
  • ActivityStructure
  • AppDistribution
    How an app reaches businesses.
  • AppExtensionKind
    What an extension module is. Every kind is a JavaScript module whose default export is a function; the kind decides what the function is handed.
  • AppExtensionVersionStatus
  • AttendanceResponse
    What a party said when a reminder asked whether they are still coming.
  • BankDebitMethod
    Which bank rail a connected account can offer. Not an operator choice — Stripe scopes each rail to the merchant's own country, and an account only ever has one: ACH for US accounts, pre-authorized debit for Canadian ones. Canada cannot accept ACH at all.
  • BillingInterval
  • BookingIntendedPaymentMethod
    How a waitlisted party said they would pay if a place opened.
  • BookingMode
    How a customer books an appointment type. instant runs the normal registration + checkout flow; request creates a pending request a staff member approves before it is confirmed.
  • BookingPricingMode
    How a structure: booking activity is priced. duration charges the per-increment price times the number of increments in a client-chosen time range; services charges the sum of the client's selected services and derives the appointment duration from their summed durations, so the client only picks a start time.
  • BookingStatus
    Where a booking sits. confirmed and requested hold a place; waitlisted and offered are queued behind one; cancelled has released it.
  • BookingWindowStatus
    Whether a location or facility is currently accepting bookings. Named apart from the {@link BookingStatus} that describes a booking's own life — this one is a door being open, not a place being held.
  • BusinessPaymentsMode
    Whether the business is processing real payments or running in test mode (card checkouts go through the platform's Stripe account until Connect is finished). Reflects the business's real stripe_mode flag — live once the business completes live Connect onboarding, otherwise test.
  • BusinessPrivacy
    Master access state for a business's public page. public is the normal state. private gates the page itself: non-staff visitors get a 404 as if the business didn't exist, while staff with access still see the full public experience (with a "Private" indicator), and the business is excluded from every discovery and search surface regardless of the finer-grained BusinessVisibility flags. Lets an operator stand up and rehearse a store end-to-end before going live.
  • BusinessVisibility
    Generic visibility state used for business-level toggles (public page on Sessions Go, listing in unified search, and future channel surfaces).
  • BuyerCancellation
    What a buyer may cancel themselves on a confirmed booking.
  • ChallengeLeaderboardNameDisplay
    How a participant is named on a challenge's public leaderboard.
  • CheckoutCreditKind
  • CheckoutFundingSource
    Which funding source the buyer picked in the Sessions-owned toggle above the Stripe Payment Element.
  • CheckoutRefusal
    Why checkout minted no order, for the refusals a client does more with than show errors.
  • ClockStart
    When a pass/membership purchase's validity clock (relative expiry / billing renewal) starts. purchase is the default (clock starts at purchase time); firstSession defers it until the buyer's first booked session occurs.
  • CommerceActor
    Who set something in motion — a refund, or a cancellation.
  • CommunicationChannel
    A channel a session reminder can be delivered over. push requires the business to have a published white-label app and the participant to have a registered device; it silently no-ops otherwise.
  • CompletePurchaseRefusal
    Why completePurchase did not complete an order.
  • DayOfWeek
  • DepositBasis
    How a DepositPolicy states its amount.
  • DurationUnit
  • EmailMarketingConsentAction
    Whether a {@link Mutation.recordParticipantEmailMarketingConsent} call grants or withdraws consent.
  • EmailMarketingConsentStatus
    Resulting state of a participant's email-marketing consent. granted means they affirmatively opted in; withdrawn means a prior consent was revoked. The absence of a status (null on {@link ParticipantEmailMarketingConsent.status}) means they were never asked — deliberately distinct from withdrawn.
  • EmailMarketingConsentWithdrawal
    Why the viewer's email-marketing consent reads withdrawn (Business.viewerEmailMarketingConsentWithdrawal).
  • EntitlementKind
    What kind of thing an entitlement is.
  • EntitlementStatus
    Where an entitlement is in its life. The same vocabulary product purchases used, because the states are the same states: an expired pass, an exhausted one, a membership Stripe stopped billing.
  • GuestDetailsRequirement
    What checkout asks of a buyer for each guest place in an order.
  • IntervalUnit
  • LineupPresentation
    How a lineup reads to a buyer, derived from the activity's type so every client labels it the same way.
  • MatchForfeitSide
    Which competitor forfeited when a match was resolved by forfeit rather than played out. home/away correspond to Match.homeCompetitor/awayCompetitor (the winning side is the other one); both is a double forfeit / no-contest, which counts as a loss for both teams and leaves Match.winner null.
  • MatchTeam
  • MerchantAdConsent
    An embed's answer from the business's own consent tool, passed through <sessions-context ad-consent>. Hosted pages never send it: they send the visitor's own answer as visitorAdConsent.
  • MonthlyMode
  • MonthlyWeek
  • PaymentCollection
    When payment for a paid booking is collected. Room is left for future values (e.g. collection when the activity completes).
  • PriceAmountMode
    How a Price's amount reads. Mirrors DiscountCodeType, which has answered the same question for discount codes for far longer.
  • PriceAppliesTo
    What an automatic Price adjusts.
  • PriceAudience
    Who a Price is for.
  • PriceFeeEntitlementPolicy
    Who pays a price's per-ticket fee on a seat a pass or membership pays for. More choices may be added — a client should treat an unknown value as charged for display, since the server is what prices the seat.
  • PriceRegistrationScope
    Which registration path an activity's prices apply to. Replaces PricingRuleScope, whose values said Registration twice.
  • PriceSaleStatus
    Where a chosen price stands in its sale. More values may be added — a client should treat one it does not know as not pickable and leave the row off.
  • PriceSelection
    Whether the buyer picks a price, or it applies on its own. The one axis on which ticket types and price rules ever differed.
  • ProductAvailability
    Which products a Business.products list includes, relative to the current viewer.
  • ProductType
    Discriminator for the concrete product subtype. Matches the products.type column on the database.
  • ProductVisibility
    Whether a product is currently for sale on the business's storefront. Hidden products remain in admin views but are excluded from public listings and cannot be purchased.
  • PurchaseItemKind
    What a line is a claim on. Stored rather than derived, because a league season entry and a season-scoped session line carry the same references.
  • PurchasePageBlockKind
    The kind of a configurable purchase-page block. Each kind interprets its config (and, at checkout, its captured response) differently.
  • PurchaseStatus
    Where a purchase is in its two-phase life. pending is minted with the PaymentIntent and holds nothing — no booking, no entitlement, no capacity; completed is fulfilled; cancelled never fulfilled. Refunding a completed purchase leaves it completed, because the order still happened.
  • RefundSource
    Where a refund's money went back to.
  • RegistrationBlockFilterKind
    The dimension a {@link RegistrationBlockFilter} scopes on. v1 exposes only registrationType (individual "free agent" vs team sign-ups); adding a dimension (e.g. division, priceTier) is a pure addition — a new enum value, no change to the filter envelope.
  • RegistrationParticipantMode
  • RegistrationStatus
  • ResourceKind
    The kind of resource that owns an appointment availability schedule or fulfills an appointment type: a staff member, a facility, or a location.
  • ScheduleView
    A calendar display mode for a business's schedule. Mirrors the user-facing view vocabulary (the embed view attribute and the display_as URL param); DAY is the single focused day, WEEK the seven-day grid, MONTH the month.
  • SessionAvailability
    How a visitor reads a session's remaining room. The public API summarises capacity into these states rather than publishing the exact count: a count is an operator's number, and to a visitor it reads as either a private detail or a discouragement. See Session.availability.
  • SessionSort
    Sort order for an activity-session connection. startAsc returns the earliest sessions first (the default); startDesc returns the most recent first — useful for "newest at the top" views. createdAsc / createdDesc order by when the row was created instead of when the session starts — on session connections that's the session's creation time; on booking connections it's the booking's creation time.
  • SessionSource
    How an session came to exist, mirroring sessions.source. Used by SessionFilter.source to let an admin narrow a list to a single kind of session — most usefully to isolate (or hide) appointment bookings.
  • SessionStatus
  • SessionTimeOfDay
    Time-of-day buckets used by SessionFilter.timeOfDay. Each bucket is evaluated in the business's local timezone:
  • SmsReminderReach
    Whether a participant is texted session reminders, and if not, why. A STOP reply outranks a business's recorded consent, because it does.
  • SocialSignInProvider
    An identity provider a user can sign in with.
  • SpotAssignment
    How a section sells. assigned is the spot-map case — every spot is a distinct pickable unit. unassigned is a capacity pool (a concert floor, a standing terrace, a lawn): drawn as a shape, sold by the head, with no spot assigned. One map routinely holds both.
  • SpotHoldReason
    Why a spot is off general sale.
  • SpotIcon
    What the object at a spot looks like, drawn from above once the map is zoomed in far enough to show it. Presentational only: a block with no icon draws a plain round mark, and every icon falls back to that mark, then to a dot, as the map zooms out. A wheelchair spot always draws the wheelchair-space mark.
  • SpotKind
    What a spot physically is. Non-spot kinds render differently and, for wheelchair, take a wider footprint.
  • SpotLateralPosition
    Where a spot sits, derived from the map's geometry rather than from a layout assumption. Drives the ticket, the wallet pass, and the confirmation email.
  • SpotMapElementKind
    A non-spot element drawn on the map so the picker reads like the room. Presentational only — never sellable. The spot picker draws label (small capitals between two hairlines along the element's width: the street outside, so a buyer can orient themselves), wall (a hairline bar) and entrance (a dashed threshold); the other kinds are left as empty space.
  • SpotMapStageForm
    How the audience surrounds the stage. This is what stops the renderer — and the "row F, centre, 12 rows back" descriptions — from assuming the stage is at the top of the map.
  • SpotMapStageIcon
    A mark drawn on the stage and keyed in the map's legend: what the front of the room is. A small studio stage named "Instructor" read "IN…"; a mark reads at any size.
  • SpotMapStageKind
    What the audience is pointed at.
  • SpotMapStageLabelDisplay
    What the stage shows on the map: its name, its mark, the mark with the name under it where the name fits whole, or nothing but its edge. A stage drawn with its mark is keyed in the legend with its name; an edge is not keyed.
  • SpotNumberDirection
  • SpotNumberSchemeKind
    How spots within a row are numbered.
  • SpotRowLabelKind
    How a block's rows are named. Theatres overwhelmingly use letters and skip I, because it reads as a 1.
  • SpotSide
    Which bank of a multi-sided house a spot is in, relative to the stage's own facing. Null for a map with no stage.
  • TextBlockInputType
  • WaitlistCountVisibility

Inputs

  • ActivityFilter
    Filter applied to a paginated activity list. query matches the activity's name (case-insensitive substring). Array filters narrow the result to activities whose type / structure / registration.status is in the supplied set; an empty or omitted array applies no filter. startAfter / endBefore restrict to activities whose configured startDate / endDate falls on or after / on or before the supplied ISO-8601 date string.
  • AppExtensionTranslationInput
    One locale's strings for a pushed version — the contents of an extension's translations/<locale>.json. strings is an object whose values are strings or nested objects of the same shape; a plural is an object keyed by Intl.PluralRules categories (one, other, …), and {{name}} marks a placeholder.
  • AppExtensionVersionTargetInput
    One target in a pushed version: the target name, its bundled ES module (whose default export is the extension function), and its optional live query.
  • AppointmentItemInput
    A booked time against an appointment-structured activity.
  • AttributionClickInput
    An ad click a landing URL carried: which click ID parameter, and its value.
  • AttributionInput
    Client-captured marketing attribution forwarded through a booking / checkout / sign-up mutation (issue #2060). firstTouch is the visitor's first-ever touch (persisted in browser storage and stamped, immutably, onto a newly created participant); lastTouch is the touch that converted (stamped onto the registration / purchase). Either may be omitted; when only one is present the server uses it for both.
  • AttributionTouchInput
    One captured marketing-attribution touch: the raw utm_* campaign labels plus the referrer host and landing path the visitor arrived on. For privacy, send only the referrer host (never the full referrer URL with its query string) and the landing path. There is deliberately no origin field — the server classifies origin itself and never trusts a client-claimed marketplace origin.
  • BuyerInput
    Buyer details for an unauthenticated checkout. Required when the caller is not signed in and the target product or activity allows guest checkout. Ignored when the caller is signed in. The server finds an existing user by email or creates a new one inline; when createAccount is true (the default), a magic-link email is sent so the buyer can claim the account.
  • CheckoutItemInput
    One basket. Every branch names its target with id, so an item reads as {session: {id: …, tiers: […]}} rather than repeating the branch key.
  • EntityRef
  • FavoriteTargetInput
    Target for a favorite operation. Exactly one of business, staff, or activity must be provided — the mutation dispatches based on which field is set.
  • FundingPreferenceInput
    How the buyer would like to pay, when the business offers a choice.
  • GuestAttendeeInput
    Identifies the guest being booked. The booker (the caller of checkout) is recorded as the payer; the guest is the attendee.
  • LeagueEntryInput
    A team's or an individual's place in a league division.
  • LocationFilter
    Filter applied to a paginated location list. query is a case-insensitive substring of the location's name; blank is no filter.
  • MetadataFilterInput
    Matches entities that have any of values stored under metadata key name. Key accepts the $. shorthand for the sessions. namespace.
  • ParticipantSelectionInput
    Who a line books for.
  • PriceQuantityInput
  • ProductFilter
    Filter applied to a paginated ProductConnection. Fields combine with AND semantics.
  • ProductItemInput
  • ProductPurchaseGiftInput
  • RegistrationDataInput
  • SessionFilter
    Optional filters for Business.scheduledSessions. All fields are ANDed together; date-range filtering still goes through the parent starting argument so the same predicates back both fields.
  • SessionItemInput
    A claim on one session — a class spot, tickets to a showtime.
  • SessionsStarting
  • StaffMemberFilter
    Filter applied to a paginated staff list. query matches the staff member's name.
  • TeamEntryInput
  • TeamEntryMemberInput
  • VisitorAdConsentInput
    A hosted page visitor's ad-consent answer for one business.

Scalars

  • ActivityType
    Identifier for a kind of activity (sport, fitness modality, mind-body practice). Encoded as a snake_case, dot-separated string. Each .-separated segment matches [a-z][a-z0-9_]*; segments express variant hierarchy from general to specific.
  • Boolean
    The Boolean scalar type represents true or false.
  • DateTime
    An ISO 8601 date-time string (e.g. "2026-03-27T14:30:00.000Z").
  • Float
    The Float scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
  • FormattedText
    Inline-formatted user-facing text: a restricted Markdown subset — emphasis, code spans, and [label](url) links — whose links may address a place inside the app with a sessions: URL, alongside the ordinary http(s):, mailto: and relative-path hrefs.
  • ID
    The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
  • Int
    The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
  • JSON
    Arbitrary JSON — an object, array, string, number, boolean or null — passed through as-is, not as an encoded string.
  • JSONPath
    A JSON path selector, as specified by [RFC 9535](https://datatracker.ietf.org/doc/html/rfc9535).
  • Locale
    A BCP 47 locale tag (e.g. "en", "fr", "fr-CA"). See https://www.rfc-editor.org/info/bcp47
  • String
    The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
  • Timezone
    An IANA timezone identifier (e.g. "America/Toronto"). Validated at the GraphQL layer with Intl.DateTimeFormat; values that the runtime can't resolve to a known zone are rejected.
  • UIExtensionTarget
    Where in the Sessions UI an extension renders: a DNS-style name of dot-separated, kebab-case labels — surface first, then the place, then the kind of slot. The targets today:
  • URL
    An absolute URL with an http or https scheme. Inputs are parsed with the WHATWG URL parser; values that don't parse, or that use a different scheme, are rejected at the GraphQL layer.