DC
AI Inference · x402 · early usage

Evaluate a list of texts in one paid call

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"}.

by bazaar.fronesislabs.com · discovered, not yet claimed by its owner · updated 2026-10-01

30d calls2
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

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"}.

Tags: batch-evaluation · llm-evaluation · ai-agent-safety · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-01
Input example from Bazaar metadata
{
  "agent_id": "agent-123",
  "items": [
    {
      "policy": "default",
      "response": "example agent output"
    }
  ],
  "max_items": 20
}
Output example
{
  "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"
    }
  ]
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/28385.json for the price and payment options.
  3. Pay. Call GET https://bazaar.fronesislabs.com/evaluate/batch. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.1 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.10xb790ed3796194E5511C44411CF045F67E069cdC0300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xb790ed3796194E5511C44411CF045F67E069cdC0",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "100000",
    "amountUsd": 0.1,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "agent_id": {
          "type": "string"
        },
        "batch_id": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        },
        "results": {
          "items": {
            "properties": {
              "chain_index": {
                "type": "integer"
              },
              "confidence": {
                "type": "number"
              },
              "drift_mode": {
                "type": "string"
              },
              "drift_score": {
                "type": "number"
              },
              "input_hash": {
                "type": "string"
              },
              "pipeline_id": {
                "type": "string"
              },
              "policy_version": {
                "type": "string"
              },
              "reason": {
                "type": "string"
              },
              "seal_text": {
                "type": "string"
              },
              "timestamp": {
                "type": "number"
              },
              "tx_hash": {
                "type": "string"
              },
              "verdict": {
                "enum": [
                  "COMMIT",
                  "NO_COMMIT"
                ],
                "type": "string"
              },
              "verify_url": {
                "type": "string"
              }
            },
            "required": [
              "verdict",
              "confidence",
              "reason",
              "tx_hash",
              "chain_index",
              "input_hash",
              "policy_version",
              "timestamp",
              "pipeline_id",
              "drift_mode",
              "drift_score",
              "seal_text",
              "verify_url"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "batch_id",
        "agent_id",
        "count",
        "results"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "agent_id": "string",
    "batch_id": "string",
    "count": 0,
    "results": [
      {
        "chain_index": 0,
        "confidence": 0,
        "drift_mode": "string",
        "drift_score": 0,
        "input_hash": "string",
        "pipeline_id": "string",
        "policy_version": "string",
        "reason": "string",
        "seal_text": "string",
        "timestamp": 0,
        "tx_hash": "string",
        "verdict": "COMMIT",
        "verify_url": "string"
      }
    ]
  },
  "type": "string"
}

Examples

curl
curl -X POST 'https://bazaar.fronesislabs.com/evaluate/batch' -H 'Content-Type: application/json' --data '{"agent_id":"agent-123","items":[{"policy":"default","response":"example agent output"}],"max_items":20}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://bazaar.fronesislabs.com/evaluate/batch", {
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "body": "{\"agent_id\":\"agent-123\",\"items\":[{\"policy\":\"default\",\"response\":\"example agent output\"}],\"max_items\":20}"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
import json
res = httpx.request("POST", "https://bazaar.fronesislabs.com/evaluate/batch", json=json.loads("{\"agent_id\":\"agent-123\",\"items\":[{\"policy\":\"default\",\"response\":\"example agent output\"}],\"max_items\":20}"))
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
bazaar.fronesislabs.com
Endpoint
https://bazaar.fronesislabs.com/evaluate/batch
Machine-readable
/resources/28385.json