71trust / 100
Text Classification Execute
by tradepilotusa.com in Other
x402 APIPassing, checked 12 min ago
Classify supplied text using supplied labels and definitions, with rationale, uncertainty, and an unknown category. 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/text_classification/execute
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 992 ms typical, 1.1 s slowest 5%
- Last check
- 12 min ago
- Next check
- in 15 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/text_classification/execute' \
-H 'content-type: application/json' \
--data-raw '{"audience":"Business operations manager","brief":"Classify supplied text using supplied labels and definitions, with rationale, uncertainty, and an unknown category. 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%2Ftext_classification%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/text_classification/execute", {
method: "POST",
headers: { "content-type": "application/json" },
body: "{\"audience\":\"Business operations manager\",\"brief\":\"Classify supplied text using supplied labels and definitions, with rationale, uncertainty, and an unknown category. 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": "Classify supplied text using supplied labels and definitions, with rationale, uncertainty, and an unknown category. 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## Classification of Source Text\n\n### Classification\n- **Category:** Residential Door Installation Service\n- **Subcategory:** Consultation and Installation Operations\n\n### Rationale\nThe source text describes a company that provides residential entry door installation services in Dallas, indicating the primary business activity. It details consultation scheduling managed by the operations manager and the installation crew's role in confirming measurements before final quotes, which relates to ope",
"assumptions": [
"The company operates solely in residential entry door installation.",
"Consultations are a critical step before installation and quoting."
],
"evidence_gaps": [
"Quantitative data on appointment delay rates.",
"Final project budget details."
],
"provenance": {
"external_research_performed": false,
"generated_at": "2026-09-22T14:42:34.252Z",
"source": "buyer_supplied"
},
"request_id": "example_text_classification",
"requires_human_review": true,
"summary": "The source text describes a residential door installation company’s consultation and installation operations, highlighting scheduling responsibilities and measurement confirmation. Key operational met",
"task": "text_classification"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 12 min ago | Passed | 402 | 944 ms | $0.25 |
| 4 h ago | Passed | 402 | 657 ms | $0.25 |
| 8 h ago | Passed | 402 | 722 ms | $0.25 |
| 12 h ago | Passed | 402 | 636 ms | $0.25 |
| 16 h ago | Passed | 402 | 1.1 s | $0.25 |
| 19 h ago | Passed | 402 | 695 ms | $0.25 |
| 23 h ago | Passed | 402 | 993 ms | $0.25 |
| 26 h ago | Passed | 402 | 1.0 s | $0.25 |
| 30 h ago | Passed | 402 | 693 ms | $0.25 |
| 34 h ago | Passed | 402 | 664 ms | $0.25 |
| 37 h ago | Passed | 402 | 1.1 s | $0.25 |
| 41 h ago | Passed | 402 | 1.1 s | $0.25 |
| 45 h ago | Passed | 402 | 1.0 s | $0.25 |
| 2 days ago | Passed | 402 | 1.0 s | $0.25 |
| 2 days ago | Passed | 402 | 992 ms | $0.25 |