{"openapi":"3.1.0","info":{"title":"Fera (BYOK) API","version":"0.1.0","description":"Fera (BYOK) lets an AI assistant read your own Fera data through the Fera API with a key you supply (private API secret key). Read-only: 10 tools (get_store, list_reviews, get_review, list_store_reviews, list_products, get_product, list_product_ratings, list_orders, get_order, list_media). The BYOK key travels with each request, is used for that one call only and is never stored, logged or...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-fera.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-fera/docs"},"termsOfService":"https://connectorbay.com/byok-fera/terms"},"servers":[{"url":"https://byok-fera.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-fera/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_store":{"post":{"operationId":"get_store","summary":"Show the Fera store the key belongs to: name, platform, URL, country, language, review and media counts, overall rating ","description":"Show the Fera store the key belongs to: name, platform, URL, country, language, review and media counts, overall rating and plan. Use for \"Which store is my Fera key connected to and what is its overall rating\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_storeArguments","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_reviews":{"post":{"operationId":"list_reviews","summary":"List reviews (product and store) with rating, heading, text, moderation state, verified flag, product and store reply. F","description":"List reviews (product and store) with rating, heading, text, moderation state, verified flag, product and store reply. Filter by product, state, verified status or search words. Paged by page and page_size. Use for \"Show the newest approved reviews for product 123 in Fera\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"product_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only content for this Fera product ID or external product ID.","title":"Product Id"},"state":{"anyOf":[{"enum":["pending_approval","pending_update","approved","declined_approval","pending"],"type":"string"},{"type":"null"}],"default":null,"description":"Moderation state of the content.","title":"State"},"subject":{"anyOf":[{"enum":["both","product","store"],"type":"string"},{"type":"null"}],"default":null,"description":"What the content is about: product, store or both (default both).","title":"Subject"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for content from verified buyers only, false for unverified only.","title":"Verified"},"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Search words matched against product, customer and review fields.","title":"Search"},"sort_by":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"created_at:desc","description":"Order: one of created_at; add :desc or :asc, for example created_at:desc.","title":"Sort By"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Items per page (1 to 100, default 10).","title":"Page Size"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_reviewsArguments","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_review":{"post":{"operationId":"get_review","summary":"Get one review by its Fera ID with rating, heading, text, moderation state, verified flag, product and store reply. Use ","description":"Get one review by its Fera ID with rating, heading, text, moderation state, verified flag, product and store reply. Use for \"Show Fera review r1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Fera review ID.","maxLength":200,"title":"Id","type":"string"}},"required":["id"],"title":"get_reviewArguments","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_store_reviews":{"post":{"operationId":"list_store_reviews","summary":"List reviews about the store itself (not a product) with rating, text, state and store reply. Paged by page and page_siz","description":"List reviews about the store itself (not a product) with rating, text, state and store reply. Paged by page and page_size. Use for \"What do customers say about our store overall in Fera\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"state":{"anyOf":[{"enum":["pending_approval","pending_update","approved","declined_approval","pending"],"type":"string"},{"type":"null"}],"default":null,"description":"Moderation state of the content.","title":"State"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for content from verified buyers only, false for unverified only.","title":"Verified"},"sort_by":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"created_at:desc","description":"Order: one of created_at; add :desc or :asc, for example created_at:desc.","title":"Sort By"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Items per page (1 to 100, default 10).","title":"Page Size"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_store_reviewsArguments","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_products":{"post":{"operationId":"list_products","summary":"List the products known to Fera with SKU, brand, price, stock, rating average and review counts. Filter by external IDs ","description":"List the products known to Fera with SKU, brand, price, stock, rating average and review counts. Filter by external IDs or search by name or SKU. Use for \"Which products have the most reviews in Fera\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Search by product name, SKU, external ID or Fera ID.","title":"Search"},"external_ids":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated external (platform) product IDs.","title":"External Ids"},"sort_by":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"rating.count:desc","description":"Order: one of created_at, rating.count, rating.average, counts.media; add :desc or :asc, for example rating.count:desc.","title":"Sort By"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Items per page (1 to 100, default 10).","title":"Page Size"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_productsArguments","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_product":{"post":{"operationId":"get_product","summary":"Get one product by Fera ID or external (platform) ID with SKU, brand, price, stock, rating and review counts. Use for \"S","description":"Get one product by Fera ID or external (platform) ID with SKU, brand, price, stock, rating and review counts. Use for \"Show Fera product 123\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Fera product ID or external product ID.","maxLength":200,"title":"Id","type":"string"}},"required":["id"],"title":"get_productArguments","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_product_ratings":{"post":{"operationId":"list_product_ratings","summary":"List aggregate rating per product (average and review count), or for the store. Filter by external product IDs. Use for ","description":"List aggregate rating per product (average and review count), or for the store. Filter by external product IDs. Use for \"What is the average rating of each product in Fera\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"subject":{"anyOf":[{"enum":["both","product","store"],"type":"string"},{"type":"null"}],"default":null,"description":"What the content is about: product, store or both (default both).","title":"Subject"},"external_ids":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated external (platform) product IDs.","title":"External Ids"},"sort_by":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"count:desc","description":"Order: one of count, average; add :desc or :asc, for example count:desc.","title":"Sort By"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Items per page (1 to 100, default 10).","title":"Page Size"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_product_ratingsArguments","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_orders":{"post":{"operationId":"list_orders","summary":"List orders known to Fera with number, status, totals, payment, fulfilment and delivery dates, and review counts (custom","description":"List orders known to Fera with number, status, totals, payment, fulfilment and delivery dates, and review counts (customer names, emails and addresses are left out). Use for \"Which recent orders have been delivered and reviewed in Fera\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"description":"Search by order number, line items or platform order ID.","title":"Search"},"external_ids":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"default":null,"description":"Comma-separated external (platform) order IDs.","title":"External Ids"},"sort_by":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"created_at:desc","description":"Order: one of created_at, external_created_at, total, rating.count; add :desc or :asc, for example created_at:desc.","title":"Sort By"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Items per page (1 to 100, default 10).","title":"Page Size"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_ordersArguments","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_order":{"post":{"operationId":"get_order","summary":"Get one order by its Fera ID with number, status, totals, dates, line items and review counts (customer contact details ","description":"Get one order by its Fera ID with number, status, totals, dates, line items and review counts (customer contact details are left out). Use for \"Show Fera order o1\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"Fera order ID.","maxLength":200,"title":"Id","type":"string"}},"required":["id"],"title":"get_orderArguments","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_media":{"post":{"operationId":"list_media","summary":"List customer photos and videos with type, moderation state, caption, review and product. Filter by product, type, state","description":"List customer photos and videos with type, moderation state, caption, review and product. Filter by product, type, state or review. Use for \"Show approved customer photos for product 123 in Fera\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"product_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only content for this Fera product ID or external product ID.","title":"Product Id"},"state":{"anyOf":[{"enum":["pending_approval","pending_update","approved","declined_approval","pending"],"type":"string"},{"type":"null"}],"default":null,"description":"Moderation state of the content.","title":"State"},"subject":{"anyOf":[{"enum":["both","product","store"],"type":"string"},{"type":"null"}],"default":null,"description":"What the content is about: product, store or both (default both).","title":"Subject"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"True for content from verified buyers only, false for unverified only.","title":"Verified"},"type":{"anyOf":[{"maxLength":30,"type":"string"},{"type":"null"}],"default":null,"description":"photo or video (or product_photo, store_video and similar).","title":"Type"},"review_id":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Only media submitted with this review ID.","title":"Review Id"},"sort_by":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":"created_at:desc","description":"Order: one of created_at; add :desc or :asc, for example created_at:desc.","title":"Sort By"},"page_size":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"Items per page (1 to 100, default 10).","title":"Page Size"},"page":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_mediaArguments","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}}}}