71trust / 100

Email Subject Lines Execute

by tradepilotusa.com in Email & messaging

x402 APIPassing, checked 2 h ago

Generate subject lines and preview text grounded in the supplied offer, without deceptive urgency or claims. 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/email_subject_lines/execute

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
984 ms typical, 1.2 s slowest 5%
Last check
2 h ago
Next check
any minute now

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/email_subject_lines/execute' \
  -H 'content-type: application/json' \
  --data-raw '{"audience":"Business operations manager","brief":"Generate subject lines and preview text grounded in the supplied offer, without deceptive urgency or claims. Use only the supplied fictional example material and clearly identify missing evidence.","source_text":"Fictional account research supplied by the buyer: Example Door Company installs residential entry doors in Dallas with a two-person crew. The operations manager wants to improve consultation scheduling. A discovery meeting will discuss missed appointments and implementation effort. The prospect has not disclosed budget or a purchase date. The proposed offer is a scheduling-process assessment; no promised savings or implementation features are supplied."}'
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%2Femail_subject_lines%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/email_subject_lines/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"audience\":\"Business operations manager\",\"brief\":\"Generate subject lines and preview text grounded in the supplied offer, without deceptive urgency or claims. Use only the supplied fictional example material and clearly identify missing evidence.\",\"source_text\":\"Fictional account research supplied by the buyer: Example Door Company installs residential entry doors in Dallas with a two-person crew. The operations manager wants to improve consultation scheduling. A discovery meeting will discuss missed appointments and implementation effort. The prospect has not disclosed budget or a purchase date. The proposed offer is a scheduling-process assessment; no promised savings or implementation features are supplied.\"}",
});
console.log(await res.json());

Example input

{
  "audience": "Business operations manager",
  "brief": "Generate subject lines and preview text grounded in the supplied offer, without deceptive urgency or claims. Use only the supplied fictional example material and clearly identify missing evidence.",
  "source_text": "Fictional account research supplied by the buyer: Example Door Company installs residential entry doors in Dallas with a two-person crew. The operations manager wants to improve consultation scheduling. A discovery meeting will discuss missed appointments and implementation effort. The prospect has not disclosed budget or a purchase date. The proposed offer is a scheduling-process assessment; no promised savings or implementation features are supplied."
}

Example output

{
  "artifact": "Illustrative excerpt from a synthetic provider check:\n### Subject Lines\n\n- Improving Your Consultation Scheduling: A Process Assessment Opportunity\n- Explore Scheduling-Process Insights for Residential Door Installations\n- Invitation: Discuss Enhancing Consultation Scheduling Efficiency\n- Scheduling-Process Assessment for Example Door Company\n\n### Preview Text\n\n- Join us for a discovery meeting to explore your current consultation scheduling challenges and discuss potential improvements.\n- Understand how a scheduling-process assessment can identify",
  "assumptions": [
    "The audience is the operations manager responsible for consultation scheduling.",
    "The offer is limited to a scheduling-process assessment without promised outcomes."
  ],
  "evidence_gaps": [
    "No budget details or purchase timeline have been provided.",
    "No specific features or benefits of the scheduling-process assessment are described."
  ],
  "provenance": {
    "external_research_performed": false,
    "generated_at": "2026-09-22T14:40:20.606Z",
    "source": "buyer_supplied"
  },
  "request_id": "example_email_subject_lines",
  "requires_human_review": true,
  "summary": "Generated subject lines and preview text focus on offering a scheduling-process assessment to the operations manager of Example Door Company, emphasizing a discovery meeting to discuss missed appointm",
  "task": "email_subject_lines"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402658 ms$0.25
6 h agoPassed4021.0 s$0.25
10 h agoPassed4021.1 s$0.25
13 h agoPassed402723 ms$0.25
17 h agoPassed4021.1 s$0.25
21 h agoPassed402765 ms$0.25
24 h agoPassed4021.1 s$0.25
28 h agoPassed4021.2 s$0.25
32 h agoPassed402707 ms$0.25
35 h agoPassed402669 ms$0.25
39 h agoPassed4021.1 s$0.25
42 h agoPassed4021.1 s$0.25
46 h agoPassed402646 ms$0.25
2 days agoPassed402984 ms$0.25
2 days agoPassed4021.2 s$0.25