71trust / 100

Document Compare Execute

by tradepilotusa.com in Documents & files

x402 APIPassing, checked 45 min ago

Compare the supplied documents for substantive changes, omissions, conflicts, and questions; do not give 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/document_compare/execute

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
814 ms typical, 1.2 s slowest 5%
Last check
45 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/document_compare/execute' \
  -H 'content-type: application/json' \
  --data-raw '{"audience":"Business operations manager","brief":"Compare the supplied documents for substantive changes, omissions, conflicts, and questions; do not give legal advice. Use only the supplied fictional example material and clearly identify missing evidence.","source_text":"Document A: Consultations are available Monday through Thursday; the manager confirms appointments. Document B: Consultations are available Monday through Friday; the coordinator confirms appointments. Both documents say measurements must be confirmed before a final quote. These are fictional drafts."}'
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%2Fdocument_compare%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/document_compare/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"audience\":\"Business operations manager\",\"brief\":\"Compare the supplied documents for substantive changes, omissions, conflicts, and questions; do not give legal advice. Use only the supplied fictional example material and clearly identify missing evidence.\",\"source_text\":\"Document A: Consultations are available Monday through Thursday; the manager confirms appointments. Document B: Consultations are available Monday through Friday; the coordinator confirms appointments. Both documents say measurements must be confirmed before a final quote. These are fictional drafts.\"}",
});
console.log(await res.json());

Example input

{
  "audience": "Business operations manager",
  "brief": "Compare the supplied documents for substantive changes, omissions, conflicts, and questions; do not give legal advice. Use only the supplied fictional example material and clearly identify missing evidence.",
  "source_text": "Document A: Consultations are available Monday through Thursday; the manager confirms appointments. Document B: Consultations are available Monday through Friday; the coordinator confirms appointments. Both documents say measurements must be confirmed before a final quote. These are fictional drafts."
}

Example output

{
  "artifact": "Illustrative excerpt from a synthetic provider check:\n## Comparison of Consultation Scheduling Documents\n\n### Substantive Changes\n- **Consultation Days:** Document A specifies consultations are available Monday through Thursday, while Document B extends availability to Monday through Friday.\n- **Appointment Confirmation:** Document A states that the manager confirms appointments; Document B assigns this role to the coordinator.\n\n### Consistencies\n- Both documents require that measurements be confirmed before providing a final quote.\n\n### Omissions ",
  "assumptions": [
    "The manager and coordinator are distinct roles within the organization.",
    "Consultation availability days affect scheduling and resource allocation."
  ],
  "evidence_gaps": [
    "Clarification on why consultation days differ between documents.",
    "Details on the roles and responsibilities of the manager versus the coordinator."
  ],
  "provenance": {
    "external_research_performed": false,
    "generated_at": "2026-09-22T14:42:26.061Z",
    "source": "buyer_supplied"
  },
  "request_id": "example_document_compare",
  "requires_human_review": true,
  "summary": "The two documents differ in consultation availability days and the role responsible for confirming appointments, while both require measurement confirmation before final quoting. Key questions remain ",
  "task": "document_compare"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
45 min agoPassed4021.1 s$0.25
5 h agoPassed4021.2 s$0.25
9 h agoPassed402980 ms$0.25
12 h agoPassed402625 ms$0.25
16 h agoPassed402904 ms$0.25
20 h agoPassed4021.1 s$0.25
24 h agoPassed4021.2 s$0.25
27 h agoPassed402659 ms$0.25
31 h agoPassed402972 ms$0.25
34 h agoPassed402977 ms$0.25
38 h agoPassed402814 ms$0.25
41 h agoPassed402695 ms$0.25
45 h agoPassed402705 ms$0.25
2 days agoPassed402688 ms$0.25
2 days agoPassed402714 ms$0.25