{
  "x402Version": 2,
  "id": 28385,
  "slug": "28385",
  "resource": "https://bazaar.fronesislabs.com/evaluate/batch",
  "description": "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\"}.",
  "type": "http",
  "serviceName": "DCL Trust Oracle",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xb790ed3796194E5511C44411CF045F67E069cdC0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "agent_id": "agent-123",
            "items": [
              {
                "policy": "default",
                "response": "example agent output"
              }
            ],
            "max_items": 20
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "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"
              }
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "agent_id": {
                    "type": "string"
                  },
                  "items": {
                    "description": "Texts to evaluate. Each item is capped by max_items.",
                    "items": {
                      "properties": {
                        "policy": {
                          "description": "Built-in policy name. Defaults to default.",
                          "type": "string"
                        },
                        "response": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "task_type": {
                          "description": "Task tag stored on the audit record. Defaults to batch_item.",
                          "type": "string"
                        }
                      },
                      "required": [
                        "response"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "max_items": {
                    "default": 20,
                    "description": "Reject the call when len(items) exceeds this value. Default 20.",
                    "type": "integer"
                  }
                },
                "required": [
                  "items",
                  "agent_id"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "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"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "batch-evaluation",
    "llm-evaluation",
    "ai-agent-safety",
    "bazaar"
  ],
  "sourceHost": "bazaar.fronesislabs.com",
  "lastUpdated": "2026-10-01T01:41:38.58Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-01T01:41:38.038Z"
  },
  "metadata": {
    "serviceName": "DCL Trust Oracle",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "agent_id": "agent-123",
              "items": [
                {
                  "policy": "default",
                  "response": "example agent output"
                }
              ],
              "max_items": 20
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "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"
                }
              ]
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "agent_id": {
                      "type": "string"
                    },
                    "items": {
                      "description": "Texts to evaluate. Each item is capped by max_items.",
                      "items": {
                        "properties": {
                          "policy": {
                            "description": "Built-in policy name. Defaults to default.",
                            "type": "string"
                          },
                          "response": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "task_type": {
                            "description": "Task tag stored on the audit record. Defaults to batch_item.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "response"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "max_items": {
                      "default": 20,
                      "description": "Reject the call when len(items) exceeds this value. Default 20.",
                      "type": "integer"
                    }
                  },
                  "required": [
                    "items",
                    "agent_id"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "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"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "bazaar.fronesislabs.com",
    "manifest_name": "bazaar.fronesislabs.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "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"
      }
    ]
  }
}