{"openapi":"3.1.0","info":{"title":"Molzait (BYOK) API","version":"0.1.0","description":"Molzait (BYOK) lets an AI assistant read your own Molzait data through the Molzait API with a key you supply (Molzait API key (issued on request by Molzait)). Read-only: 9 tools (get_restaurant, list_experiences, get_availability_slots, list_reservations, get_reservation, list_reservation_receipts, list_floor_plans, list_labels, list_guests). The BYOK key travels with each request, is used for...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-molzait.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-molzait/docs"},"termsOfService":"https://connectorbay.com/byok-molzait/terms"},"servers":[{"url":"https://byok-molzait.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-molzait/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_restaurant":{"post":{"operationId":"get_restaurant","summary":"Get the restaurant behind the API key: name, phone, email, time zone and description. Use for \"Which restaurant is my Mo","description":"Get the restaurant behind the API key: name, phone, email, time zone and description. Use for \"Which restaurant is my Molzait key for\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_restaurantArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_experiences":{"post":{"operationId":"list_experiences","summary":"List the dining experiences the restaurant offers (for example Dinner, Lunch, Private event) with name, party size range","description":"List the dining experiences the restaurant offers (for example Dinner, Lunch, Private event) with name, party size range and whether it is the default. Use for \"What experiences can guests book at my Molzait restaurant\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_experiencesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_availability_slots":{"post":{"operationId":"get_availability_slots","summary":"List the time slots of an experience on a day for a party size, with open spots, seated and starting limits and the reas","description":"List the time slots of an experience on a day for a party size, with open spots, seated and starting limits and the reasons a slot is not bookable. A slot is bookable when exclusionReasons is empty. Use for \"Is there a table for 2 on 2027-06-10 in my Molzait restaurant\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"experience_id":{"description":"Id of the experience (from list_experiences).","maxLength":60,"title":"Experience Id","type":"string"},"day":{"description":"Day to check, as YYYY-MM-DD.","maxLength":10,"title":"Day","type":"string"},"attendees":{"description":"Party size.","maximum":50,"minimum":1,"title":"Attendees","type":"integer"}},"required":["experience_id","day","attendees"],"title":"get_availability_slotsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_reservations":{"post":{"operationId":"list_reservations","summary":"List reservations in a date range with time, party size, status, source, tables and labels, without guest contact detail","description":"List reservations in a date range with time, party size, status, source, tables and labels, without guest contact details or notes. Use for \"What reservations do I have next week in Molzait\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"from_date":{"description":"First day, as YYYY-MM-DD (use together with to_date).","maxLength":10,"title":"From Date","type":"string"},"to_date":{"description":"Last day, as YYYY-MM-DD.","maxLength":10,"title":"To Date","type":"string"},"status":{"anyOf":[{"enum":["requested","unconfirmed","payment_pending","booked","left_message","wrong_number","no_answer","reconfirmed","arrived","partially_arrived","seated","ordered","paid","declined","finished","cancelled","no_show","voided"],"type":"string"},{"type":"null"}],"default":null,"description":"Only reservations with this status.","title":"Status"},"include_walk_ins":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True to include walk-in guests.","title":"Include Walk Ins"}},"required":["from_date","to_date"],"title":"list_reservationsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_reservation":{"post":{"operationId":"get_reservation","summary":"Get one reservation with time, party size, status, source, tables and labels, without guest contact details or notes. Us","description":"Get one reservation with time, party size, status, source, tables and labels, without guest contact details or notes. Use for \"Show Molzait reservation 4a4ccb52c0bc-4be3-96cd-32accbb3e3d0\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"reservation_id":{"description":"Id of the reservation (the id field from list_reservations).","maxLength":60,"title":"Reservation Id","type":"string"}},"required":["reservation_id"],"title":"get_reservationArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_reservation_receipts":{"post":{"operationId":"list_reservation_receipts","summary":"List the receipts of a reservation with the products ordered, prices, quantities, waiters, table and time. Use for \"What","description":"List the receipts of a reservation with the products ordered, prices, quantities, waiters, table and time. Use for \"What did the Molzait reservation 4a4ccb52c0bc order\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"reservation_id":{"description":"Id of the reservation (the id field from list_reservations).","maxLength":60,"title":"Reservation Id","type":"string"}},"required":["reservation_id"],"title":"list_reservation_receiptsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_floor_plans":{"post":{"operationId":"list_floor_plans","summary":"List the floor plans with their tables: names, party size range, whether they are reservable and their category ids. Use","description":"List the floor plans with their tables: names, party size range, whether they are reservable and their category ids. Use for \"What floor plans and tables does my Molzait restaurant have\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_floor_plansArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_labels":{"post":{"operationId":"list_labels","summary":"List the labels used to tag reservations and guests, with name, icon, color and kind. Use for \"Which labels do I use in ","description":"List the labels used to tag reservations and guests, with name, icon, color and kind. Use for \"Which labels do I use in Molzait\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_labelsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_guests":{"post":{"operationId":"list_guests","summary":"Search the guest book by name, company, label or locale and get id, first and last name, company and locale, without ema","description":"Search the guest book by name, company, label or locale and get id, first and last name, company and locale, without email, phone or notes. Up to 100 per page. Use for \"Find the Molzait guest named Doe\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Text matched against names, email, phone, company and notes.","title":"Search"},"company":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only guests of this company.","title":"Company"},"locale":{"anyOf":[{"enum":["en","de","it"],"type":"string"},{"type":"null"}],"default":null,"description":"Only guests with this locale.","title":"Locale"},"sort_by":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Sort field and direction, for example lastName:asc or totalVisits:desc.","title":"Sort By"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many guests to return (1 to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_guestsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}