71trust / 100

Review Response Draft Execute

by tradepilotusa.com in Other

x402 APIPassing, checked 2 min ago

Draft a reply to a customer's public review in a specified tone (professional, friendly, or apologetic), addressing what they actually wrote without inventing facts, promises, discounts or compensation the buyer did not explicitly authorize. Keep it concise and appropriate to post publicly. Uses buyer-supplied information only; no external research or outbound actions. Returns a draft for human review.

POST https://www.tradepilotusa.com/api/agent-commerce/v1/services/review_response_draft/execute

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
1.1 s typical, 1.3 s slowest 5%
Last check
2 min ago
Next check
in 27 min

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://www.tradepilotusa.com/api/agent-commerce/v1/services/review_response_draft/execute' \
  -H 'content-type: application/json' \
  --data-raw '{"audience":"The reviewer, reading this reply publicly on the review platform.","brief":"Draft a professional-toned reply to this 3-star review for our HVAC repair business. Do not offer any refund or discount -- only acknowledge the feedback and invite them to call our office.","source_text":"3-star review: '\''Technician arrived 40 minutes late with no call, but once he got here the repair itself was done well and the AC has worked fine since. Wish the scheduling had been better communicated.'\''"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.tradepilotusa.com%2Fapi%2Fagent-commerce%2Fv1%2Fservices%2Freview_response_draft%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/review_response_draft/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"audience\":\"The reviewer, reading this reply publicly on the review platform.\",\"brief\":\"Draft a professional-toned reply to this 3-star review for our HVAC repair business. Do not offer any refund or discount -- only acknowledge the feedback and invite them to call our office.\",\"source_text\":\"3-star review: 'Technician arrived 40 minutes late with no call, but once he got here the repair itself was done well and the AC has worked fine since. Wish the scheduling had been better communicated.'\"}",
});
console.log(await res.json());

Example input

{
  "audience": "The reviewer, reading this reply publicly on the review platform.",
  "brief": "Draft a professional-toned reply to this 3-star review for our HVAC repair business. Do not offer any refund or discount -- only acknowledge the feedback and invite them to call our office.",
  "source_text": "3-star review: 'Technician arrived 40 minutes late with no call, but once he got here the repair itself was done well and the AC has worked fine since. Wish the scheduling had been better communicated.'"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 min agoPassed402977 ms$0.25
4 h agoPassed4021.1 s$0.25
8 h agoPassed4021.1 s$0.25
12 h agoPassed4021.1 s$0.25
16 h agoPassed4021.1 s$0.25
19 h agoPassed4021.1 s$0.25
23 h agoPassed4021.1 s$0.25
27 h agoPassed4021.1 s$0.25
30 h agoPassed4021.1 s$0.25
33 h agoPassed4021.1 s$0.25
37 h agoPassed4021.2 s$0.25
40 h agoPassed402739 ms$0.25
44 h agoPassed4021.1 s$0.25
2 days agoPassed402972 ms$0.25
2 days agoPassed4021.3 s$0.25