78trust / 100

Evaluate Batch

by DCL Trust Oracle in AI models & inference

x402 APIPassing, checked 2 h ago

Evaluate a list of texts in one paid call. Each item may name a built-in policy. The call is rejected when the list is longer than max_items (default 20). POST JSON {"items","agent_id","max_items"}.

POST https://bazaar.fronesislabs.com/evaluate/batch

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
242 ms typical, 385 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://bazaar.fronesislabs.com/evaluate/batch" \
  -H "content-type: application/json" \
  -d '{"agent_id":"agent-123","items":[{"policy":"default","response":"example agent output"}],"max_items":20}'
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%2Fbazaar.fronesislabs.com%2Fevaluate%2Fbatch
const res = await pay("https://bazaar.fronesislabs.com/evaluate/batch", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"agent_id":"agent-123","items":[{"policy":"default","response":"example agent output"}],"max_items":20}),
});
console.log(await res.json());

Example input

{
  "agent_id": "agent-123",
  "items": [
    {
      "policy": "default",
      "response": "example agent output"
    }
  ],
  "max_items": 20
}

Example output

{
  "agent_id": "agent-123",
  "batch_id": "ab12cd34",
  "count": 1,
  "results": [
    {
      "chain_index": 42,
      "confidence": 0.95,
      "drift_mode": "NORMAL",
      "drift_score": 0,
      "input_hash": "0xdef456...",
      "pipeline_id": "abc12345",
      "policy_version": "1.0.0",
      "reason": "All policy checks passed",
      "seal_text": "Verified by Leibniz Layer",
      "timestamp": 1721635200,
      "tx_hash": "0xabc123...",
      "verdict": "COMMIT",
      "verify_url": "https://x402.fronesislabs.com/verify/abc123"
    }
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402217 ms$0.1
5 h agoPassed402215 ms$0.1
9 h agoPassed40267 ms$0.1
12 h agoPassed402385 ms$0.1
16 h agoPassed402339 ms$0.1
19 h agoPassed402352 ms$0.1
24 h agoPassed402236 ms$0.1
27 h agoPassed402300 ms$0.1
30 h agoPassed402575 ms$0.1
35 h agoPassed402242 ms$0.1
37 h agoPassed402363 ms$0.1
43 h agoPassed402212 ms$0.1