{"openapi":"3.1.0","info":{"title":"SevenRooms API (Bowmark)","version":"186fdf3b86f9","description":"SevenRooms restaurant reservations (Catch, TAO, Nobu, Dishoom and thousands more): find a venue, its open tables by date and party size with deposit and card terms, experiences and add-ons, book, modify or cancel as a guest, submit a request or priority alert, and the signed-in guest's own reservations and profile.\n\nEvery function Bowmark has for SevenRooms (sevenrooms.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/sevenrooms/getVenue":{"post":{"operationId":"getVenue","summary":"Reads one SevenRooms venue from its slug or url: name, address, phone, website, timezone, currency, house policy, and whether it requires a signed-in SevenRooms account to book (bookReservationSignedI","description":"Reads one SevenRooms venue from its slug or url: name, address, phone, website, timezone, currency, house policy, and whether it requires a signed-in SevenRooms account to book (bookReservationSignedIn) rather than guest checkout. Carries `checkout`, a handoff URL (the venue's reservation page) the person opens to reserve themselves: Bowmark never books.\n\nCalls `bowmark.providers.sevenrooms.getVenue`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsVenue>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetVenueArgs","description":"TypeScript: `GetVenueArgs`"}},"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/sevenrooms/getAvailableDates":{"post":{"operationId":"getAvailableDates","summary":"Lists the dates a SevenRooms venue is taking online bookings over a window, so a caller can pick a date before asking for times.","description":"Lists the dates a SevenRooms venue is taking online bookings over a window, so a caller can pick a date before asking for times.\n\nCalls `bowmark.providers.sevenrooms.getAvailableDates`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<string[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetAvailableDatesArgs","description":"TypeScript: `GetAvailableDatesArgs`"}},"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/sevenrooms/getAvailability":{"post":{"operationId":"getAvailability","summary":"A SevenRooms venue's open reservation times for a date, party size and preferred time: per shift (lunch, dinner), each slot's time, duration, whether it needs a card, a deposit or prepayment, its cost","description":"A SevenRooms venue's open reservation times for a date, party size and preferred time: per shift (lunch, dinner), each slot's time, duration, whether it needs a card, a deposit or prepayment, its cost, minimum spend and cancellation policy. Empty means nothing is open that day.\n\nCalls `bowmark.providers.sevenrooms.getAvailability`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsAvailabilityDay[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetAvailabilityArgs","description":"TypeScript: `GetAvailabilityArgs`"}},"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/sevenrooms/getBookingTerms":{"post":{"operationId":"getBookingTerms","summary":"Reads the checkout terms of one open slot before booking it — by date and time, or the ids of a getAvailability slot: the policy text, whether a card is held or charged and how much, deposits, fees, g","description":"Reads the checkout terms of one open slot before booking it — by date and time, or the ids of a getAvailability slot: the policy text, whether a card is held or charged and how much, deposits, fees, gratuity and the cancellation window. Places a brief reservation hold to read the terms, then releases it immediately — never a real reservation.\n\nCalls `bowmark.providers.sevenrooms.getBookingTerms`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsBookingTerms>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetBookingTermsArgs","description":"TypeScript: `GetBookingTermsArgs`"}},"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/sevenrooms/listUpgrades":{"post":{"operationId":"listUpgrades","summary":"Lists a venue's bookable add-ons — champagne, a cake, a private-dining menu, a bottle — with their category and price.","description":"Lists a venue's bookable add-ons — champagne, a cake, a private-dining menu, a bottle — with their category and price. Empty means the venue publishes none.\n\nCalls `bowmark.providers.sevenrooms.listUpgrades`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsUpgrades>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetVenueArgs","description":"TypeScript: `GetVenueArgs`"}},"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/sevenrooms/listMyReservations":{"post":{"operationId":"listMyReservations","summary":"Lists the signed-in guest's own SevenRooms reservations across every venue, upcoming and past, newest first: venue, city, date and time, party size, status, a cancelled flag, and the manage and modify","description":"Lists the signed-in guest's own SevenRooms reservations across every venue, upcoming and past, newest first: venue, city, date and time, party size, status, a cancelled flag, and the manage and modify links. Needs the caller signed in to SevenRooms (through Bowmark Buddy, or a saved sign-in); empty when they have none.\n\nCalls `bowmark.providers.sevenrooms.listMyReservations`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsMyReservations>`.","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/sevenrooms/validatePromoCode":{"post":{"operationId":"validatePromoCode","summary":"Checks whether a promo code is valid at a venue for a date, time and party size before booking: the discount it would apply (VALID), or the site's own refusal reason (INVALID, e.g.","description":"Checks whether a promo code is valid at a venue for a date, time and party size before booking: the discount it would apply (VALID), or the site's own refusal reason (INVALID, e.g. a code that does not exist or has been exhausted). Applies nothing.\n\nCalls `bowmark.providers.sevenrooms.validatePromoCode`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsPromoValidation>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/ValidatePromoCodeArgs","description":"TypeScript: `ValidatePromoCodeArgs`"}},"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/sevenrooms/bookReservation":{"post":{"operationId":"bookReservation","summary":"Books an open slot (from getAvailability) as a guest with the caller's name, email and phone — holding the table, then confirming it — and returns the reservation id and its manage token.","description":"Books an open slot (from getAvailability) as a guest with the caller's name, email and phone — holding the table, then confirming it — and returns the reservation id and its manage token. A slot that holds or charges a card stops before payment and returns booked: false with the terms, never paying. A venue that only takes SevenRooms accounts is refused with a pointer to bookReservationSignedIn.\n\nCalls `bowmark.providers.sevenrooms.bookReservation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsBooking>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/BookReservationArgs","description":"TypeScript: `BookReservationArgs`"}},"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/sevenrooms/getReservation":{"post":{"operationId":"getReservation","summary":"Reads a reservation from its manage token (bookReservation's manageToken, or the guest's manage link): venue, date, time, party size, guest name and status, plus the site's whole answer in raw.","description":"Reads a reservation from its manage token (bookReservation's manageToken, or the guest's manage link): venue, date, time, party size, guest name and status, plus the site's whole answer in raw. Works for whoever holds the token; no sign-in.\n\nCalls `bowmark.providers.sevenrooms.getReservation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsReservation>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/GetReservationArgs","description":"TypeScript: `GetReservationArgs`"}},"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/sevenrooms/cancelReservation":{"post":{"operationId":"cancelReservation","summary":"Cancels a reservation from its manage token (bookReservation's manageToken, or the guest's manage link) and returns cancelled: true with the site's own answer.","description":"Cancels a reservation from its manage token (bookReservation's manageToken, or the guest's manage link) and returns cancelled: true with the site's own answer. Takes no card and pays nothing; a late-cancel fee is the venue's, charged to a card already on file.\n\nCalls `bowmark.providers.sevenrooms.cancelReservation`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SevenroomsCancellation>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/CancelReservationArgs","description":"TypeScript: `CancelReservationArgs`"}},"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}}},"BookReservationArgs":{"type":"object","properties":{"venue":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"accessPersistentId":{"type":"string"},"shiftPersistentId":{"type":"string"},"partySize":{"type":"number"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"phoneDialCode":{"type":"string"},"phoneCountryCode":{"type":"string"},"notes":{"type":"string"}},"required":["venue","date","time","accessPersistentId","shiftPersistentId","firstName","lastName","email","phone"],"additionalProperties":true},"CancelReservationArgs":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"],"additionalProperties":true},"GetAvailabilityArgs":{"type":"object","properties":{"venue":{"type":"string"},"date":{"type":"string"},"partySize":{"type":"number"},"time":{"type":"string"},"numDays":{"type":"number"}},"required":["venue","date"],"additionalProperties":true},"GetAvailableDatesArgs":{"type":"object","properties":{"venue":{"type":"string"},"startDate":{"type":"string"},"numDays":{"type":"number"}},"required":["venue"],"additionalProperties":true},"GetBookingTermsArgs":{"type":"object","properties":{"venue":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"accessPersistentId":{"type":"string"},"shiftPersistentId":{"type":"string"},"partySize":{"type":"number"}},"required":["venue","date"],"additionalProperties":true},"GetReservationArgs":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"],"additionalProperties":true},"GetVenueArgs":{"type":"object","properties":{"venue":{"type":"string"}},"required":["venue"],"additionalProperties":true},"ValidatePromoCodeArgs":{"type":"object","properties":{"venue":{"type":"string"},"promoCode":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"partySize":{"type":"number"}},"required":["venue","promoCode","date","time"],"additionalProperties":true}}}}