{"openapi":"3.1.0","info":{"title":"CorePower Yoga API (Bowmark)","version":"186fdf3b86f9","description":"Lists studio schedules, books classes, and reads booking details for CorePower Yoga.\n\nEvery function Bowmark has for CorePower Yoga (corepoweryoga.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/corepoweryoga/listStudios":{"post":{"operationId":"listStudios","summary":"Lists every CorePower Yoga studio: id (the Zenoti center GUID every schedule/booking function takes), name, slug, address, phone, coordinates, open/closed status and open date.","description":"Lists every CorePower Yoga studio: id (the Zenoti center GUID every schedule/booking function takes), name, slug, address, phone, coordinates, open/closed status and open date. Excludes studios the site lists as closed unless { includeClosed: true } is passed. Reads the site's own public Contentful studio directory, so this is also the door every other function's studio argument comes from.\n\nCalls `bowmark.providers.corepoweryoga.listStudios`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaStudio[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListStudiosArgs","description":"TypeScript: `ListStudiosArgs`"}},"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/corepoweryoga/getStudio":{"post":{"operationId":"getStudio","summary":"Gets one studio's full detail page content — amenities (e.g.","description":"Gets one studio's full detail page content — amenities (e.g. heated rooms, mat/towel rentals), contact info (email, phone, Instagram/Twitter/Google review links), the studio manager's name and email, and the site's own 'about this studio', parking and how-to-find-us blurbs. Takes either the Zenoti center GUID or the slug that listStudios returns. Throws if the site has no such studio.\n\nCalls `bowmark.providers.corepoweryoga.getStudio`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaStudioDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"studio":{"type":"string","description":"TypeScript: `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/corepoweryoga/getSchedule":{"post":{"operationId":"getSchedule","summary":"Gets one studio's class sessions on one date: class name, start/end time, instructor, room, price, capacity, available slots, waitlist count and whether the session can currently be booked.","description":"Gets one studio's class sessions on one date: class name, start/end time, instructor, room, price, capacity, available slots, waitlist count and whether the session can currently be booked. No login needed — the site's own schedule page reads this logged out, future dates included. Takes the Zenoti center GUID listStudios() returns as `id`.\n\nCalls `bowmark.providers.corepoweryoga.getSchedule`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaSession[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetScheduleArgs","description":"TypeScript: `GetScheduleArgs`"}},"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/corepoweryoga/listSchedules":{"post":{"operationId":"listSchedules","summary":"Lists one studio's class sessions across a date range — the same per-session detail getSchedule returns, for every date from startDate through endDate inclusive.","description":"Lists one studio's class sessions across a date range — the same per-session detail getSchedule returns, for every date from startDate through endDate inclusive. No login needed. Takes the Zenoti center GUID listStudios() returns as `id`; each call is scoped to one studio, since the site's own schedule endpoint takes one center at a time.\n\nCalls `bowmark.providers.corepoweryoga.listSchedules`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaSession[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListSchedulesArgs","description":"TypeScript: `ListSchedulesArgs`"}},"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/corepoweryoga/listClasses":{"post":{"operationId":"listClasses","summary":"Lists every CorePower Yoga class type (e.g.","description":"Lists every CorePower Yoga class type (e.g. CorePower Yoga 2, Yoga Sculpt, Hot Power Fusion, Yoga Nidra) in the site's own display order: name, short code, tagline, one-line description, intensity and heat level, focus areas, and the Zenoti class ids each type covers — so a schedule session's class can be matched back to its description. No login needed.\n\nCalls `bowmark.providers.corepoweryoga.listClasses`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaClass[]>`.","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/corepoweryoga/getClass":{"post":{"operationId":"getClass","summary":"Gets one class type's full description — everything listClasses returns plus the site's own overview, what to expect, what to bring, best practices and studio environment copy.","description":"Gets one class type's full description — everything listClasses returns plus the site's own overview, what to expect, what to bring, best practices and studio environment copy. Takes the `id` or `name` a listClasses() row returns, its short code (e.g. \"YS\"), or a Zenoti class id. Throws if no class type matches.\n\nCalls `bowmark.providers.corepoweryoga.getClass`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaClassDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cls":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"TypeScript: `string | number`"}},"required":["cls"],"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/corepoweryoga/listMembershipPrices":{"post":{"operationId":"listMembershipPrices","summary":"Lists CorePower Yoga's membership plans with prices (All Access, 6- and 12-month All Access, At Home, Studio Pass, intro offers) — name, the site's own description, USD price outside New York and at N","description":"Lists CorePower Yoga's membership plans with prices (All Access, 6- and 12-month All Access, At Home, Studio Pass, intro offers) — name, the site's own description, USD price outside New York and at New York studios. The monthly All Access price differs by market, so pass { studio } (the id or slug listStudios returns) to also get that studio's market price: full monthly All Access, intro-month price and its promo code, and the founding-member discount. No login needed.\n\nCalls `bowmark.providers.corepoweryoga.listMembershipPrices`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ plans: CorePowerYogaPrice[]; studio: CorePowerYogaStudioPricing | null }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"studio":{"type":"string"}},"additionalProperties":true,"description":"TypeScript: `{ studio?: string }`"}},"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/corepoweryoga/listClassPackPrices":{"post":{"operationId":"listClassPackPrices","summary":"Lists CorePower Yoga's class packs with prices — single class, 3/5/10/20/30/50-class studio packs and live (virtual) class packs: name, the site's own description, USD price outside New York and at Ne","description":"Lists CorePower Yoga's class packs with prices — single class, 3/5/10/20/30/50-class studio packs and live (virtual) class packs: name, the site's own description, USD price outside New York and at New York studios. A null price is a promo-only pack the site sells at no listed price. No login needed. The site publishes no expiry period alongside them.\n\nCalls `bowmark.providers.corepoweryoga.listClassPackPrices`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaPrice[]>`.","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/corepoweryoga/listTeachers":{"post":{"operationId":"listTeachers","summary":"Lists the teachers leading classes at one CorePower Yoga studio over a date range (default: the next seven days) — name, Zenoti instructor id, how many sessions they teach, which class types, and thei","description":"Lists the teachers leading classes at one CorePower Yoga studio over a date range (default: the next seven days) — name, Zenoti instructor id, how many sessions they teach, which class types, and their next session time. No login needed. Read off the studio's own public schedule, so a teacher with nothing scheduled in the range is not listed; the site publishes no teacher bios.\n\nCalls `bowmark.providers.corepoweryoga.listTeachers`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaTeacher[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListTeachersArgs","description":"TypeScript: `ListTeachersArgs`"}},"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/corepoweryoga/getTeacher":{"post":{"operationId":"getTeacher","summary":"Gets one teacher at a studio — everything listTeachers returns plus every session they lead in the date range (default: the next seven days), with time, room, spots left and whether it can be booked.","description":"Gets one teacher at a studio — everything listTeachers returns plus every session they lead in the date range (default: the next seven days), with time, room, spots left and whether it can be booked. Takes the instructor `id` or `name` a listTeachers() row returns (case-insensitive). No login needed. Throws if the teacher has no session at that studio in the range.\n\nCalls `bowmark.providers.corepoweryoga.getTeacher`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaTeacherDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"studio":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"teacher":{"type":"string"}},"required":["studio","teacher"],"additionalProperties":true,"description":"TypeScript: `ListTeachersArgs & { teacher: string }`"}},"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/corepoweryoga/listWorkshops":{"post":{"operationId":"listWorkshops","summary":"Lists special workshops and events scheduled at one studio over a date range (default: the next 30 days) — title, type (\"Workshop\" or \"Member Appreciation Workshop\"), start/end time, instructor, room,","description":"Lists special workshops and events scheduled at one studio over a date range (default: the next 30 days) — title, type (\"Workshop\" or \"Member Appreciation Workshop\"), start/end time, instructor, room, price, capacity and available slots. Read off the same public schedule as getSchedule/listSchedules, filtered to the site's own workshop class types, so the result is empty whenever the studio has none scheduled in the range — the site runs these irregularly, not every week. No login needed.\n\nCalls `bowmark.providers.corepoweryoga.listWorkshops`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaWorkshop[]>`.","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/corepoweryoga/getWorkshop":{"post":{"operationId":"getWorkshop","summary":"Gets one scheduled workshop at a studio — everything listWorkshops returns for it.","description":"Gets one scheduled workshop at a studio — everything listWorkshops returns for it. Takes the `id` a listWorkshops() row returns, or a case-insensitive substring of its `title`. No login needed. Throws if no workshop in the date range (default: the next 30 days) matches.\n\nCalls `bowmark.providers.corepoweryoga.getWorkshop`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaWorkshop>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"studio":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"},"workshop":{"type":"string"}},"required":["studio","workshop"],"additionalProperties":true,"description":"TypeScript: `ListWorkshopsArgs & { workshop: string }`"}},"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/corepoweryoga/listOnDemandVideos":{"post":{"operationId":"listOnDemandVideos","summary":"Lists CorePower Yoga's On Demand video library (500+ pre-recorded classes, hosted on Vimeo OTT) — title, instructor (parsed from the title), duration, thumbnail, whether it's free, and publishing stat","description":"Lists CorePower Yoga's On Demand video library (500+ pre-recorded classes, hosted on Vimeo OTT) — title, instructor (parsed from the title), duration, thumbnail, whether it's free, and publishing status. Pass { classType } (a listClasses() class type's id, name, short code or Zenoti class id) to scope it to that type's own library; omit it to page across the whole site's library instead. No login needed.\n\nCalls `bowmark.providers.corepoweryoga.listOnDemandVideos`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaOnDemandVideo[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListOnDemandVideosArgs","description":"TypeScript: `ListOnDemandVideosArgs`"}},"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/corepoweryoga/getOnDemandVideo":{"post":{"operationId":"getOnDemandVideo","summary":"Gets one On Demand video's full detail — everything listOnDemandVideos returns for it plus its description.","description":"Gets one On Demand video's full detail — everything listOnDemandVideos returns for it plus its description. Takes the numeric `id` a listOnDemandVideos() row returns. No login needed. Throws if the site has no such video.\n\nCalls `bowmark.providers.corepoweryoga.getOnDemandVideo`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaOnDemandVideoDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"video":{"anyOf":[{"type":"number"},{"type":"string"}],"description":"TypeScript: `number | string`"}},"required":["video"],"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/corepoweryoga/listChallenges":{"post":{"operationId":"listChallenges","summary":"Lists CorePower Yoga's class-count challenges (e.g.","description":"Lists CorePower Yoga's class-count challenges (e.g. \"Summer Glow Challenge\") — admin and display title, subtitle copy, start/end date, metric type (\"single\" or \"multi\"), and the metric(s) tracked (e.g. \"Classes\"). Excludes challenges that have already ended unless { includePast: true } is passed. The site keeps a challenge's numeric goal (e.g. \"take 10 classes\") only as prose in the subtitle/description, not a structured field. No login needed.\n\nCalls `bowmark.providers.corepoweryoga.listChallenges`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaChallenge[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ListChallengesArgs","description":"TypeScript: `ListChallengesArgs`"}},"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/corepoweryoga/getChallenge":{"post":{"operationId":"getChallenge","summary":"Gets one challenge's full detail — everything listChallenges returns for it plus its description, sign-up copy and success-page copy.","description":"Gets one challenge's full detail — everything listChallenges returns for it plus its description, sign-up copy and success-page copy. Takes the `id` a listChallenges() row returns, or a case-insensitive substring of its `title` or `adminTitle`. No login needed. Throws if no challenge matches.\n\nCalls `bowmark.providers.corepoweryoga.getChallenge`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaChallengeDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"challenge":{"type":"string","description":"TypeScript: `string`"}},"required":["challenge"],"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/corepoweryoga/getProfile":{"post":{"operationId":"getProfile","summary":"Gets the signed-in caller's profile — user id, email, first/last name and phone.","description":"Gets the signed-in caller's profile — user id, email, first/last name and phone. Requires a caller session (the site's own sign-in); the signed-in response shape has never been observed, so every field is read defensively.\n\nCalls `bowmark.providers.corepoweryoga.getProfile`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaProfile>`.","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/corepoweryoga/listMyBookings":{"post":{"operationId":"listMyBookings","summary":"Lists the signed-in caller's class reservations — reservation id, session id, status, check-in time and cancelled time.","description":"Lists the signed-in caller's class reservations — reservation id, session id, status, check-in time and cancelled time. Requires a caller session. The signed-in response shape has never been observed, so every field is read defensively and the list is empty rather than thrown if the site's shape differs from expected.\n\nCalls `bowmark.providers.corepoweryoga.listMyBookings`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaBooking[]>`.","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/corepoweryoga/listMyVisits":{"post":{"operationId":"listMyVisits","summary":"Lists the signed-in caller's past class visits — visit id, session id, class name, start time and status.","description":"Lists the signed-in caller's past class visits — visit id, session id, class name, start time and status. Requires a caller session. The signed-in response shape has never been observed, so every field is read defensively and the list is empty rather than thrown if the site's shape differs.\n\nCalls `bowmark.providers.corepoweryoga.listMyVisits`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaVisit[]>`.","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/corepoweryoga/listMyMemberships":{"post":{"operationId":"listMyMemberships","summary":"Lists the signed-in caller's memberships — membership id, name, status, start and end date.","description":"Lists the signed-in caller's memberships — membership id, name, status, start and end date. Requires a caller session. The signed-in response shape has never been observed, so every field is read defensively and the list is empty rather than thrown if the site's shape differs.\n\nCalls `bowmark.providers.corepoweryoga.listMyMemberships`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaMembership[]>`.","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/corepoweryoga/listMyClassPacks":{"post":{"operationId":"listMyClassPacks","summary":"Lists the signed-in caller's class packs — pack id, name, status and expiry.","description":"Lists the signed-in caller's class packs — pack id, name, status and expiry. Requires a caller session. The signed-in response shape has never been observed, so every field is read defensively and the list is empty rather than thrown if the site's shape differs.\n\nCalls `bowmark.providers.corepoweryoga.listMyClassPacks`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaClassPack[]>`.","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/corepoweryoga/getMembership":{"post":{"operationId":"getMembership","summary":"Gets one of the signed-in caller's memberships by the `id` a listMyMemberships() row returns.","description":"Gets one of the signed-in caller's memberships by the `id` a listMyMemberships() row returns. Requires a caller session. The signed-in detail shape has never been observed, so every field is read defensively; throws if no membership matches.\n\nCalls `bowmark.providers.corepoweryoga.getMembership`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaMembership>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"TypeScript: `string`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["id"],"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/corepoweryoga/getClassPack":{"post":{"operationId":"getClassPack","summary":"Gets one of the signed-in caller's class packs by the `id` a listMyClassPacks() row returns.","description":"Gets one of the signed-in caller's class packs by the `id` a listMyClassPacks() row returns. Requires a caller session. The signed-in detail shape has never been observed, so every field is read defensively; throws if no class pack matches.\n\nCalls `bowmark.providers.corepoweryoga.getClassPack`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<CorePowerYogaClassPack>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"TypeScript: `string`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["id"],"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}}},"GetScheduleArgs":{"type":"object","properties":{"studio":{"type":"string"},"date":{"type":"string"}},"required":["studio","date"],"additionalProperties":true},"ListChallengesArgs":{"type":"object","properties":{"includePast":{"type":"boolean"}},"additionalProperties":true},"ListOnDemandVideosArgs":{"type":"object","properties":{"classType":{"anyOf":[{"type":"string"},{"type":"number"}]},"page":{"type":"number"},"pageSize":{"type":"number"}},"additionalProperties":true},"ListSchedulesArgs":{"type":"object","properties":{"studio":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"}},"required":["studio","startDate","endDate"],"additionalProperties":true},"ListStudiosArgs":{"type":"object","properties":{"includeClosed":{"type":"boolean"}},"additionalProperties":true},"ListTeachersArgs":{"type":"object","properties":{"studio":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"}},"required":["studio"],"additionalProperties":true},"ListWorkshopsArgs":{"type":"object","properties":{"studio":{"type":"string"},"startDate":{"type":"string"},"endDate":{"type":"string"}},"required":["studio"],"additionalProperties":true}}}}