{"openapi":"3.1.0","info":{"title":"Walla API (Bowmark)","version":"e833508f87ff","description":"Walla studio booking widgets (yoga, pilates, sound baths): find a studio from its website, read its locations, class schedule, pricing, private sessions and workshops, and (signed in) book, waitlist and cancel classes.\n\nEvery function Bowmark has for Walla (hellowalla.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/walla/findStudio":{"post":{"operationId":"findStudio","summary":"Finds a Walla studio from its own website (the page that embeds the Walla schedule) or its Walla integration id, returning the integration id every other function takes, plus the studio's name, slug, ","description":"Finds a Walla studio from its own website (the page that embeds the Walla schedule) or its Walla integration id, returning the integration id every other function takes, plus the studio's name, slug, time zone, currency and booking rules.\n\nCalls `bowmark.providers.walla.findStudio`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaStudio>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studioRef":{"type":"string","description":"TypeScript: `string`"}},"required":["studioRef"],"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/walla/listLocations":{"post":{"operationId":"listLocations","summary":"Lists a studio's locations: id, name, street address, coordinates, phone, email, opening hours, rooms and time zone.","description":"Lists a studio's locations: id, name, street address, coordinates, phone, email, opening hours, rooms and time zone. A location id narrows listClasses to one studio location.\n\nCalls `bowmark.providers.walla.listLocations`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaLocationList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListLocationsArgs","description":"TypeScript: `ListLocationsArgs`"}},"required":["args"],"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/walla/listClasses":{"post":{"operationId":"listClasses","summary":"Lists a studio's class schedule for a date range (default 7 days), optionally narrowed to locations, instructors or a search term: each class's id, name, start and end, instructor, location, room, cap","description":"Lists a studio's class schedule for a date range (default 7 days), optionally narrowed to locations, instructors or a search term: each class's id, name, start and end, instructor, location, room, capacity, booked, spots left, waitlist, drop-in price and credit cost, and whether it is also on livestream.\n\nCalls `bowmark.providers.walla.listClasses`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaClassList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListClassesArgs","description":"TypeScript: `ListClassesArgs`"}},"required":["args"],"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/walla/getClass":{"post":{"operationId":"getClass","summary":"Returns one scheduled class by id: everything listClasses carries, plus its description, assistant instructors, category, waitlist capacity and how many days ahead booking opens.","description":"Returns one scheduled class by id: everything listClasses carries, plus its description, assistant instructors, category, waitlist capacity and how many days ahead booking opens.\n\nCalls `bowmark.providers.walla.getClass`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaClassDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetClassArgs","description":"TypeScript: `GetClassArgs`"}},"required":["args"],"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/walla/listInstructors":{"post":{"operationId":"listInstructors","summary":"Lists the instructors at a studio with id, name, photo and bio — the ids listClasses and getPrivateSessionAvailability filter by.","description":"Lists the instructors at a studio with id, name, photo and bio — the ids listClasses and getPrivateSessionAvailability filter by.\n\nCalls `bowmark.providers.walla.listInstructors`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaInstructorList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListInstructorsArgs","description":"TypeScript: `ListInstructorsArgs`"}},"required":["args"],"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/walla/listPricing":{"post":{"operationId":"listPricing","summary":"Lists what a studio sells — drop-ins, class packs, intro offers and memberships — with each one's price, credit count, expiry, auto-renew terms and who may purchase it.","description":"Lists what a studio sells — drop-ins, class packs, intro offers and memberships — with each one's price, credit count, expiry, auto-renew terms and who may purchase it.\n\nCalls `bowmark.providers.walla.listPricing`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaPricingList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListPricingArgs","description":"TypeScript: `ListPricingArgs`"}},"required":["args"],"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/walla/listClassCategories":{"post":{"operationId":"listClassCategories","summary":"Lists the class categories (yoga style, sound bath, workshop) this studio actually schedules, derived from its own upcoming classes and workshops over a forward window (default 60 days) — the site's o","description":"Lists the class categories (yoga style, sound bath, workshop) this studio actually schedules, derived from its own upcoming classes and workshops over a forward window (default 60 days) — the site's own category taxonomy is shared across every Walla studio and cannot be scoped by studio.\n\nCalls `bowmark.providers.walla.listClassCategories`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaCategoryList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListClassCategoriesArgs","description":"TypeScript: `ListClassCategoriesArgs`"}},"required":["args"],"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/walla/listPrivateSessions":{"post":{"operationId":"listPrivateSessions","summary":"Lists the private sessions (appointments) a studio offers — name, length, price, location and which instructors run them.","description":"Lists the private sessions (appointments) a studio offers — name, length, price, location and which instructors run them.\n\nCalls `bowmark.providers.walla.listPrivateSessions`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaPrivateSessionList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListPrivateSessionsArgs","description":"TypeScript: `ListPrivateSessionsArgs`"}},"required":["args"],"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/walla/getPrivateSessionAvailability":{"post":{"operationId":"getPrivateSessionAvailability","summary":"Returns the bookable dates, and the bookable start times on each, for one private session from listPrivateSessions — optionally narrowed to one instructor.","description":"Returns the bookable dates, and the bookable start times on each, for one private session from listPrivateSessions — optionally narrowed to one instructor. The per-entry shape is unmeasured (every studio tried has had zero open slots); dateCount tells apart an honestly empty answer from an unreached one.\n\nCalls `bowmark.providers.walla.getPrivateSessionAvailability`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaPrivateSessionAvailability>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetPrivateSessionAvailabilityArgs","description":"TypeScript: `GetPrivateSessionAvailabilityArgs`"}},"required":["args"],"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/walla/listWorkshops":{"post":{"operationId":"listWorkshops","summary":"Lists a studio's workshops, series and trainings (multi-session enrollments): name, dates, instructor, location, capacity, enrolled count and price tiers.","description":"Lists a studio's workshops, series and trainings (multi-session enrollments): name, dates, instructor, location, capacity, enrolled count and price tiers.\n\nCalls `bowmark.providers.walla.listWorkshops`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaWorkshopList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListWorkshopsArgs","description":"TypeScript: `ListWorkshopsArgs`"}},"required":["args"],"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/walla/listOnDemandVideos":{"post":{"operationId":"listOnDemandVideos","summary":"Lists a studio's on-demand video offerings (the widget's video-on-demand tab).","description":"Lists a studio's on-demand video offerings (the widget's video-on-demand tab). Record shape is unmeasured — no studio tried sells any; videoCount tells apart an honestly empty answer from an unreached one.\n\nCalls `bowmark.providers.walla.listOnDemandVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaOnDemandVideoList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListOnDemandVideosArgs","description":"TypeScript: `ListOnDemandVideosArgs`"}},"required":["args"],"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/walla/getMyProfile":{"post":{"operationId":"getMyProfile","summary":"Returns the signed-in client's own profile at a studio, passed through verbatim — name, email, phone, address, waiver and member status are the site's own fields.","description":"Returns the signed-in client's own profile at a studio, passed through verbatim — name, email, phone, address, waiver and member status are the site's own fields. Needs the caller's own Walla sign-in (authFunction); the exact field names are unmeasured, since no signed-in capture exists.\n\nCalls `bowmark.providers.walla.getMyProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaProfile>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetMyProfileArgs","description":"TypeScript: `GetMyProfileArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/listMyBookings":{"post":{"operationId":"listMyBookings","summary":"Lists the signed-in client's class bookings at a studio, passed through verbatim — the ids cancelBooking takes.","description":"Lists the signed-in client's class bookings at a studio, passed through verbatim — the ids cancelBooking takes. Needs the caller's own Walla sign-in (authFunction); the exact field names are unmeasured, since no signed-in capture exists.\n\nCalls `bowmark.providers.walla.listMyBookings`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaMyBookingList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListMyBookingsArgs","description":"TypeScript: `ListMyBookingsArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/listMyPasses":{"post":{"operationId":"listMyPasses","summary":"Lists the signed-in client's packs, memberships and credits at a studio, passed through verbatim.","description":"Lists the signed-in client's packs, memberships and credits at a studio, passed through verbatim. Needs the caller's own Walla sign-in (authFunction); the exact field names are unmeasured, since no signed-in capture exists.\n\nCalls `bowmark.providers.walla.listMyPasses`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaMyPassList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListMyPassesArgs","description":"TypeScript: `ListMyPassesArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/listMyPurchases":{"post":{"operationId":"listMyPurchases","summary":"Lists the signed-in client's purchase history at a studio (the site's transaction log), passed through verbatim.","description":"Lists the signed-in client's purchase history at a studio (the site's transaction log), passed through verbatim. Needs the caller's own Walla sign-in (authFunction); the exact field names are unmeasured, since no signed-in capture exists.\n\nCalls `bowmark.providers.walla.listMyPurchases`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaMyPurchaseList>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListMyPurchasesArgs","description":"TypeScript: `ListMyPurchasesArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/bookClass":{"post":{"operationId":"bookClass","summary":"Books the signed-in client into a class (in person or livestream) via the site's cart, spending whatever pass or credits the site applies automatically.","description":"Books the signed-in client into a class (in person or livestream) via the site's cart, spending whatever pass or credits the site applies automatically. Stops at the payment step: never completes a cart that needs a new card charge. Needs the caller's own Walla sign-in (authFunction); the signed-in success shape is unmeasured, since a paid booking is never completed to capture it.\n\nCalls `bowmark.providers.walla.bookClass`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaBooking>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/BookClassArgs","description":"TypeScript: `BookClassArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/joinWaitlist":{"post":{"operationId":"joinWaitlist","summary":"Puts the signed-in client on the waitlist for a full class — the same cart door as bookClass, with the waitlist spot action.","description":"Puts the signed-in client on the waitlist for a full class — the same cart door as bookClass, with the waitlist spot action. Needs the caller's own Walla sign-in (authFunction); the signed-in success shape is unmeasured.\n\nCalls `bowmark.providers.walla.joinWaitlist`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaBooking>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/JoinWaitlistArgs","description":"TypeScript: `JoinWaitlistArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/bookPrivateSession":{"post":{"operationId":"bookPrivateSession","summary":"Books the signed-in client into a private session with one instructor at a given start time, through the site's cart, optionally spending a pass they own.","description":"Books the signed-in client into a private session with one instructor at a given start time, through the site's cart, optionally spending a pass they own. Stops at the payment step: never attaches a card, so a session that needs a charge is refused by the site. Needs the caller's own Walla sign-in (authFunction); the signed-in success shape is unmeasured.\n\nCalls `bowmark.providers.walla.bookPrivateSession`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaBooking>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/BookPrivateSessionArgs","description":"TypeScript: `BookPrivateSessionArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/enrollWorkshop":{"post":{"operationId":"enrollWorkshop","summary":"Enrolls the signed-in client in a workshop, series or training through the site's cart.","description":"Enrolls the signed-in client in a workshop, series or training through the site's cart. Stops at the payment step: never attaches a card, so a paid workshop is refused by the site. Needs the caller's own Walla sign-in (authFunction); the signed-in success shape is unmeasured.\n\nCalls `bowmark.providers.walla.enrollWorkshop`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaBooking>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/EnrollWorkshopArgs","description":"TypeScript: `EnrollWorkshopArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/cancelBooking":{"post":{"operationId":"cancelBooking","summary":"Cancels one of the signed-in client's class bookings.","description":"Cancels one of the signed-in client's class bookings. When classInstanceId is given, checks the class's location for a late-cancellation fee policy and refuses unless acceptLateCancelFee is true; the site's own cancel door takes no such parameter, so without classInstanceId the cancel proceeds unchecked. Needs the caller's own Walla sign-in (authFunction); the signed-in success shape is unmeasured.\n\nCalls `bowmark.providers.walla.cancelBooking`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaCancelResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/CancelBookingArgs","description":"TypeScript: `CancelBookingArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/updateMyProfile":{"post":{"operationId":"updateMyProfile","summary":"Edits the signed-in client's own profile at a studio — name, phone, address — the way the widget's account screen does (PUT /client).","description":"Edits the signed-in client's own profile at a studio — name, phone, address — the way the widget's account screen does (PUT /client). Only the fields given are sent. Needs the caller's own Walla sign-in (authFunction); the signed-in success shape is unmeasured.\n\nCalls `bowmark.providers.walla.updateMyProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaProfile>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UpdateMyProfileArgs","description":"TypeScript: `UpdateMyProfileArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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/walla/requestMembershipCancellation":{"post":{"operationId":"requestMembershipCancellation","summary":"Sends the studio the signed-in client's request to cancel one of their memberships (a pass id from listMyPasses), with one of the widget's reasons.","description":"Sends the studio the signed-in client's request to cancel one of their memberships (a pass id from listMyPasses), with one of the widget's reasons. The studio decides; nothing is cancelled immediately, and only passes whose package allows it (listPricing's allowOnlineCancellationRequest) accept a request. Needs the caller's own Walla sign-in (authFunction).\n\nCalls `bowmark.providers.walla.requestMembershipCancellation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<WallaCancellationRequest>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/RequestMembershipCancellationArgs","description":"TypeScript: `RequestMembershipCancellationArgs`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"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}}},"BookClassArgs":{"type":"object","properties":{"studio":{"type":"string"},"classId":{"type":"number"},"spotType":{"anyOf":[{"const":"in_person"},{"const":"livestream"}]},"locationId":{"type":"number"}},"required":["studio","classId"],"additionalProperties":true},"BookPrivateSessionArgs":{"type":"object","properties":{"studio":{"type":"string"},"sessionId":{"type":"number"},"instructorId":{"type":"number"},"startTime":{"type":"string"},"spotType":{"anyOf":[{"const":"in_person"},{"const":"livestream"}]},"locationId":{"type":"number"},"passId":{"type":"number"}},"required":["studio","sessionId","instructorId","startTime"],"additionalProperties":true},"CancelBookingArgs":{"type":"object","properties":{"studio":{"type":"string"},"bookingId":{"type":"number"},"classInstanceId":{"type":"number"},"acceptLateCancelFee":{"type":"boolean"}},"required":["studio","bookingId"],"additionalProperties":true},"EnrollWorkshopArgs":{"type":"object","properties":{"studio":{"type":"string"},"workshopId":{"type":"number"},"priceId":{"type":"number"},"spotType":{"anyOf":[{"const":"in_person"},{"const":"livestream"}]},"locationId":{"type":"number"}},"required":["studio","workshopId"],"additionalProperties":true},"GetClassArgs":{"type":"object","properties":{"studio":{"type":"string"},"classId":{"type":"number"}},"required":["studio","classId"],"additionalProperties":true},"GetMyProfileArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"GetPrivateSessionAvailabilityArgs":{"type":"object","properties":{"studio":{"type":"string"},"sessionId":{"type":"number"},"instructorId":{"type":"number"},"fromDate":{"type":"string"}},"required":["studio","sessionId"],"additionalProperties":true},"JoinWaitlistArgs":{"type":"object","properties":{"studio":{"type":"string"},"classId":{"type":"number"},"spotType":{"anyOf":[{"const":"in_person"},{"const":"livestream"}]},"locationId":{"type":"number"}},"required":["studio","classId"],"additionalProperties":true},"ListClassCategoriesArgs":{"type":"object","properties":{"studio":{"type":"string"},"windowDays":{"type":"number"}},"required":["studio"],"additionalProperties":true},"ListClassesArgs":{"type":"object","properties":{"studio":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"locationIds":{"type":"array","items":{"type":"number"}},"instructorIds":{"type":"array","items":{"type":"number"}},"search":{"type":"string"}},"required":["studio","from"],"additionalProperties":true},"ListInstructorsArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListLocationsArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListMyBookingsArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListMyPassesArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListMyPurchasesArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListOnDemandVideosArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListPricingArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListPrivateSessionsArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListWorkshopsArgs":{"type":"object","properties":{"studio":{"type":"string"}},"required":["studio"],"additionalProperties":true},"RequestMembershipCancellationArgs":{"type":"object","properties":{"studio":{"type":"string"},"passId":{"type":"number"},"reason":{"anyOf":[{"const":"bad_experience"},{"const":"class_times_don't_work_for_my_schedule"},{"const":"classes_aren't_for_me"},{"const":"financial"},{"const":"injury"},{"const":"maternity_leave"},{"const":"membership_change"},{"const":"moving"},{"const":"other"},{"const":"vacation"}]},"reasonOther":{"type":"string"}},"required":["studio","passId","reason"],"additionalProperties":true},"UpdateMyProfileArgs":{"type":"object","properties":{"studio":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"phoneNumberType":{"type":"string"},"address":{"type":"object","properties":{"address1":{"type":"string"},"address2":{"type":"string"},"city":{"type":"string"},"province":{"type":"string"},"postalCode":{"type":"string"},"countryCode":{"type":"string"}},"required":["address1","city","province","postalCode","countryCode"],"additionalProperties":true}},"required":["studio"],"additionalProperties":true}}}}