{"openapi":"3.1.0","info":{"title":"Uber Eats API (Bowmark)","version":"e833508f87ff","description":"Uber Eats' own address lookup, search suggestions, store/menu reads, menu item detail with customizations, in-store product search, the delivery-address home feed, delivery availability by address and finding the nearest location of a chain — the signed-in cart/order functions are still queued, see BUILD_QUEUE.md.\n\nEvery function Bowmark has for Uber Eats (ubereats.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/ubereats/search":{"post":{"operationId":"search","summary":"Runs Uber Eats' own search suggestions for a free-text query (a dish, cuisine or restaurant name) and returns the matching stores with uuid, slug, title, categories and photo.","description":"Runs Uber Eats' own search suggestions for a free-text query (a dish, cuisine or restaurant name) and returns the matching stores with uuid, slug, title, categories and photo. Scoped to whatever address the exit IP defaults to (see manifest reach notes); no rating, ETA or delivery fee — call getStore for those.\n\nCalls `bowmark.providers.ubereats.search`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsSearchResult[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UbereatsSearchArgs","description":"TypeScript: `UbereatsSearchArgs`"}},"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/ubereats/findAddress":{"post":{"operationId":"findAddress","summary":"Turns a free-text address into Uber Eats' own resolved delivery location — formatted address, coordinates and place id.","description":"Turns a free-text address into Uber Eats' own resolved delivery location — formatted address, coordinates and place id. Read-only; does not persist the address (see manifest reach notes).\n\nCalls `bowmark.providers.ubereats.findAddress`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsResolvedAddress>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UbereatsFindAddressArgs","description":"TypeScript: `UbereatsFindAddressArgs`"}},"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/ubereats/getStore":{"post":{"operationId":"getStore","summary":"Returns one Uber Eats restaurant or store by store URL or uuid: name, address, hours, rating, whether it is open, ETA text, and its full current menu with categories, items and prices in dollars.","description":"Returns one Uber Eats restaurant or store by store URL or uuid: name, address, hours, rating, whether it is open, ETA text, and its full current menu with categories, items and prices in dollars. Read-only.\n\nCalls `bowmark.providers.ubereats.getStore`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsStore>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"store":{"type":"string"}},"required":["store"],"additionalProperties":true,"description":"TypeScript: `{ store: 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/ubereats/browseStores":{"post":{"operationId":"browseStores","summary":"Lists the restaurants and stores Uber Eats delivers from to one address — the delivery-address home feed, deduplicated across its carousels — each with uuid, title, url, rating, ETA/delivery-fee badge","description":"Lists the restaurants and stores Uber Eats delivers from to one address — the delivery-address home feed, deduplicated across its carousels — each with uuid, title, url, rating, ETA/delivery-fee badges when the feed shows one, and whether it's orderable right now. Read-only; resolves the address the same way findAddress does.\n\nCalls `bowmark.providers.ubereats.browseStores`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsFeedStore[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UbereatsBrowseStoresArgs","description":"TypeScript: `UbereatsBrowseStoresArgs`"}},"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/ubereats/checkDeliveryAvailability":{"post":{"operationId":"checkDeliveryAvailability","summary":"Says whether one store will deliver to one address right now: isWithinDeliveryRange, whether it's open, the ETA range and the distance to that address.","description":"Says whether one store will deliver to one address right now: isWithinDeliveryRange, whether it's open, the ETA range and the distance to that address. Read-only.\n\nCalls `bowmark.providers.ubereats.checkDeliveryAvailability`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsDeliveryAvailability>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UbereatsCheckDeliveryAvailabilityArgs","description":"TypeScript: `UbereatsCheckDeliveryAvailabilityArgs`"}},"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/ubereats/findChainStore":{"post":{"operationId":"findChainStore","summary":"Finds the nearest location of a chain (e.g.","description":"Finds the nearest location of a chain (e.g. McDonald's, Chipotle) that delivers to an address — Uber Eats' own search suggestions, once scoped to that address, resolve a chain name to its single nearest branch (measured 2026-10-29: the dedicated getClosestChainStoreFeedV1 op answered 404 on every argument shape tried; this endpoint already serves the same answer). Read-only.\n\nCalls `bowmark.providers.ubereats.findChainStore`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsSearchResult[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UbereatsFindChainStoreArgs","description":"TypeScript: `UbereatsFindChainStoreArgs`"}},"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/ubereats/getMenuItem":{"post":{"operationId":"getMenuItem","summary":"Returns one menu item's full detail — description, price, photo and every customization group with its options and surcharges — from the (sectionUuid, subsectionUuid, itemUuid) a getStore() menu item ","description":"Returns one menu item's full detail — description, price, photo and every customization group with its options and surcharges — from the (sectionUuid, subsectionUuid, itemUuid) a getStore() menu item or a searchStoreProducts() row carries. Read-only.\n\nCalls `bowmark.providers.ubereats.getMenuItem`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsMenuItemDetail>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UbereatsGetMenuItemArgs","description":"TypeScript: `UbereatsGetMenuItemArgs`"}},"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/ubereats/searchStoreProducts":{"post":{"operationId":"searchStoreProducts","summary":"Searches one store's own catalog for a product name or brand (e.g.","description":"Searches one store's own catalog for a product name or brand (e.g. 'water', 'Tylenol') — the in-store search a grocery/retail store's search box runs — and returns matching items with uuid, title, price, photo and the ids getMenuItem needs. Read-only; resolves the address the same way findAddress does.\n\nCalls `bowmark.providers.ubereats.searchStoreProducts`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsStoreProduct[]>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UbereatsSearchStoreProductsArgs","description":"TypeScript: `UbereatsSearchStoreProductsArgs`"}},"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/ubereats/listOrders":{"post":{"operationId":"listOrders","summary":"The signed-in eater's own past Uber Eats orders, newest first — order id, when, the restaurant, status (a cancelled order says Cancelled), total, item count and the order's page.","description":"The signed-in eater's own past Uber Eats orders, newest first — order id, when, the restaurant, status (a cancelled order says Cancelled), total, item count and the order's page. Pages with `nextCursor`. Reads the site's own getPastOrdersV1 through the caller's own browser via Bowmark Buddy; with no sign-in the run pauses for one, never answers [].\n\nCalls `bowmark.providers.ubereats.listOrders`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SignedInOrderPage>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"limit":{"type":"number"},"cursor":{"type":"string"}},"additionalProperties":true,"description":"TypeScript: `{ limit?: number; cursor?: string }`"},"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/ubereats/getOrder":{"post":{"operationId":"getOrder","summary":"Returns one of the caller's own past or active Uber Eats orders in full, by its uuid (from listOrders() or listActiveOrders()).","description":"Returns one of the caller's own past or active Uber Eats orders in full, by its uuid (from listOrders() or listActiveOrders()). Reads the site's own getOrderEntityByUuidV1 through the caller's own browser via Bowmark Buddy; with no sign-in the run pauses for one.\n\nCalls `bowmark.providers.ubereats.getOrder`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SignedInOrder>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"orderId":{"type":"string"}},"required":["orderId"],"additionalProperties":true,"description":"TypeScript: `{ orderId: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/ubereats/listActiveOrders":{"post":{"operationId":"listActiveOrders","summary":"Lists the caller's own Uber Eats orders that are in progress right now.","description":"Lists the caller's own Uber Eats orders that are in progress right now. Reads the site's own getActiveOrdersV1 through the caller's own browser via Bowmark Buddy; with no sign-in the run pauses for one.\n\nCalls `bowmark.providers.ubereats.listActiveOrders`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<SignedInOrder[]>`.","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/ubereats/getCart":{"post":{"operationId":"getCart","summary":"Reads the caller's current Uber Eats cart(s) — store, item count and subtotal for each draft order.","description":"Reads the caller's current Uber Eats cart(s) — store, item count and subtotal for each draft order. Needs the caller's own Uber Eats sign-in (authFunctions); signedIn is UNMEASURED, see manifest.json.\n\nCalls `bowmark.providers.ubereats.getCart`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsCartOrder[]>`.","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/ubereats/getCheckoutTotal":{"post":{"operationId":"getCheckoutTotal","summary":"Reads the itemized total at the last screen before payment — each fare line (subtotal, delivery fee, service fee, taxes) and the total — for one of the caller's carts (draftOrderUuid from addToCart() ","description":"Reads the itemized total at the last screen before payment — each fare line (subtotal, delivery fee, service fee, taxes) and the total — for one of the caller's carts (draftOrderUuid from addToCart() or getCart()). Stops before payment. Needs the caller's own Uber Eats sign-in (authFunctions); signedIn is UNMEASURED, see manifest.json.\n\nCalls `bowmark.providers.ubereats.getCheckoutTotal`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsCheckoutTotal>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"draftOrderUuid":{"type":"string"}},"required":["draftOrderUuid"],"additionalProperties":true,"description":"TypeScript: `{ draftOrderUuid: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/ubereats/applyPromoCode":{"post":{"operationId":"applyPromoCode","summary":"Applies a promo code to the caller's Uber Eats account/cart and reports whether it was accepted, the site's message, and the discount when it names one.","description":"Applies a promo code to the caller's Uber Eats account/cart and reports whether it was accepted, the site's message, and the discount when it names one. Also returns `checkout`: Uber Eats' own cart page and which account to sign in to (Bowmark never pays; delivery fees and tip are set there). Needs the caller's own Uber Eats sign-in (authFunctions); signedIn is UNMEASURED, see manifest.json.\n\nCalls `bowmark.providers.ubereats.applyPromoCode`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsPromoResult>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"code":{"type":"string"},"draftOrderUuid":{"type":"string"}},"required":["code"],"additionalProperties":true,"description":"TypeScript: `{ code: string; draftOrderUuid?: string }`"},"opts":{"type":"object","properties":{"connection":{"type":"string"}},"required":["connection"],"additionalProperties":true,"description":"TypeScript: `ConnectionOption`"}},"required":["args"],"additionalProperties":false}}}},"responses":{"200":{"description":"The call ran. That includes a call that failed (`status: error`) or paused for a sign-in (`status: needs_user`), so branch on `status`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/RunEnvelope"},{"type":"object","properties":{"result":{}}}]}}}},"400":{"description":"The body was malformed. `error` says what to send.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"401":{"description":"No API key, or a key that was refused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"402":{"description":"The account is out of free usage, at its spend cap, or its card was declined. Fix billing at https://bowmark.ai/dashboard/billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"404":{"$ref":"#/components/responses/NotFound"},"429":{"description":"Too many runs in flight on this account. Nothing was started or charged.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}},"headers":{"Retry-After":{"schema":{"type":"integer"},"description":"Seconds to wait."}}},"503":{"description":"A failure on Bowmark's side. Retry.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}}}}},"/v1/sites/ubereats/getMyAccount":{"post":{"operationId":"getMyAccount","summary":"Returns the caller's Uber Eats profile — name, email, phone.","description":"Returns the caller's Uber Eats profile — name, email, phone. Needs the caller's own Uber Eats sign-in (authFunctions); signedIn is UNMEASURED, see manifest.json.\n\nCalls `bowmark.providers.ubereats.getMyAccount`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsAccount>`.","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/ubereats/listMyAddresses":{"post":{"operationId":"listMyAddresses","summary":"Lists the delivery addresses saved on the caller's Uber Eats account.","description":"Lists the delivery addresses saved on the caller's Uber Eats account. Reads the site's own getDeliveryLocationsV2 through the caller's own browser via Bowmark Buddy; with no sign-in the run pauses for one. signedIn is UNMEASURED, see manifest.json.\n\nCalls `bowmark.providers.ubereats.listMyAddresses`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsSavedAddress[]>`.","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/ubereats/addToCart":{"post":{"operationId":"addToCart","summary":"Adds one menu item (from getStore()'s menu or getMenuItem()) to a NEW Uber Eats cart for that store, with quantity and chosen customization options, and returns the cart item reference updateCartItem/","description":"Adds one menu item (from getStore()'s menu or getMenuItem()) to a NEW Uber Eats cart for that store, with quantity and chosen customization options, and returns the cart item reference updateCartItem/removeFromCart/clearCart take back. Anonymous — Uber Eats' own guest cart, no sign-in needed (measured 2026-11-02); sign-in is only needed to place the order. Pass { address } so the cart has a delivery location; without it, Uber Eats refuses the cart unless an earlier call in the same run (checkDeliveryAvailability, browseStores, findChainStore, searchStoreProducts) already set one. Also returns `checkout`: the store page the items came from plus the items to add again (a guest cart no link can open; delivery fee and tip are set at Uber Eats' own checkout), or a refusal when `store` was not a store URL.\n\nCalls `bowmark.providers.ubereats.addToCart`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsCartItemRef & { checkout: UbereatsCheckoutHandoff }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"$ref":"#/components/schemas/UbereatsAddToCartArgs","description":"TypeScript: `UbereatsAddToCartArgs`"}},"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/ubereats/updateCartItem":{"post":{"operationId":"updateCartItem","summary":"Changes the quantity of one cart item — pass the exact object addToCart() returned, with a new quantity (at least 1; use removeFromCart to take it out entirely).","description":"Changes the quantity of one cart item — pass the exact object addToCart() returned, with a new quantity (at least 1; use removeFromCart to take it out entirely). Anonymous, same as addToCart (measured 2026-11-02). Also returns `checkout`, the same store-page handoff for the updated item (pass `store` when addToCart's storeUrl was null).\n\nCalls `bowmark.providers.ubereats.updateCartItem`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<UbereatsCartItemRef & { checkout: UbereatsCheckoutHandoff }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"item":{"$ref":"#/components/schemas/UbereatsCartItemRef"},"quantity":{"type":"number"},"store":{"type":"string"}},"required":["item","quantity"],"additionalProperties":true,"description":"TypeScript: `{ item: UbereatsCartItemRef; quantity: number; store?: 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/ubereats/removeFromCart":{"post":{"operationId":"removeFromCart","summary":"Removes one or more items from a cart by their shoppingCartItemUuid — all three ids come off addToCart()'s own return.","description":"Removes one or more items from a cart by their shoppingCartItemUuid — all three ids come off addToCart()'s own return. Anonymous, same as addToCart (measured 2026-11-02). Also returns `checkout`: the store-page handoff listing what is left when `remaining` is passed, otherwise a refusal saying the remaining items are unknown.\n\nCalls `bowmark.providers.ubereats.removeFromCart`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ draftOrderUuid: string; checkout: UbereatsCheckoutHandoff }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"draftOrderUuid":{"type":"string"},"cartUuid":{"type":"string"},"shoppingCartItemUuids":{"type":"array","items":{"type":"string"}},"store":{"type":"string"},"remaining":{"type":"array","items":{"$ref":"#/components/schemas/UbereatsCartItemRef"}}},"required":["draftOrderUuid","cartUuid","shoppingCartItemUuids"],"additionalProperties":true,"description":"TypeScript: `{ draftOrderUuid: string; cartUuid: string; shoppingCartItemUuids: string[]; store?: string; remaining?: UbereatsCartItemRef[] }`"}},"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/ubereats/clearCart":{"post":{"operationId":"clearCart","summary":"Empties a cart by removing every item passed in shoppingCartItemUuids — Uber Eats has no dedicated 'clear cart' endpoint (measured 2026-11-02: clearDraftOrderV2/discardDraftOrderV2/cancelDraftOrderV2/","description":"Empties a cart by removing every item passed in shoppingCartItemUuids — Uber Eats has no dedicated 'clear cart' endpoint (measured 2026-11-02: clearDraftOrderV2/discardDraftOrderV2/cancelDraftOrderV2/deleteDraftOrderV2/emptyCartV2 all answer ERR_MISSING_HANDLER), so the caller passes every item id to remove at once. Anonymous, same as addToCart (measured 2026-11-02). Also returns `checkout`: a refusal saying the cart is empty.\n\nCalls `bowmark.providers.ubereats.clearCart`. The body is the function's arguments, keyed by parameter name. `result` in the response is what it returns: `Promise<{ draftOrderUuid: string; checkout: UbereatsCheckoutHandoff }>`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"args":{"type":"object","properties":{"draftOrderUuid":{"type":"string"},"cartUuid":{"type":"string"},"shoppingCartItemUuids":{"type":"array","items":{"type":"string"}},"store":{"type":"string"}},"required":["draftOrderUuid","cartUuid","shoppingCartItemUuids"],"additionalProperties":true,"description":"TypeScript: `{ draftOrderUuid: string; cartUuid: string; shoppingCartItemUuids: string[]; store?: 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"}}}}}}}},"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}}},"UbereatsAddToCartArgs":{"type":"object","properties":{"store":{"type":"string"},"sectionUuid":{"type":"string"},"subsectionUuid":{"type":"string"},"itemUuid":{"type":"string"},"quantity":{"type":"number"},"customizations":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"address":{"type":"string"}},"required":["store","sectionUuid","subsectionUuid","itemUuid"],"additionalProperties":true},"UbereatsBrowseStoresArgs":{"type":"object","properties":{"address":{"type":"string"},"diningMode":{"anyOf":[{"const":"DELIVERY"},{"const":"PICKUP"}]}},"required":["address"],"additionalProperties":true},"UbereatsCartItemRef":{"type":"object","properties":{"draftOrderUuid":{"type":"string"},"cartUuid":{"type":"string"},"shoppingCartItemUuid":{"type":"string"},"storeUuid":{"type":"string"},"sectionUuid":{"type":"string"},"subsectionUuid":{"type":"string"},"uuid":{"type":"string"},"title":{"type":"string"},"price":{"type":"number"},"quantity":{"type":"number"},"imageURL":{"type":"string"},"specialInstructions":{"type":"string"},"customizations":{"type":"object","additionalProperties":{"type":"array","items":{}}},"storeUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"checkout":{"$ref":"#/components/schemas/UbereatsCheckoutHandoff"}},"required":["draftOrderUuid","cartUuid","shoppingCartItemUuid","storeUuid","sectionUuid","subsectionUuid","uuid","title","price","quantity","imageURL","specialInstructions","customizations"],"additionalProperties":true},"UbereatsCheckDeliveryAvailabilityArgs":{"type":"object","properties":{"store":{"type":"string"},"address":{"type":"string"}},"required":["store","address"],"additionalProperties":true},"UbereatsCheckoutAccount":{"type":"object","properties":{"site":{"type":"string"},"hint":{"type":"string"},"signedInAs":{"type":"string"},"signInUrl":{"type":"string"}},"required":["site","hint"],"additionalProperties":true},"UbereatsCheckoutHandoff":{"type":"object","properties":{"status":{"anyOf":[{"const":"ready_to_checkout"},{"const":"needs_login"},{"const":"unavailable"}]},"url":{"type":"string"},"urlKind":{"anyOf":[{"const":"carries_items"},{"const":"signed_in_cart"},{"const":"product_page"}]},"account":{"$ref":"#/components/schemas/UbereatsCheckoutAccount"},"summary":{"anyOf":[{"$ref":"#/components/schemas/UbereatsCheckoutSummary"},{"type":"null"}]},"reason":{"type":"string"},"detail":{"type":"string"},"expiresAt":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"}}},"required":["status","url","account","summary","warnings"],"additionalProperties":true},"UbereatsCheckoutItem":{"type":"object","properties":{"title":{"type":"string"},"variant":{"anyOf":[{"type":"string"},{"type":"null"}]},"quantity":{"type":"number"},"unitPrice":{"anyOf":[{"type":"string"},{"type":"null"}]},"lineTotal":{"anyOf":[{"type":"string"},{"type":"null"}]},"url":{"type":"string"},"id":{"type":"string"}},"required":["title","variant","quantity","unitPrice","lineTotal"],"additionalProperties":true},"UbereatsCheckoutSummary":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/UbereatsCheckoutItem"}},"total":{"anyOf":[{"type":"string"},{"type":"null"}]},"currency":{"type":"string"}},"required":["items","total","currency"],"additionalProperties":true},"UbereatsFindAddressArgs":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":true},"UbereatsFindChainStoreArgs":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"}},"required":["chain","address"],"additionalProperties":true},"UbereatsGetMenuItemArgs":{"type":"object","properties":{"store":{"type":"string"},"sectionUuid":{"type":"string"},"subsectionUuid":{"type":"string"},"itemUuid":{"type":"string"}},"required":["store","sectionUuid","subsectionUuid","itemUuid"],"additionalProperties":true},"UbereatsSearchArgs":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"],"additionalProperties":true},"UbereatsSearchStoreProductsArgs":{"type":"object","properties":{"store":{"type":"string"},"query":{"type":"string"},"address":{"type":"string"}},"required":["store","query","address"],"additionalProperties":true}}}}