75trust / 100

Kpi Definition Execute

by tradepilotusa.com in Other

x402 APIPassing, checked 2 h ago

Define metrics with purpose, formula, source requirements, cadence, ownership, and interpretation limits. 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/kpi_definition/execute

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
765 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/kpi_definition/execute' \
  -H 'content-type: application/json' \
  --data-raw '{"audience":"Business operations manager","brief":"Define metrics with purpose, formula, source requirements, cadence, ownership, and interpretation limits. Use only the supplied fictional example material and clearly identify missing evidence.","source_text":"Fictional supplied business brief: Example Door Company installs residential entry doors in Dallas with a two-person crew and weekday consultations. The project is to improve scheduling over six weeks. Vendor A proposes a process assessment for $500; Vendor B proposes an assessment and staff workshop for $800. Both prices are fictional examples, not researched market prices. Evaluation criteria are implementation effort, scope clarity and staff training. Current booking volume, customer feedback, vendor references and measured outcomes are unknown."}'
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%2Fkpi_definition%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/kpi_definition/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"audience\":\"Business operations manager\",\"brief\":\"Define metrics with purpose, formula, source requirements, cadence, ownership, and interpretation limits. Use only the supplied fictional example material and clearly identify missing evidence.\",\"source_text\":\"Fictional supplied business brief: Example Door Company installs residential entry doors in Dallas with a two-person crew and weekday consultations. The project is to improve scheduling over six weeks. Vendor A proposes a process assessment for $500; Vendor B proposes an assessment and staff workshop for $800. Both prices are fictional examples, not researched market prices. Evaluation criteria are implementation effort, scope clarity and staff training. Current booking volume, customer feedback, vendor references and measured outcomes are unknown.\"}",
});
console.log(await res.json());

Example input

{
  "audience": "Business operations manager",
  "brief": "Define metrics with purpose, formula, source requirements, cadence, ownership, and interpretation limits. Use only the supplied fictional example material and clearly identify missing evidence.",
  "source_text": "Fictional supplied business brief: Example Door Company installs residential entry doors in Dallas with a two-person crew and weekday consultations. The project is to improve scheduling over six weeks. Vendor A proposes a process assessment for $500; Vendor B proposes an assessment and staff workshop for $800. Both prices are fictional examples, not researched market prices. Evaluation criteria are implementation effort, scope clarity and staff training. Current booking volume, customer feedback, vendor references and measured outcomes are unknown."
}

Example output

{
  "artifact": "Illustrative excerpt from a synthetic provider check:\n## Metrics Definition for Scheduling Improvement Project\n\n### 1. Booking Volume\n- **Purpose:** Measure the number of door installation consultations booked to assess demand and scheduling load.\n- **Formula:** Count of consultations booked per week.\n- **Source Requirements:** Appointment booking system or manual logs capturing date and time of each consultation.\n- **Cadence:** Weekly.\n- **Ownership:** Scheduling coordinator or operations manager.\n- **Interpretation Limits:** Does not indicate con",
  "assumptions": [
    "The company uses some form of appointment booking system or manual logs.",
    "Staff workshops and vendor assessments are part of the improvement project."
  ],
  "evidence_gaps": [
    "Actual booking volume and consultation completion data.",
    "Customer feedback survey results."
  ],
  "provenance": {
    "external_research_performed": false,
    "generated_at": "2026-09-22T14:42:09.958Z",
    "source": "buyer_supplied"
  },
  "request_id": "example_kpi_definition",
  "requires_human_review": true,
  "summary": "Defined five metrics for improving scheduling in a residential door installation business: booking volume, consultation completion rate, staff training effectiveness, process assessment findings, and ",
  "task": "kpi_definition"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402724 ms$0.25
6 h agoPassed402681 ms$0.25
10 h agoPassed402662 ms$0.25
14 h agoPassed402765 ms$0.25
18 h agoPassed402712 ms$0.25
21 h agoPassed4021.1 s$0.25
24 h agoPassed4021.0 s$0.25
28 h agoPassed402667 ms$0.25
32 h agoPassed402991 ms$0.25
35 h agoPassed4021.2 s$0.25
39 h agoPassed402830 ms$0.25
43 h agoPassed402785 ms$0.25
46 h agoPassed402675 ms$0.25
2 days agoPassed4021.0 s$0.25
2 days agoPassed402685 ms$0.25