# Batch-Validate an Apify Actor Input Regression Suite

**Use case:** 

Validate dozens of Apify actor input payloads in one run. Get a pass or block decision per input and a breakdown of which ones would fail.

## Input

```json
{
  "targetActorId": "ryanclinton/fred-economic-data",
  "testInput": {},
  "testInputs": [
    {
      "label": "valid-baseline",
      "input": {
        "mode": "search",
        "searchText": "GDP"
      }
    },
    {
      "label": "unknown-field",
      "input": {
        "mode": "search",
        "bogusField": 1
      }
    },
    {
      "label": "enum-typo",
      "input": {
        "mode": "SEARCH"
      }
    },
    {
      "label": "defaults-only",
      "input": {
        "seriesIds": [
          "GDP"
        ]
      }
    }
  ],
  "includeSchemaQualityAudit": true,
  "includeAutoFixSuggestions": true,
  "includePatchedInputPreview": true,
  "outputProfile": "standard",
  "policyPreset": "custom",
  "baselineScope": "targetActor",
  "includeDriftTimeline": false,
  "includeReliabilityProfile": false,
  "includeReplayPackage": true,
  "proposedSchema": {},
  "saveGoldenSuite": false,
  "runGoldenSuite": false,
  "inferSchemaWhenMissing": true,
  "emitArtifacts": false,
  "artifactFormats": [],
  "webhookMode": "none"
}
```

## Output

```json
{
  "decision": {
    "label": "Decision",
    "format": "string"
  },
  "decisionReadiness": {
    "label": "Decision Readiness",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "score": {
    "label": "Score",
    "format": "integer"
  },
  "policy": {
    "label": "Policy",
    "format": "string"
  },
  "compatibilityImpact": {
    "label": "Compatibility Impact",
    "format": "string"
  },
  "verdictReasonCodes": {
    "label": "Verdict Reason Codes"
  },
  "actorName": {
    "label": "Actor Name",
    "format": "string"
  },
  "testLabel": {
    "label": "Test Label",
    "format": "string"
  },
  "summary": {
    "label": "Summary",
    "format": "string"
  },
  "validatedAt": {
    "label": "Validated At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Actor Input Tester — Validate Actor Input JSON Before Running](https://apify.com/ryanclinton/actor-input-tester) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ryanclinton/actor-input-tester) to learn more, explore other use cases, and run it yourself.