77trust / 100

Waste Rule Preflight

by waste.regevidencehub.com in Weather & location

x402 APIPassing, checked 46 min ago

General current-operation routing for permit/exemption/duty-of-care and Digital Waste Tracking review using the same deterministic engine as the MCP tool. Payment verification precedes deterministic execution. Not Environment Agency approval or legal advice.

POST https://waste.regevidencehub.com/api/v1/waste-rule-preflight

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
322 ms typical, 387 ms slowest 5%
Last check
46 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://waste.regevidencehub.com/api/v1/waste-rule-preflight" \
  -H "content-type: application/json" \
  -d '{"activities":["receive_waste"],"authorisation_status":"permit","hazardous_status":false,"nation":"England","role":"receiver","site_location":"Leeds","waste_types":["mixed controlled waste"]}'
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%2Fwaste.regevidencehub.com%2Fapi%2Fv1%2Fwaste-rule-preflight
const res = await pay("https://waste.regevidencehub.com/api/v1/waste-rule-preflight", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"activities":["receive_waste"],"authorisation_status":"permit","hazardous_status":false,"nation":"England","role":"receiver","site_location":"Leeds","waste_types":["mixed controlled waste"]}),
});
console.log(await res.json());

Example input

{
  "activities": [
    "receive_waste"
  ],
  "authorisation_status": "permit",
  "hazardous_status": false,
  "nation": "England",
  "role": "receiver",
  "site_location": "Leeds",
  "waste_types": [
    "mixed controlled waste"
  ]
}

Example output

{
  "decision": {
    "deterministic": true,
    "route": "PERMIT_OR_EXEMPTION_AND_DIGITAL_TRACKING_REVIEW",
    "status": "SCREENING_COMPLETE_REVIEW_REQUIRED"
  },
  "product": "UK Waste Rule & Permit Change-Impact MCP",
  "schema_version": "0.1"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
46 min agoPassed402322 ms$0.02
4 h agoPassed402338 ms$0.02
8 h agoPassed402296 ms$0.02
12 h agoPassed402283 ms$0.02
15 h agoPassed402832 ms$0.02
19 h agoPassed402299 ms$0.02
23 h agoPassed402274 ms$0.02
26 h agoPassed402387 ms$0.02
31 h agoPassed402342 ms$0.02