{
  "x402Version": 2,
  "id": 36405,
  "slug": "36405",
  "resource": "https://api.s2ar.dev/x402/v1/assert",
  "description": "Assert an agent's output — JSON schema, terms, lengths, citations, quotes in a source; a signed record. GET ?text=&checks=",
  "type": "http",
  "serviceName": "s2ar",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2c4938626788e8e4fd803bfd1353eca64c1b5452",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "checks": "[{\"check\":\"json_valid\"},{\"check\":\"required_keys\",\"keys\":[\"summary\",\"source_url\"]},{\"check\":\"citations_present\",\"min\":1}]",
            "text": "{\"summary\": \"The glob flag is parsed in defs.rs\", \"source_url\": \"https://github.com/BurntSushi/ripgrep\"}"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "charged_usd": 0.005,
            "checks": 3,
            "ok": true,
            "passed": 3,
            "receipt": {
              "charter": "https://api.s2ar.dev/charter",
              "cost_usd": 0.005,
              "determinism": "replayable",
              "evidence_hash": "sha256:94abfed2…",
              "issued_at": "2026-10-10T00:00:00Z",
              "refund_rule": "failed calls are never charged",
              "what": "…",
              "witnesses": [
                "sym"
              ]
            },
            "record_sha256": "3f1c0d9e…",
            "results": [
              {
                "check": "json_valid",
                "evidence": {
                  "type": "dict"
                },
                "ok": true
              },
              {
                "check": "required_keys",
                "evidence": {
                  "missing": []
                },
                "ok": true
              },
              {
                "check": "citations_present",
                "evidence": {
                  "min": 1,
                  "urls": 1
                },
                "ok": true
              }
            ],
            "score": 1,
            "verdict": "pass"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "headers": {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": {
                  "type": "string"
                },
                "properties": {
                  "checks": {
                    "description": "the checks; on GET, a JSON list in one parameter",
                    "type": "string"
                  },
                  "rubric": {
                    "description": "a named check list; `schema`, `domains` fill its slots",
                    "type": "string"
                  },
                  "schema": {
                    "description": "for json_schema / api-response",
                    "type": "string"
                  },
                  "source": {
                    "description": "the source for quotes_in_source",
                    "type": "string"
                  },
                  "text": {
                    "description": "the output to assert (or `json`, an object)",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "queryParams"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "assert",
    "validate",
    "rubric",
    "json-schema",
    "fact-check",
    "bazaar"
  ],
  "sourceHost": "api.s2ar.dev",
  "lastUpdated": "2026-10-10T03:16:35.776Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-10T03:16:35.488Z"
  },
  "metadata": {
    "serviceName": "s2ar",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "checks": "[{\"check\":\"json_valid\"},{\"check\":\"required_keys\",\"keys\":[\"summary\",\"source_url\"]},{\"check\":\"citations_present\",\"min\":1}]",
              "text": "{\"summary\": \"The glob flag is parsed in defs.rs\", \"source_url\": \"https://github.com/BurntSushi/ripgrep\"}"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "charged_usd": 0.005,
              "checks": 3,
              "ok": true,
              "passed": 3,
              "receipt": {
                "charter": "https://api.s2ar.dev/charter",
                "cost_usd": 0.005,
                "determinism": "replayable",
                "evidence_hash": "sha256:94abfed2…",
                "issued_at": "2026-10-10T00:00:00Z",
                "refund_rule": "failed calls are never charged",
                "what": "…",
                "witnesses": [
                  "sym"
                ]
              },
              "record_sha256": "3f1c0d9e…",
              "results": [
                {
                  "check": "json_valid",
                  "evidence": {
                    "type": "dict"
                  },
                  "ok": true
                },
                {
                  "check": "required_keys",
                  "evidence": {
                    "missing": []
                  },
                  "ok": true
                },
                {
                  "check": "citations_present",
                  "evidence": {
                    "min": 1,
                    "urls": 1
                  },
                  "ok": true
                }
              ],
              "score": 1,
              "verdict": "pass"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "headers": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {
                    "checks": {
                      "description": "the checks; on GET, a JSON list in one parameter",
                      "type": "string"
                    },
                    "rubric": {
                      "description": "a named check list; `schema`, `domains` fill its slots",
                      "type": "string"
                    },
                    "schema": {
                      "description": "for json_schema / api-response",
                      "type": "string"
                    },
                    "source": {
                      "description": "the source for quotes_in_source",
                      "type": "string"
                    },
                    "text": {
                      "description": "the output to assert (or `json`, an object)",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "queryParams"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.s2ar.dev",
    "manifest_name": "api.s2ar.dev",
    "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": {
    "example": {},
    "type": "string"
  }
}