GraphQL reference
330 types, 14 queries, and 37 mutations published on the public schema.
Queries
previewCheckoutPrice a basket without minting anything. Takes the same itemscheckoutdoes, so what a buyer previews and what they are charged cannot disagree — handtaxCalculationIdback tocheckoutto be charged the figure shown.purchase→ PurchaseOne 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→ BookingOne booking, by id.services→ Services!Third-party service configuration (Stripe keys, Mapbox tokens, etc.).me→ MeThe currently authenticated user and their passkeys.business→ Businesssession→ SessionstaffMemberOne staff member of the business the request is scoped to (the@handlewhose 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.productionOne production of the business the request is scoped to (the@handlewhose 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→ [AppointmentSlot!]!Open, bookable increments for astructure: bookingactivity 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 byminIncrements/maxIncrements). Empty when the activity isn't bookable or theappointmentsfeature is off.bookingActivityNextAvailability→ DateTimeThe start of the earliest open booking increment strictly afterafter(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 theappointmentsfeature is off. Passservicesfor aservices-priced activity so the opening spans the selection's full derived duration.product→ ProductsearchGlobal 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 atfirst(default 5, max 10); matches are case-insensitive substring matches on the entity's primary text columns. Returns empty lists for an empty query.pendingSocialSignUpThe 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
createAppCreate an app owned by the viewer. The handle is global and permanent; thesessionsCLI creates one fromsessions.app.jsonon first push.updateAppRename or describe an app the viewer owns, or set its icon to an uploaded image.deleteAppDelete an app the viewer owns. Every business that installed it stops rendering its extensions.createAppExtensionAdd an extension to an app the viewer owns.updateAppExtensiondeleteAppExtensionpushAppExtensionVersionUpload a new version of an extension: one bundled ES module per target it renders into, each with its live query. Creates a draft;publishit to make businesses run it.publishAppExtensionVersionMake a pushed version the one businesses run.createDeveloperAccessTokenMint a CLI credential for the viewer. The secret is returned once.revokeDeveloperAccessTokencheckoutPrice 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.completePurchaseFulfill 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.collectPurchaseBalanceCollect what a deferred order still owes.cancelBookingCancel a booking and, under the activity's cancellation policy, return the money and the credits it consumed.Booking.cancellationPreviewsays what this will do before it is called.changeBookingSpotMove the viewer's own confirmed booking to another free spot on the same session — a different bike, mat or seat.rescheduleBookingMove 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.respondToBookingAttendanceSay 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.cancelBookingSeatsCancel some of a party's places and keep the rest of the booking.shareTicketHand 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.stopSharingTicketTurn 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.sendTicketSend 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.addBookingSeatsAddseatsmore places to a party's booking — more people are coming.joinBookingWaitlistJoin the queue for a full session. Writes awaitlistedbooking with no order behind it — nothing is charged until a place is offered and accepted, which is why this is notcheckout.acceptBookingOfferAccept an offered place. Re-enters checkout for the amount owed, so the result carries aCheckoutSessionexactly ascheckoutdoes; the existing waitlisted booking is confirmed rather than a second one inserted beside it.createAccountRequest 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.signInRequest a sign-in email containing a 6-digit code. Always returns success regardless of whether the email matches an existing account (anti-enumeration).redeemAuthCode→ SignInResult!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 abusinesspin, which return a business-scoped token without touching the cookie session.confirmSocialSignUp→ SignInResult!Create the account a social sign-in stopped short of creating, and sign in as it.tokenis 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).nameis the viewer's chosen display name, falling back to whatever the provider shared.cancelSocialSignUpDiscard a pending social sign-up without creating anything. Clears the pending cookie so a later page load doesn't ask again.signOutClear the auth cookie and sign out the current user.refreshSessionExchange 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 anAuthorizationheader — and use the returnedtokenfrom then on. Renews and rotates by the same rules as theauthcookie: 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.enterWaitingRoomThe way into a high-demand session's waiting room.createBankDebitMandateSetupMint 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.addFavoriteAdd a business, staff member (instructor), or activity to the authenticated user's favorites. Idempotent — adding an existing favorite is a no-op.removeFavoriteRemove a business, staff member, or activity from the authenticated user's favorites. Idempotent — removing a favorite that isn't set is a no-op.setMyEmailMarketingConsentSet the signed-in viewer's own email-marketing consent for a business they participate in.grantrecords an affirmative opt-in and freezes the compliant disclosure the viewer was shown (only allowed while the business is collecting consent);withdrawunsubscribes. Recorded as an immutable ledger event withsource = participant.setMySmsReminderConsentAgree to, or stop, a business texting the viewer session reminders — the "Text me reminders" box at checkout, written once the booking lands, the waysetMyEmailMarketingConsentis.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
AcknowledgementRegistrationBlockAn 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 — andrequiredgates submission until the box is checked.ActivityActivityConnectionCursor-paginated list of activities for a business.ActivityReminderConfigOne 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).ActivityServiceLinkAddBookingSeatsResultWhat adding places to a party did.AddFavoriteResultAdmissionOne admitted person: one seat, one ticket, one scan.AgeRequirementA participant age window for an activity. At least one ofminimumAge/maximumAgeis set when present. Age is evaluated in whole years as ofasOfDate(a season cutoff) or, when that is null, the session's start, against the participant's date of birth whenever it is known.AppA container for extensions, owned by a developer account and pushed to with thesessionsCLI.AppExtensionOne extension inside an app: a JavaScript module that renders into one or more extension targets. Versions are immutable; the latest published one runs.AppExtensionVersionAn immutable upload of an extension: one bundled module per target it declares.AppExtensionVersionTargetOne target a version renders into: its own bundled module and the GraphQL input query the host resolves against the extension API before rendering it.AppointmentSlotA 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.ArtistA 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.AvailabilityBlockA recurring weekly open block within a resource's appointment availability. Times are local wall-clock"HH:mm"strings interpreted in the schedule's timezone.BankDebitCheckoutOptionBank debit offered to the buyer for a membership purchase.BankDebitMandateSetupA bank-debit mandate in the making: the SetupIntent a buyer authorizes before the thing they are paying for exists.BillingCycleBookingOne 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.BookingAvailabilityWhether a location or facility is taking bookings, and how many it holds. Not a booking — a place's availability to be booked. TheBookingname now belongs to a party's claim on a session.BookingCancellationBookingCancellationPreviewWhat cancelling a booking right now would do, under the policy in force.BookingCancellationRefundOne funding source a cancellation would return money through, and how much.BookingConnectionBookingFacilityAccessA booker's view of how to get into the facility they booked.BookingReceivedShareHow a ticket of somebody else's party came to this booking's attendee.BookingSeatAdditionLineOne line of what adding places to a booking would sell.BookingSeatAdditionPreviewWhat adding places to a party would cost the viewer. SeeBooking.seatAdditionPreview.BookingSeatReleasePreviewWhat removing some of a party's places would return. SeeBooking.seatReleasePreview.BotChallengeBot-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.BrandActionColorAn action fill (accent/critical/positive).onis the contrast-aware foreground for use when the value is the fill color;subduedis a lighter variant suitable for tinted backgrounds and hover states.BrandColorsBrandGradientBrand 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 CSSbackgroundvalue plus the component parts so consumers can render a custom variation if needed.BrandSurfaceA 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.BrandSurfacesBusinessBusinessBrandBusiness brand configuration: icon image, design-system seed values, and server-computed theming tokens. The expander in@sessions-internal/core/brandingfills every leaf the business hasn't explicitly set, so an unconfigured business gets sensible defaults.BusinessChannelsChannels group the surfaces a business's customers can reach it through. This covers thepublicchannel (Sessions Go listing + unified search), thewebchannel (Sessions embeds on the business's own site), theappchannel (white-label native apps), and the messages Sessions sends for it:emailandtexts.BusinessContactCustomer-facing contact details.emailis the operator-set override; when unset, consumers useeffectiveEmailwhich falls back to the business owner's email.phoneis omitted from rendering when null.BusinessEmailMarketingEmail-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.BusinessLocalizationLocalization settings for a business — the canonical IANA timezone and the ISO 4217 charge currency, with locale likely to follow.BusinessPublicChannelConfiguration for the business's presence on Sessions' own public surfaces: the per-business page ongo.sessions.website/<handle>, the Sessions Go discovery listing, and the unified search.BusinessStripeStripe Connect integration state for a business.BuyerWho 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.BuyPassCreditCostWhat one seat of an activity costs on a pass the viewer could buy.BuyPassPaymentOptionA "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 flaggedpurchaseRules.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.CalendarUrlCancelBookingResultCancelBookingSeatsResultWhat cancelling part of a party did.bookingis the booking that remains, with the released places gone from itstickets.CancelSocialSignUpResultCardPaymentOptionA payment option requiring direct card payment via Stripe.ChallengeA business-configured challenge that encourages participation over a time window — e.g. "12 classes in 21 days".ChallengeProgressComputed progress for a participant's challenge registration.ChallengeRegistrationA participant's registration for a challenge.ChallengeRegistrationConnectionCursor-paginated list of challenge registrations. Used by the challenge-detail page to page through the participants who have joined a challenge.CheckoutCollectionHow much of a basket is charged at checkout, and how much is owed afterwards.CheckoutPreviewA priced basket, before anything is minted. Same item shape ascheckout, so what the buyer previews and what they are charged cannot disagree.CheckoutPreviewCreditCheckoutPreviewLineCheckoutResultCheckoutSessionResponse from creating a checkout for a payment.CompetitorOne 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.kindsays which: forteamandindividualtheidis theTeam's or theParticipant's; fordrawnSideit is not a node, and changes when the side is redrawn, so read the players fromMatch.drawnSidesrather than keying anything on it.nameis the display name for any of them.CompletePurchaseResultContractRegistrationBlockCreateAppExtensionResultCreateAppResultCreateBankDebitMandateSetupResultCreateDeveloperAccessTokenResultDeleteAppExtensionResultDeleteAppResultDepositPolicyWhat an activity takes up front when it collects a deposit.DeveloperAccessTokenA long-lived credential thesessionsCLI signs in with. The secret is shown once, at creation.DurationEmailMarketingRegistrationBlockAn 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'sdescriptor+ the participant's locale. Honoured only when the business has email-marketing collection enabled (the master switch); otherwise inert.EnterWaitingRoomResultEntitlementSomething 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.EntitlementHoldA hold on a membership: Sessions' freeze or suspension.EntitlementSubscriptionThe Stripe subscription behind a membership.FacilityA named sub-space within aLocation— e.g. a room, court, or studio. A facility inherits its address from the parentlocationand adds a name plus optionalinstructions. Itsbookingoverrides the location's when configured on the facility, and otherwise inherits from the location. Sessions can target a facility directly (seeSession.facility).GiftCardA 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.GiftCardPaymentOptionA payment option backed by a gift card with sufficient balance.HomeBlockImageA 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).HomeBlockProductionA production on the showtimes block — a lightweight projection of anActivitywhose type is one of the performing-arts & cinema types, with its poster, run dates, known performance metafields, and upcoming showtimes.HomeBlockShowtimeOne 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.ImageAn uploaded image stored in R2, with pre-computed dimensions and thumbhash.JoinWaitlistResultLineupThe artists billed on an activity or a session, in running order.LineupSetOne billed slot: a single artist, or several playing back to back ("KHAYTO b2b PREACHERONE").LineupSummaryThe size of a lineup, for a surface that doesn't draw its artists yet.LocationLocationConnectionCursor-paginated list of locations for a business.MatchMatchSetMeMembershipA recurring membership offered by a business. Sessions reset or accumulate each billing period.MembershipGuestPassPaymentOptionA 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.MembershipPaymentOptionA payment option backed by an active membership purchase, consumed against the member's own session balance. Returned for self registrations only.MetadataEntryA single named metadata field on an entity, with its ordered list of values. Scalar fields carry exactly one value.OperationErrorPairedCompanionSpotA companion spot and the wheelchair space (or spaces) it is sold with. Ids are raw spot ids, likeviewerHeldSpotIds.ParticipantA 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 factsaccount,avatarand (on the business API)pronounscarry.PassA session pass offered by a business. Grants registration for a fixed number of sessions, with an optional expiration window.PassPaymentOptionA payment option backed by an active pass purchase.PaymentResolutionResolved payment options for the current user and a specific session. Returns null when the user is not authenticated.PendingSocialSignUpA 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.PersonNameA person's name, resolved into parts.fullis the canonical, always-present name;firstandlastare 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 withfirst.PhysicalFulfillmentWhere a physical item is in being handed to its buyer.PhysicalProductA 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.PriceOne price a thing can be sold at.PriceOffsetA 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. MirrorsRegistrationOffset, which has said the same thing about a registration window all along.PriceTierOne 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 nulluntil). Reflects the current viewer, so members see their member-rate schedule and anonymous visitors see the public one.ProductConnectionCursor-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.ProductExpirationHow a Pass or Membership purchase expires. At most one ofafter/atis set:afteris relative to the purchase date,atis a fixed calendar date that applies regardless of when the product was bought. Null on the parent product means it never expires.ProductPurchaseRulesProductSalePeriodThe window during which a product can be purchased. Both bounds are optional — nullstartsAtmeans available immediately; nullendsAtmeans available indefinitely. The wrapper is always present so callers can read a consistent shape across product types.PublishAppExtensionVersionResultPurchaseOne checkout. Every line the buyer bought hangs off it, every source that paid for it, and everything it created.PurchaseAdConversionThe value an order reports as an ad conversion.PurchaseAgreementDocumentThe 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.PurchaseBlockResponseA buyer's response to a single purchase-page block, captured as an immutable snapshot at checkout.payloadis interpreted perkind(e.g. accepted contract text + timestamp, signature URL + hash, form value) and is encoded as a JSON string.PurchaseConnectionPurchaseItemOne 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.PurchasePageBlockA single configurable block rendered on a product's purchase page. Required blocks gate checkout submission.PushAppExtensionVersionResultRecurrenceScheduleA 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.RefreshSessionResultRefundMoney 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.RefundLineRegistrationBlockFilterOne filter clause scoping the registration block that carries it. A block with no filters applies to every registration (the default).valuesare OR-ed within a clause; multiple clauses on one block are AND-ed across kinds. Values are plain strings so a futurekindcan carry ids (division / price-tier) without a shape change — each kind defines the valid values for its dimension (forregistrationType:individual,team).RegistrationConfigurationRegistration settings for an activity or individual session. Embedded value object (no ID) — lives on Activity or Session.RegistrationParticipantPolicyWhether 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.RegistrationPricePer-registration-type price configuration.RegistrationRestrictionsRegistrationTypeRestrictionRemoveFavoriteResultRequestAuthCodeResultResult 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.RescheduleBookingResultReservedCardA card on file reserved for charging if a waitlist spot is promoted.ResourceUrlThe 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.gois the public consumer page,businessthe staff-admin page, andaccountthe signed-in member's own view of the resource — present only for resources that have a member-facing page.RespondToBookingAttendanceResultRevokeDeveloperAccessTokenResultSavedPaymentMethodA saved StripePaymentMethodattached to the viewer's customer record. Listed and managed viaMe.paymentMethodsso customers can add, remove, and pick a default card before any charge happens.SearchResultsMixed-entity search results returned byQuery.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 requestedfirst.SectionHeaderRegistrationBlockA 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.SelectRegistrationBlockSelectRegistrationBlockOptionSendTicketResultServiceA 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 (primaryvsaddOn, and its position) lives on the {@link ActivityServiceLink} that attaches it.ServicesThird-party service configuration available to the client.SessionSessionConnectionCursor-paginated list of sessions. Sort order isstartAt ASC, id ASC. Pair with thestartingfilter to scope the window to upcoming/past/from-date.SessionSpotMapSpot-map layout, occupancy, and viewer-relative state for one session.SetMyEmailMarketingConsentResultSetMySmsReminderConsentResultSharedTicketSharerThe 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 (anImagewould carry the photo's original filename).SharedTicketSharerAvatarThe sharer's photo: a resized copy and its blur placeholder.ShareTicketResultSignInResultSignOutResultSocialSignInWhich 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 onlytruewhen its server credentials are present.SpotOne 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.SpotBlockA block of spots described by rule rather than enumeration — eighteen rows of twenty-four is one of these, not 432 objects.SpotChangePolicyA 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.SpotMapA venue spot map. Belongs to a location, optionally narrowed to one facility (a single auditorium inside a multi-screen building).SpotMapArtworkVenue-supplied artwork the spots are registered against, so a historic house gets their map rather than a generated one. SVG is preferred.SpotMapBoundsThe map's drawn extent — every spot, the stage, and every element — so the picker can fit the whole house before the buyer zooms in.SpotMapElementSpotMapPointSpotMapSectionA named tier within a map — orchestra, mezzanine, balcony, boxes. Row letters restart per section, so a spot'srowLabelis only unique within one.SpotMapStageThe stage or screen.x/yis its centre in map space androtationturns it about that centre; atrotation: 0the stage faces+y(down the map).widthruns along the stage's lateral axis,depthalong its facing axis.SpotNumberingSchemeSpotOverrideOne spot's deviation from its block rule. Only the fields that differ are set; everything else comes from expanding the rule.SpotPlacementSpotRowLabelSchemeSpotRowRunsUnavailable spot positions within one row of one block, run-length encoded.SpotSectionAvailabilityAvailability for one section. For aassignedsection the counts are spots; for aunassignedpool they are places in the pool.SpotsTogetherSuggestionOne "four spots together" offer.StaffAssignmentA staff member assigned to an activity or individual session, along with the role they fill.StaffMemberA staff member belonging to a business. Combines the staff directory (name, email, bio) with optional login access (user + permissions).StaffMemberConnectionCursor-paginated list of staff members for a business.StopSharingTicketResultTaxBreakdownLinePer-jurisdiction tax line collected on a single payment. Surfaced on receipts and aggregated by the tax-collected report.TeamSizeRequirementThe roster size a league allows its teams.TextRegistrationBlockTicketShareA 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.UIExtensionInstanceOne extension rendering into one target for one subject: the published version to load and the live query to resolve for it. Itsidis what the host sends back to the extension API so every query and mutation is attributed to the extension that made it.UpdateAppExtensionResultUpdateAppResultUpdateBookingSpotResultUserViewerSmsRemindersThe signed-in viewer's own number and text-reminder consent with a business.WaitlistConfigurationWalletPass"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
CatalogItemAnything 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
PaymentOptionOne of the ways a user can pay for an session.RegistrationBlock
Enums
ActivityLifecycleLifecycle phase of an activity, derived from its end date relative to the current moment.ActivityPassGiftingActivityRegistrationTimeFilterTime-window filter for booking lists (Me.bookings,BookingFilter.time).upcomingreturns bookings whose session has not yet ended;pastreturns ones whose session has already ended;allreturns both. The type keeps its legacy name because shipped clients declare it as a variable type.ActivityServiceKindWhether 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.ActivityStructureAppDistributionHow an app reaches businesses.AppExtensionKindWhat an extension module is. Every kind is a JavaScript module whose default export is a function; the kind decides what the function is handed.AppExtensionVersionStatusAttendanceResponseWhat a party said when a reminder asked whether they are still coming.BankDebitMethodWhich 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.BillingIntervalBookingIntendedPaymentMethodHow a waitlisted party said they would pay if a place opened.BookingModeHow a customer books an appointment type.instantruns the normal registration + checkout flow;requestcreates a pending request a staff member approves before it is confirmed.BookingPricingModeHow astructure: bookingactivity is priced.durationcharges the per-increment price times the number of increments in a client-chosen time range;servicescharges 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.BookingStatusWhere a booking sits.confirmedandrequestedhold a place;waitlistedandofferedare queued behind one;cancelledhas released it.BookingWindowStatusWhether 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.BusinessPaymentsModeWhether 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 realstripe_modeflag —liveonce the business completes live Connect onboarding, otherwisetest.BusinessPrivacyMaster access state for a business's public page.publicis the normal state.privategates 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-grainedBusinessVisibilityflags. Lets an operator stand up and rehearse a store end-to-end before going live.BusinessVisibilityGeneric visibility state used for business-level toggles (public page on Sessions Go, listing in unified search, and future channel surfaces).BuyerCancellationWhat a buyer may cancel themselves on a confirmed booking.ChallengeLeaderboardNameDisplayHow a participant is named on a challenge's public leaderboard.CheckoutCreditKindCheckoutFundingSourceWhich funding source the buyer picked in the Sessions-owned toggle above the Stripe Payment Element.CheckoutRefusalWhycheckoutminted no order, for the refusals a client does more with than showerrors.ClockStartWhen a pass/membership purchase's validity clock (relative expiry / billing renewal) starts.purchaseis the default (clock starts at purchase time);firstSessiondefers it until the buyer's first booked session occurs.CommerceActorWho set something in motion — a refund, or a cancellation.CommunicationChannelA channel a session reminder can be delivered over.pushrequires the business to have a published white-label app and the participant to have a registered device; it silently no-ops otherwise.CompletePurchaseRefusalWhycompletePurchasedid not complete an order.DayOfWeekDepositBasisHow aDepositPolicystates its amount.DurationUnitEmailMarketingConsentActionWhether a {@link Mutation.recordParticipantEmailMarketingConsent} call grants or withdraws consent.EmailMarketingConsentStatusResulting state of a participant's email-marketing consent.grantedmeans they affirmatively opted in;withdrawnmeans a prior consent was revoked. The absence of a status (null on {@link ParticipantEmailMarketingConsent.status}) means they were never asked — deliberately distinct fromwithdrawn.EmailMarketingConsentWithdrawalWhy the viewer's email-marketing consent reads withdrawn (Business.viewerEmailMarketingConsentWithdrawal).EntitlementKindWhat kind of thing an entitlement is.EntitlementStatusWhere 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.GuestDetailsRequirementWhat checkout asks of a buyer for each guest place in an order.IntervalUnitLineupPresentationHow a lineup reads to a buyer, derived from the activity's type so every client labels it the same way.MatchForfeitSideWhich competitor forfeited when a match was resolved by forfeit rather than played out.home/awaycorrespond toMatch.homeCompetitor/awayCompetitor(the winning side is the other one);bothis a double forfeit / no-contest, which counts as a loss for both teams and leavesMatch.winnernull.MatchTeamMerchantAdConsentAn 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 asvisitorAdConsent.MonthlyModeMonthlyWeekPaymentCollectionWhen payment for a paid booking is collected. Room is left for future values (e.g. collection when the activity completes).PriceAmountModeHow aPrice'samountreads. MirrorsDiscountCodeType, which has answered the same question for discount codes for far longer.PriceAppliesToWhat anautomaticPriceadjusts.PriceAudienceWho aPriceis for.PriceFeeEntitlementPolicyWho 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 aschargedfor display, since the server is what prices the seat.PriceRegistrationScopeWhich registration path an activity's prices apply to. ReplacesPricingRuleScope, whose values saidRegistrationtwice.PriceSaleStatusWhere achosenprice 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.PriceSelectionWhether the buyer picks a price, or it applies on its own. The one axis on which ticket types and price rules ever differed.ProductAvailabilityWhich products aBusiness.productslist includes, relative to the current viewer.ProductTypeDiscriminator for the concrete product subtype. Matches theproducts.typecolumn on the database.ProductVisibilityWhether 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.PurchaseItemKindWhat a line is a claim on. Stored rather than derived, because a league seasonentryand a season-scopedsessionline carry the same references.PurchasePageBlockKindThe kind of a configurable purchase-page block. Each kind interprets itsconfig(and, at checkout, its captured response) differently.PurchaseStatusWhere a purchase is in its two-phase life.pendingis minted with the PaymentIntent and holds nothing — no booking, no entitlement, no capacity;completedis fulfilled;cancellednever fulfilled. Refunding a completed purchase leaves itcompleted, because the order still happened.RefundSourceWhere a refund's money went back to.RegistrationBlockFilterKindThe dimension a {@link RegistrationBlockFilter} scopes on. v1 exposes onlyregistrationType(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.RegistrationParticipantModeRegistrationStatusResourceKindThe kind of resource that owns an appointment availability schedule or fulfills an appointment type: a staff member, a facility, or a location.ScheduleViewA calendar display mode for a business's schedule. Mirrors the user-facing view vocabulary (the embedviewattribute and thedisplay_asURL param);DAYis the single focused day,WEEKthe seven-day grid,MONTHthe month.SessionAvailabilityHow 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. SeeSession.availability.SessionSortSort order for an activity-session connection.startAscreturns the earliest sessions first (the default);startDescreturns the most recent first — useful for "newest at the top" views.createdAsc/createdDescorder 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.SessionSourceHow an session came to exist, mirroringsessions.source. Used bySessionFilter.sourceto let an admin narrow a list to a single kind of session — most usefully to isolate (or hide) appointment bookings.SessionStatusSessionTimeOfDayTime-of-day buckets used bySessionFilter.timeOfDay. Each bucket is evaluated in the business's local timezone:SmsReminderReachWhether a participant is texted session reminders, and if not, why. A STOP reply outranks a business's recorded consent, because it does.SocialSignInProviderAn identity provider a user can sign in with.SpotAssignmentHow a section sells.assignedis the spot-map case — every spot is a distinct pickable unit.unassignedis 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.SpotHoldReasonWhy a spot is off general sale.SpotIconWhat 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. Awheelchairspot always draws the wheelchair-space mark.SpotKindWhat a spot physically is. Non-spotkinds render differently and, forwheelchair, take a wider footprint.SpotLateralPositionWhere 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.SpotMapElementKindA non-spot element drawn on the map so the picker reads like the room. Presentational only — never sellable. The spot picker drawslabel(small capitals between two hairlines along the element's width: the street outside, so a buyer can orient themselves),wall(a hairline bar) andentrance(a dashed threshold); the other kinds are left as empty space.SpotMapStageFormHow 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.SpotMapStageIconA 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.SpotMapStageKindWhat the audience is pointed at.SpotMapStageLabelDisplayWhat 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.SpotNumberDirectionSpotNumberSchemeKindHow spots within a row are numbered.SpotRowLabelKindHow a block's rows are named. Theatres overwhelmingly use letters and skipI, because it reads as a1.SpotSideWhich bank of a multi-sided house a spot is in, relative to the stage's own facing. Null for a map with no stage.TextBlockInputTypeWaitlistCountVisibility
Inputs
ActivityFilterFilter applied to a paginated activity list.querymatches the activity's name (case-insensitive substring). Array filters narrow the result to activities whosetype/structure/registration.statusis in the supplied set; an empty or omitted array applies no filter.startAfter/endBeforerestrict to activities whose configuredstartDate/endDatefalls on or after / on or before the supplied ISO-8601 date string.AppExtensionTranslationInputOne locale's strings for a pushed version — the contents of an extension'stranslations/<locale>.json.stringsis an object whose values are strings or nested objects of the same shape; a plural is an object keyed byIntl.PluralRulescategories (one,other, …), and{{name}}marks a placeholder.AppExtensionVersionTargetInputOne target in a pushed version: the target name, its bundled ES module (whose default export is the extension function), and its optional live query.AppointmentItemInputA booked time against an appointment-structured activity.AttributionClickInputAn ad click a landing URL carried: which click ID parameter, and its value.AttributionInputClient-captured marketing attribution forwarded through a booking / checkout / sign-up mutation (issue #2060).firstTouchis the visitor's first-ever touch (persisted in browser storage and stamped, immutably, onto a newly created participant);lastTouchis the touch that converted (stamped onto the registration / purchase). Either may be omitted; when only one is present the server uses it for both.AttributionTouchInputOne captured marketing-attribution touch: the rawutm_*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 nooriginfield — the server classifies origin itself and never trusts a client-claimed marketplace origin.BuyerInputBuyer 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; whencreateAccountis true (the default), a magic-link email is sent so the buyer can claim the account.CheckoutItemInputOne basket. Every branch names its target withid, so an item reads as{session: {id: …, tiers: […]}}rather than repeating the branch key.EntityRefFavoriteTargetInputTarget for a favorite operation. Exactly one ofbusiness,staff, oractivitymust be provided — the mutation dispatches based on which field is set.FundingPreferenceInputHow the buyer would like to pay, when the business offers a choice.GuestAttendeeInputIdentifies the guest being booked. The booker (the caller ofcheckout) is recorded as the payer; the guest is the attendee.LeagueEntryInputA team's or an individual's place in a league division.LocationFilterFilter applied to a paginated location list.queryis a case-insensitive substring of the location's name; blank is no filter.MetadataFilterInputMatches entities that have any ofvaluesstored under metadata keyname. Key accepts the$.shorthand for thesessions.namespace.ParticipantSelectionInputWho a line books for.PriceQuantityInputProductFilterFilter applied to a paginatedProductConnection. Fields combine withANDsemantics.ProductItemInputProductPurchaseGiftInputRegistrationDataInputSessionFilterOptional filters forBusiness.scheduledSessions. All fields are ANDed together; date-range filtering still goes through the parentstartingargument so the same predicates back both fields.SessionItemInputA claim on one session — a class spot, tickets to a showtime.SessionsStartingStaffMemberFilterFilter applied to a paginated staff list.querymatches the staff member's name.TeamEntryInputTeamEntryMemberInputVisitorAdConsentInputA hosted page visitor's ad-consent answer for one business.
Scalars
ActivityTypeIdentifier 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.BooleanTheBooleanscalar type representstrueorfalse.DateTimeAn ISO 8601 date-time string (e.g."2026-03-27T14:30:00.000Z").FloatTheFloatscalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).FormattedTextInline-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 asessions:URL, alongside the ordinaryhttp(s):,mailto:and relative-path hrefs.IDTheIDscalar 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 as4) input value will be accepted as an ID.IntTheIntscalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.JSONArbitrary JSON — an object, array, string, number, boolean or null — passed through as-is, not as an encoded string.JSONPathA JSON path selector, as specified by [RFC 9535](https://datatracker.ietf.org/doc/html/rfc9535).LocaleA BCP 47 locale tag (e.g. "en", "fr", "fr-CA"). See https://www.rfc-editor.org/info/bcp47StringTheStringscalar 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.TimezoneAn IANA timezone identifier (e.g."America/Toronto"). Validated at the GraphQL layer withIntl.DateTimeFormat; values that the runtime can't resolve to a known zone are rejected.UIExtensionTargetWhere 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:URLAn absolute URL with anhttporhttpsscheme. 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.