71trust / 100

Policy Summary Execute

by tradepilotusa.com in Other

x402 APIPassing, checked 54 min ago

Summarize supplied policy text into scope, requirements, exceptions, and implementation questions; not legal advice. 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/policy_summary/execute

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
942 ms typical, 1.4 s slowest 5%
Last check
54 min 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/policy_summary/execute' \
  -H 'content-type: application/json' \
  --data-raw '{"audience":"Business operations manager","brief":"Summarize supplied policy text into scope, requirements, exceptions, and implementation questions; not legal advice. Use only the supplied fictional example material and clearly identify missing evidence.","source_text":"Fictional source document, section 1: Example Door Company provides residential entry door installation in Dallas. Consultations are available Monday through Friday. Section 2: The operations manager owns consultation scheduling; the installation crew confirms measurements before a final quote. Section 3: The next meeting will review appointment delays; current delay rates and a final project budget have not been supplied. Action: the operations manager will bring scheduling notes to the meeting."}'
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%2Fpolicy_summary%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/policy_summary/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"audience\":\"Business operations manager\",\"brief\":\"Summarize supplied policy text into scope, requirements, exceptions, and implementation questions; not legal advice. Use only the supplied fictional example material and clearly identify missing evidence.\",\"source_text\":\"Fictional source document, section 1: Example Door Company provides residential entry door installation in Dallas. Consultations are available Monday through Friday. Section 2: The operations manager owns consultation scheduling; the installation crew confirms measurements before a final quote. Section 3: The next meeting will review appointment delays; current delay rates and a final project budget have not been supplied. Action: the operations manager will bring scheduling notes to the meeting.\"}",
});
console.log(await res.json());

Example input

{
  "audience": "Business operations manager",
  "brief": "Summarize supplied policy text into scope, requirements, exceptions, and implementation questions; not legal advice. Use only the supplied fictional example material and clearly identify missing evidence.",
  "source_text": "Fictional source document, section 1: Example Door Company provides residential entry door installation in Dallas. Consultations are available Monday through Friday. Section 2: The operations manager owns consultation scheduling; the installation crew confirms measurements before a final quote. Section 3: The next meeting will review appointment delays; current delay rates and a final project budget have not been supplied. Action: the operations manager will bring scheduling notes to the meeting."
}

Example output

{
  "artifact": "Illustrative excerpt from a synthetic provider check:\n## Policy Summary for Example Door Company\n\n### Scope\n- Residential entry door installation services in Dallas.\n- Consultations for potential installations are available Monday through Friday.\n\n### Requirements\n- The operations manager is responsible for managing consultation scheduling.\n- The installation crew must confirm measurements prior to providing a final quote.\n\n### Exceptions\n- None explicitly stated in the supplied text.\n\n### Implementation Questions\n- What are the current delay rates",
  "assumptions": [
    "Consultations occur only Monday through Friday as stated.",
    "The operations manager has sole responsibility for scheduling consultations."
  ],
  "evidence_gaps": [
    "Current appointment delay rates are not provided.",
    "Final project budget details are missing."
  ],
  "provenance": {
    "external_research_performed": false,
    "generated_at": "2026-09-22T14:42:57.931Z",
    "source": "buyer_supplied"
  },
  "request_id": "example_policy_summary",
  "requires_human_review": true,
  "summary": "The policy covers residential entry door installation services in Dallas, with consultations available Monday through Friday. The operations manager manages consultation scheduling, and the installati",
  "task": "policy_summary"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
54 min agoPassed402628 ms$0.25
5 h agoPassed402806 ms$0.25
9 h agoPassed402725 ms$0.25
12 h agoPassed402967 ms$0.25
16 h agoPassed402728 ms$0.25
20 h agoPassed402734 ms$0.25
24 h agoPassed402986 ms$0.25
27 h agoPassed402957 ms$0.25
31 h agoPassed4021.2 s$0.25
34 h agoPassed402992 ms$0.25
38 h agoPassed402685 ms$0.25
41 h agoPassed402753 ms$0.25
45 h agoPassed402944 ms$0.25
2 days agoPassed402942 ms$0.25
2 days agoPassed4021.7 s$0.25