{
  "x402Version": 2,
  "id": 15985,
  "slug": "15985",
  "resource": "https://qf-api.quietforge-studio.workers.dev/v1/dataset-audit",
  "description": "Audit a CSV or JSON-array dataset (up to 50,000 rows, 200 columns, 5 MB) and return a structured data-quality report as JSON: exact duplicate row count and up to 20 duplicate row indexes, per-column missing-value counts and percentages, inferred column types with a mixed-type flag, class-imbalance ratio for low-cardinality categorical columns, IQR-based outlier counts for numeric columns, PII-pattern hit counts (email/phone-like/SSN-like/credit-card-like) per column, and one overall quality_score (0-100, documented heuristic). Row content is never echoed back — only counts, percentages and indexes. Your data is held only in a temporary file for the duration of the request, deleted immediately after, and never logged or retained. PII-pattern hits (email/phone/SSN/credit-card-like) lower the quality_score but the matched values themselves are never returned. Do not submit data you are not authorized to process; this is a diagnostic tool, not a compliance or legal service. This is a triage heuristic for ML/data pipelines, not a certified data-quality or compliance audit.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3F5115236f25618c16021E983acaAF2CAaa1A35e",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "row_count": {
        "type": "integer"
      },
      "col_count": {
        "type": "integer"
      },
      "columns": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "dtype": {
              "type": "string"
            },
            "missing_count": {
              "type": "integer"
            },
            "missing_pct": {
              "type": "number"
            },
            "mixed_type": {
              "type": "boolean"
            },
            "outlier_count": {
              "type": "integer"
            },
            "imbalance_ratio": {
              "type": "number"
            }
          },
          "required": [
            "name",
            "dtype",
            "missing_count",
            "missing_pct",
            "mixed_type"
          ]
        }
      },
      "duplicate_row_count": {
        "type": "integer"
      },
      "duplicate_row_indexes": {
        "type": "array",
        "items": {
          "type": "integer"
        }
      },
      "pii_flags": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "column": {
              "type": "string"
            },
            "pattern": {
              "type": "string"
            },
            "match_count": {
              "type": "integer"
            }
          }
        }
      },
      "quality_score": {
        "type": "integer"
      },
      "issues": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "elapsed_ms": {
        "type": "integer"
      }
    },
    "required": [
      "row_count",
      "col_count",
      "columns",
      "duplicate_row_count",
      "quality_score"
    ]
  },
  "tags": [
    "dataset",
    "data-quality",
    "csv",
    "json",
    "ml-tooling"
  ],
  "sourceHost": "quietforge-studio.pages.dev",
  "lastUpdated": "2026-09-22T10:37:14.010Z",
  "quality": {},
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "quietforge-studio.pages.dev",
    "manifest_name": "Quietforge Docs API",
    "source": "submitted",
    "source_manifest_url": "https://quietforge-studio.pages.dev/.well-known/x402.json",
    "submitted_at": "2026-09-22T10:37:14.010Z"
  },
  "exampleResponse": {
    "row_count": 0,
    "col_count": 0,
    "columns": [
      {
        "name": "string",
        "dtype": "string",
        "missing_count": 0,
        "missing_pct": 0,
        "mixed_type": true,
        "outlier_count": 0,
        "imbalance_ratio": 0
      }
    ],
    "duplicate_row_count": 0,
    "duplicate_row_indexes": [
      0
    ],
    "pii_flags": [
      {
        "column": "string",
        "pattern": "string",
        "match_count": 0
      }
    ],
    "quality_score": 0,
    "issues": [
      "string"
    ],
    "elapsed_ms": 0
  }
}