{"openapi":"3.1.0","info":{"title":"ClassPass API (Bowmark)","version":"e833508f87ff","description":"ClassPass — fitness, wellness and beauty classes across gyms, studios, spas and salons. `getStudio` reads one studio's whole profile in a single request: what it does, where it is, its rating, amenities, photos, contact routes and the practical booking prose. `getSchedule` reads that studio's bookable timetable for a day or a week: every session with its start time, instructor, duration, credit price and whether it is still open. `search` finds every studio inside a radius of a point. The signed-in reads are built — `getMyProfile`, `getCreditBalance`, `listMyReservations`, `getReservation`, `getBookingQuote`, `getMySubscription`, `getBillingHistory`, `listFavorites`, `listOnDemandVideos`, `getVideo` — each reached and refused through the caller's own session — and three small writes, `addFavorite`, `removeFavorite` and `checkIn`; booking, cancelling, waitlisting and membership pricing are declared but not built yet.\n\nEvery function Bowmark has for ClassPass (classpass.com) as one HTTP call. Each runs on Bowmark's infrastructure with the same billing, rules and response envelope as `POST /v1/run`. The whole API: https://api.bowmark.ai/openapi.json. Guide: https://bowmark.ai/docs/api.","contact":{"email":"support@bowmark.ai","url":"https://bowmark.ai/docs/api"}},"servers":[{"url":"https://api.bowmark.ai"}],"security":[{"bearer":[]},{"apiKeyHeader":[]}],"paths":{"/v1/sites/classpass/search":{"post":{"operationId":"search","summary":"ClassPass's own location search — read back the fitness, wellness AND beauty venues within `query.radius` of `query.lat`/`query.lon`, with their identity, coordinates, the activities each teaches, rat","description":"ClassPass's own location search — read back the fitness, wellness AND beauty venues within `query.radius` of `query.lat`/`query.lon`, with their identity, coordinates, the activities each teaches, rating, a description and a photo. `query.lat` and `query.lon` are required (decimal degrees, finite, in range); `query.radius` defaults to 1 and is clamped to 1-50; `query.radiusUnits` is `mi` (default) or `km`; `query.date` is `YYYY-MM-DD` and defaults to TODAY (UTC) — this function turns lat/lon/radius into a bounding box itself, since the origin takes no radius field of its own on this route. One call returns EVERY venue inside that box (226 measured on a 5 mi Charlotte box) — there is no pagination and no `cursor`; ask for a wider radius for more. Returns `warnings` whenever the function did anything to the caller's query (radius defaulted, date defaulted) so a caller rendering the result knows exactly what shape their input landed in. Each result is NOT a full profile — no address, no time zone, no amenities, `ratingCountDisplay` is the site's own capped string ('30000+') rather than a real count — follow up with `getStudio(alias)` for that. This is the entry point to essentially everything else in this provider — a studio id or class id is not knowable ahead of a search.\n\nCalls `bowmark.providers.classpass.search`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassSearchResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"$ref":"#/components/schemas/ClasspassSearchQuery","description":"TypeScript: `ClasspassSearchQuery`"}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getStudio":{"post":{"operationId":"getStudio","summary":"Reads ONE ClassPass studio's whole profile in a single request — the page a person reads to decide whether a result is worth booking.","description":"Reads ONE ClassPass studio's whole profile in a single request — the page a person reads to decide whether a result is worth booking. `studio` is a ClassPass venue id (74359), the alias in its public URL (\"barrys-charlotte\"), or the studio URL itself; all three are accepted. Returns identity and branch (a chain's locations differ only by `subtitle`), the full address with coordinates, IANA time zone, neighbourhood and metro area, the studio's own description, what it actually does (`activities`), amenities and the inclusivity attributes it asserts, its rating and how many reviews back it, real photographs (ClassPass's generic `fallback.jpg` placeholders are dropped rather than passed off as the studio), its own website, phone and socials, and the practical prose a booker needs — booking window, when to arrive, what to bring, how to get there, and the cancellation policies. NOTE ON PRICE: this record carries NO credit figure, measured across four venues — the only price-ish field ClassPass publishes here is `averageDiscount`, its own undocumented fraction, returned under its own name rather than relabelled as a saving. What a class COSTS is per-session and comes from `getSchedule`'s `credits`, which is both exact and free of a second request. A studio that has left ClassPass throws a caller-fixable error quoting the site's own reason (\"Venue disabled\") rather than returning a hollow profile.\n\nCalls `bowmark.providers.classpass.getStudio`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassStudio>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"TypeScript: `number | string`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getSchedule":{"post":{"operationId":"getSchedule","summary":"Reads ONE ClassPass studio's bookable timetable — what a person can actually book there, and when.","description":"Reads ONE ClassPass studio's bookable timetable — what a person can actually book there, and when. `studio` is a ClassPass venue id (74359), the alias in its public URL (\"barrys-charlotte\"), or the studio URL itself (\"https://classpass.com/studios/barrys-charlotte\"); all three are accepted, because what a caller usually holds is a link. `options.date` is the first day as YYYY-MM-DD and defaults to TODAY AT THE STUDIO (resolved through the venue's own IANA zone, so a caller in another hemisphere still gets the studio's today); `options.days` reads 1-7 consecutive days from it and costs one live request per day. Returns the venue (name, branch subtitle, address, coordinates, time zone, amenities, rating) plus every session: class name and activities, level, the instructor by name, an absolute ISO `startTime` with the venue-local `localDate` beside it, duration, the credit price ClassPass charges, and the site's own availability word (\"available\", \"waitlist\", …) rather than a lossy boolean. A day the studio publishes nothing still appears in `dates` with no sessions — \"closed today\" and \"I never looked\" are different answers. A studio that has LEFT ClassPass throws a caller-fixable error quoting the site's own reason (\"Venue disabled\") rather than returning an empty timetable that reads like a quiet day.\n\nCalls `bowmark.providers.classpass.getSchedule`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassSchedule>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"TypeScript: `number | string`"},"options":{"$ref":"#/components/schemas/ClasspassScheduleOptions","description":"TypeScript: `ClasspassScheduleOptions`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/findStudio":{"post":{"operationId":"findStudio","summary":"Finds ClassPass studios by NAME (and matching brand) near a point — the door for a caller holding only words, since a studio id or alias is not knowable ahead of this or `search`.","description":"Finds ClassPass studios by NAME (and matching brand) near a point — the door for a caller holding only words, since a studio id or alias is not knowable ahead of this or `search`. `query` is required and non-blank (a studio or brand name, e.g. \"Barry's\"). `location` is also required — ClassPass's own autocomplete refuses a call with no point to search near (measured: 400 \"You need to save a recent location for the user or provide a lat and lon information in the request.\") — unlike `search`, which defaults its radius. Each result carries the venue id and alias (for a `getStudio`/`getSchedule` follow-up), name, subtitle (a chain's branch qualifier), neighbourhood, ClassPass's own metro-area id, coordinates, a photo, and the site's own unlabelled `distance` figure from the query point (treat it as an ordering signal, not a verified unit). Matches by STUDIO/BRAND name only — a query like \"yoga\" that matches an ACTIVITY rather than a venue returns an empty list here; that half of the response is not wired into this function.\n\nCalls `bowmark.providers.classpass.findStudio`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassStudioMatch[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","description":"TypeScript: `string`"},"location":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"}},"required":["lat","lon"],"additionalProperties":true,"description":"TypeScript: `{ lat: number; lon: number }`"}},"required":["query","location"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/checkAvailability":{"post":{"operationId":"checkAvailability","summary":"Checks whether one already-known class slot is still bookable and at what credit price, without walking the whole day's timetable again — `scheduleId` is the `id` of a session a prior `getSchedule` ca","description":"Checks whether one already-known class slot is still bookable and at what credit price, without walking the whole day's timetable again — `scheduleId` is the `id` of a session a prior `getSchedule` call returned. One cheap GET, answered anonymously. Returns the SAME session shape `getSchedule`'s `sessions` rows carry (name, activities, instructor, an absolute `startTime` with venue-local `localDate` beside it, duration, credit price, and the site's own availability word rather than a lossy boolean), resolving `localDate` from the venue block this endpoint carries alongside the slot — no second request. A stale or made-up `scheduleId` throws a caller-fixable error naming ClassPass's own 404 rather than a bare HTTP code.\n\nCalls `bowmark.providers.classpass.checkAvailability`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassSession>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduleId":{"type":"number","description":"TypeScript: `number`"}},"required":["scheduleId"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/findLocation":{"post":{"operationId":"findLocation","summary":"Turns a place name a caller holds (\"Charlotte\", a neighbourhood, an address) into the coordinates `search` and `findStudio` both require, using ClassPass's own location autocomplete.","description":"Turns a place name a caller holds (\"Charlotte\", a neighbourhood, an address) into the coordinates `search` and `findStudio` both require, using ClassPass's own location autocomplete. `query` is required and non-blank; the origin itself answers an empty or nonsense query with no matches rather than a refusal, so an empty `locations` array is an ordinary answer, never thrown. A query can name several real places at once (\"Charlotte\" is a city, an international airport, AND a town in Maryland) — every autocomplete match is resolved to coordinates, not just the first, so pick the row whose `description` matches what the caller meant. `warnings` names any match that failed to resolve (the rest of the list is still complete); it is required even though a typical query resolves cleanly.\n\nCalls `bowmark.providers.classpass.findLocation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassFindLocationResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","description":"TypeScript: `string`"}},"required":["query"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/listStudioClasses":{"post":{"operationId":"listStudioClasses","summary":"Lists the classes ONE studio teaches — its class catalogue (name, alias, description) — as distinct from `getSchedule`'s DATED timetable of when each is actually offered.","description":"Lists the classes ONE studio teaches — its class catalogue (name, alias, description) — as distinct from `getSchedule`'s DATED timetable of when each is actually offered. `studio` takes the same id, alias or studio URL `getStudio`/`getSchedule` do. Each row carries the `alias` `getClass` needs for a single-class read — NOT its numeric `id`, which that route refuses. `durationMinutes` and `activities` are measured EMPTY/null on every class sampled across two studios (the real duration is usually baked into `name` itself, e.g. \"(50 min)\"); kept rather than dropped in case a studio ever publishes them.\n\nCalls `bowmark.providers.classpass.listStudioClasses`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassClass[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"TypeScript: `number | string`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getClass":{"post":{"operationId":"getClass","summary":"Reads ONE class's own description at a studio — what it is, how long, what to expect — distinct from a dated SESSION of it (`getSchedule`'s rows).","description":"Reads ONE class's own description at a studio — what it is, how long, what to expect — distinct from a dated SESSION of it (`getSchedule`'s rows). `studio` takes the same id, alias or studio URL as the rest of this provider. `classAlias` is the `alias` a prior `listStudioClasses` or `getSchedule` call returned for this class — NOT its numeric id (`classId` on a `getSchedule` session, or `id` on a `listStudioClasses` row): measured 2026-10-28, the site answers the SAME class's numeric id with \"The class was not found!\", the identical wording it uses for a genuinely stale alias. A stale or wrong alias throws a caller-fixable error quoting that wording.\n\nCalls `bowmark.providers.classpass.getClass`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassClass>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"TypeScript: `number | string`"},"classAlias":{"type":"string","description":"TypeScript: `string`"}},"required":["studio","classAlias"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getStudioReviews":{"post":{"operationId":"getStudioReviews","summary":"Reads a studio's member reviews — the page a person reads before booking somewhere new.","description":"Reads a studio's member reviews — the page a person reads before booking somewhere new. `studio` takes the same id, alias or studio URL as the rest of this provider; the site's reviews route itself only accepts a NUMERIC venue id (the alias form 404s, measured 2026-10-28), so this function resolves one first when a caller passes an alias or URL — `venue` on the result says which studio it ended up asking about. Each review carries the class taken, a 1-5 rating, the review text, when it was posted, the reviewer's first name plus last initial (never assembled into a fuller name they did not give), the teacher's name, and whether the site marks it public. `featuredReviews` is the site's own curated subset, carried separately from the full `reviews` list. Paging is unmeasured: this is one call, the site's own first page.\n\nCalls `bowmark.providers.classpass.getStudioReviews`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassStudioReviews>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"TypeScript: `number | string`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getClassReviews":{"post":{"operationId":"getClassReviews","summary":"Reads the reviews members left for ONE class rather than the whole studio — same row shape as `getStudioReviews` (class taken, 1-5 rating, text, when, reviewer's first name plus last initial, teacher)","description":"Reads the reviews members left for ONE class rather than the whole studio — same row shape as `getStudioReviews` (class taken, 1-5 rating, text, when, reviewer's first name plus last initial, teacher). `classId` is the NUMERIC id — `classId` on a `getSchedule` session or `id` on a `listStudioClasses` row; the reverse of `getClass`, which takes the alias. `totalCount` is the site's count across every page; `reviews` is its first page only. Measured 2026-10-29: an id that names no class answers 200 with zero reviews and `totalCount: 0`, the same as a real class nobody has reviewed — the site cannot tell the two apart, so neither can this.\n\nCalls `bowmark.providers.classpass.getClassReviews`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassClassReviews>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"classId":{"type":"number","description":"TypeScript: `number`"}},"required":["classId"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/listStudioBranches":{"post":{"operationId":"listStudioBranches","summary":"Lists every OTHER location of the same brand on ClassPass — every Barry's, say (95 others, measured 2026-10-29) — each as the same venue record `getSchedule` returns: id, alias, name, subtitle (the br","description":"Lists every OTHER location of the same brand on ClassPass — every Barry's, say (95 others, measured 2026-10-29) — each as the same venue record `getSchedule` returns: id, alias, name, subtitle (the branch's city), address, coordinates, time zone, amenities and rating. The studio asked about is not in the list. `studio` takes an id, alias or studio URL.\n\nCalls `bowmark.providers.classpass.listStudioBranches`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassStudioBranches>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"TypeScript: `number | string`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/listSimilarStudios":{"post":{"operationId":"listSimilarStudios","summary":"Lists the studios ClassPass itself suggests as similar to one studio — its 'you might also like' row, typically five nearby — each as a venue record plus `distanceMi`, the site's own distance from the","description":"Lists the studios ClassPass itself suggests as similar to one studio — its 'you might also like' row, typically five nearby — each as a venue record plus `distanceMi`, the site's own distance from the studio asked about. `studio` takes an id, alias or studio URL.\n\nCalls `bowmark.providers.classpass.listSimilarStudios`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassSimilarStudios>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"TypeScript: `number | string`"}},"required":["studio"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/listCategories":{"post":{"operationId":"listCategories","summary":"Returns ClassPass's whole tag vocabulary as a tree — top-level groups (Activities, Beauty, Sports and Recreation, …) each with its `subtags` — every node carrying its tag `id`, `name`, `parentId` and ","description":"Returns ClassPass's whole tag vocabulary as a tree — top-level groups (Activities, Beauty, Sports and Recreation, …) each with its `subtags` — every node carrying its tag `id`, `name`, `parentId` and the site's own `filterable` flag. Global: the same answer for every market.\n\nCalls `bowmark.providers.classpass.listCategories`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassCategory[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/listMarkets":{"post":{"operationId":"listMarkets","summary":"Lists every city and metro area ClassPass operates in (81 on 2026-10-31, across the US, UK, Europe, Asia and Australia) — each with its numeric `id`, city-page `alias`, display `name`, `city`, `countr","description":"Lists every city and metro area ClassPass operates in (81 on 2026-10-31, across the US, UK, Europe, Asia and Australia) — each with its numeric `id`, city-page `alias`, display `name`, `city`, `country`/`countryCode`, `currency`, IANA `timeZone`, the market's centre `lat`/`lon` (usable as search/findStudio coordinates) and `priceMonthly`, the entry plan's advertised monthly price.\n\nCalls `bowmark.providers.classpass.listMarkets`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<ClasspassMarket[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getMyProfile":{"post":{"operationId":"getMyProfile","summary":"Returns the signed-in member's own ClassPass profile — name, email, home market, photo and the numeric user id every other account route is keyed on.","description":"Returns the signed-in member's own ClassPass profile — name, email, home market, photo and the numeric user id every other account route is keyed on. An authFunction: the caller signs in through the relay, never a Bowmark persona. No fleet-held ClassPass session exists, so the signed-in SHAPE has never been captured — returned raw rather than parsed into named fields nobody has seen, same reasoning as clubready's getMyProfile. Anonymously 403 `{\"code\":403,\"message\":\"HTTP 403 Forbidden\"}`, measured 2026-10-23; a dead saved login answers the same way.\n\nCalls `bowmark.providers.classpass.getMyProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getCreditBalance":{"post":{"operationId":"getCreditBalance","summary":"Returns how many credits the signed-in member has left this billing cycle, what rolls over and when the cycle renews — the number every booking spends.","description":"Returns how many credits the signed-in member has left this billing cycle, what rolls over and when the cycle renews — the number every booking spends. An authFunction, returned raw for the same reason as getMyProfile. Anonymously 403, measured 2026-10-23.\n\nCalls `bowmark.providers.classpass.getCreditBalance`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/listMyReservations":{"post":{"operationId":"listMyReservations","summary":"Lists the signed-in member's upcoming and past reservations — class, studio, time, credits spent and the reservation id getReservation/cancelReservation take.","description":"Lists the signed-in member's upcoming and past reservations — class, studio, time, credits spent and the reservation id getReservation/cancelReservation take. An authFunction, returned raw for the same reason as getMyProfile. Anonymously 401 `Missing Identity`, measured 2026-10-23.\n\nCalls `bowmark.providers.classpass.listMyReservations`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getBookingQuote":{"post":{"operationId":"getBookingQuote","summary":"Returns what booking one specific class slot (`scheduleId`, from a prior getSchedule/checkAvailability call) would cost THIS member — the credit price after their plan's pricing and any late-booking o","description":"Returns what booking one specific class slot (`scheduleId`, from a prior getSchedule/checkAvailability call) would cost THIS member — the credit price after their plan's pricing and any late-booking or no-show fees — before bookClass spends anything. An authFunction, returned raw for the same reason as getMyProfile. Anonymously 403 `{\"code\":403,\"message\":\"HTTP 403 Forbidden\"}` WITH the site's Origin/Referer, a JSON refusal rather than Cloudflare's challenge, measured 2026-10-23.\n\nCalls `bowmark.providers.classpass.getBookingQuote`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduleId":{"type":"number","description":"TypeScript: `number`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["scheduleId"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getReservation":{"post":{"operationId":"getReservation","summary":"Returns one of the signed-in member's reservations in full — class, studio, spot, credits, cancellation window and status — by the `reservationKey` a prior listMyReservations call gave.","description":"Returns one of the signed-in member's reservations in full — class, studio, spot, credits, cancellation window and status — by the `reservationKey` a prior listMyReservations call gave. An authFunction, returned raw for the same reason as getMyProfile. Anonymously an unknown key answers 404 `There is no reservation with key: …`, measured 2026-11-02, so a mistyped key reads as not-found rather than a dead login.\n\nCalls `bowmark.providers.classpass.getReservation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reservationKey":{"type":"string","description":"TypeScript: `string`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["reservationKey"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getMySubscription":{"post":{"operationId":"getMySubscription","summary":"Returns the signed-in member's plan — tier, monthly credits, price, renewal date and any pending pause or cancellation.","description":"Returns the signed-in member's plan — tier, monthly credits, price, renewal date and any pending pause or cancellation. An authFunction, returned raw for the same reason as getMyProfile. Anonymously 401 `Missing or Invalid Identity`, measured 2026-11-02.\n\nCalls `bowmark.providers.classpass.getMySubscription`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getBillingHistory":{"post":{"operationId":"getBillingHistory","summary":"Lists the signed-in member's past charges — plan renewals and credit purchases, with dates and amounts.","description":"Lists the signed-in member's past charges — plan renewals and credit purchases, with dates and amounts. An authFunction, returned raw for the same reason as getMyProfile. Anonymously 401 `Unauthorized`, measured 2026-11-02.\n\nCalls `bowmark.providers.classpass.getBillingHistory`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/listFavorites":{"post":{"operationId":"listFavorites","summary":"Lists the studios the signed-in member has saved as favourites.","description":"Lists the studios the signed-in member has saved as favourites. An authFunction, returned raw for the same reason as getMyProfile. Anonymously 500 naming a null identity parameter, measured 2026-11-02.\n\nCalls `bowmark.providers.classpass.listFavorites`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/listOnDemandVideos":{"post":{"operationId":"listOnDemandVideos","summary":"Lists the on-demand workout videos included with the signed-in member's plan, with the ids getVideo takes.","description":"Lists the on-demand workout videos included with the signed-in member's plan, with the ids getVideo takes. An authFunction, returned raw for the same reason as getMyProfile. Anonymously 403 `Request lacks an identity payload.`, measured 2026-11-04.\n\nCalls `bowmark.providers.classpass.listOnDemandVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/getVideo":{"post":{"operationId":"getVideo","summary":"Returns one on-demand video — title, instructor, length and the stream a member plays — by the id a prior listOnDemandVideos call gave.","description":"Returns one on-demand video — title, instructor, length and the stream a member plays — by the id a prior listOnDemandVideos call gave. An authFunction, returned raw for the same reason as getMyProfile. Anonymously 403 `Request lacks an identity payload.` before the id is resolved, measured 2026-11-04.\n\nCalls `bowmark.providers.classpass.getVideo`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"videoId":{"type":"string","description":"TypeScript: `string`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["videoId"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/addFavorite":{"post":{"operationId":"addFavorite","summary":"WRITE.","description":"WRITE. Saves a studio to the signed-in member's favourites, by its numeric venue id (getStudio's `id`). An authFunction; returns the site's answer raw. Anonymously 500 naming a null identity, measured 2026-11-05.\n\nCalls `bowmark.providers.classpass.addFavorite`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venueId":{"type":"number","description":"TypeScript: `number`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["venueId"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/removeFavorite":{"post":{"operationId":"removeFavorite","summary":"WRITE.","description":"WRITE. Removes a studio from the signed-in member's favourites, by its numeric venue id. Looks up the bookmark the way the site does; `removed: false` when the studio was not a favourite. An authFunction.\n\nCalls `bowmark.providers.classpass.removeFavorite`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ removed: boolean; venueId: number }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"venueId":{"type":"number","description":"TypeScript: `number`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["venueId"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/classpass/checkIn":{"post":{"operationId":"checkIn","summary":"WRITE.","description":"WRITE. Marks one of the signed-in member's reservations as attended (the app's check-in), by the key listMyReservations gives. An authFunction; returns the site's answer raw (null when it sends no body).\n\nCalls `bowmark.providers.classpass.checkIn`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<unknown>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reservationKey":{"type":"string","description":"TypeScript: `string`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["reservationKey"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}}},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Your Bowmark API key."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-Bowmark-Key"}},"responses":{"NotFound":{"description":"No such site or function.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}},"schemas":{"RunEnvelope":{"type":"object","description":"What a run returns. `status` says whether the SCRIPT succeeded. A script that threw or paused for a login is still HTTP 200. Branch on `status`, not on the HTTP code.","required":["ok","status","result","logs","error","ms"],"properties":{"runId":{"type":"string","description":"Stable id for this run. Quote it in a support or `report` message."},"ok":{"type":"boolean","description":"False only when the run produced nothing usable."},"status":{"type":"string","enum":["ok","error","partial","needs_user"],"description":"`partial`: the result is real but some calls failed (see `incomplete`); `ok` stays true. `needs_user`: a person must sign in to a site first. Relay `meta.handoff.url` to them, then run again."},"egress":{"type":"string","enum":["default","link"],"description":"The egress the run was given, present only when the request asked for one. `link`: every request went through the caller's own Chrome (Bowmark Buddy)."},"result":{"description":"Whatever the script `return`ed. Any JSON value."},"logs":{"type":"array","items":{"type":"string"},"description":"Lines the script wrote with `log(...)`."},"error":{"type":["string","null"],"description":"Why the run failed, in plain words. Null on success."},"ms":{"type":"integer","description":"How long the script itself ran, in milliseconds."},"queuedMs":{"type":"integer","description":"How long the run waited for a worker before starting. Present only when it was a second or more."},"needs":{"type":"array","description":"The sign-ins this script is waiting on. Present when `status` is `needs_user`.","items":{"type":"object","required":["capability","provider","providerTitle","kind"],"properties":{"capability":{"type":"string"},"provider":{"type":"string"},"providerTitle":{"type":"string","description":"The site's name, to show a person."},"kind":{"type":"string"}}}},"incomplete":{"type":"object","description":"Present only when `status` is `partial`: which calls did not answer.","properties":{"summary":{"type":"string"},"totalCalls":{"type":"integer"}},"additionalProperties":true},"emptyHanded":{"type":"object","description":"Present when the script returned nothing while its calls returned rows, usually a filter that matched none of the site's own labels. Lists the label values the calls actually returned.","additionalProperties":true},"notes":{"type":"array","description":"Caveats a call attached to a complete answer. Never changes `status`.","items":{"type":"object","properties":{"path":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}}}},"meta":{"type":"object","properties":{"handoff":{"type":"object","description":"A single-use sign-in link for a person to open. Expires at `expiresAt`.","properties":{"ref":{"type":"string"},"url":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time"}}},"concurrency":{"type":"object","description":"On a 429: how many runs are in flight and when to retry.","properties":{"limit":{"type":"integer"},"inFlight":{"type":"integer"},"retryAfterSeconds":{"type":"integer"}}}},"additionalProperties":true},"notice":{"type":"object","description":"Set when the account owner has not accepted the current Terms. Relay it to them.","additionalProperties":true}}},"ClasspassScheduleOptions":{"type":"object","properties":{"date":{"type":"string"},"days":{"type":"number"}},"additionalProperties":true},"ClasspassSearchQuery":{"type":"object","properties":{"lat":{"type":"number"},"lon":{"type":"number"},"radius":{"type":"number"},"radiusUnits":{"anyOf":[{"const":"mi"},{"const":"km"}]},"date":{"type":"string"}},"required":["lat","lon","radius"],"additionalProperties":true}}}}