# Preflight an AI Agent's Apify Actor Input Payload

**Use case:** 

Before an AI agent calls an Apify actor, check the generated input is safe to run. Only valid payloads pass; risky ones need human review.

## Input

```json
{
  "targetActorId": "ryanclinton/fred-economic-data",
  "testInput": {
    "mode": "observations",
    "seriesIds": [
      "UNRATE"
    ],
    "llmGuessedField": true
  },
  "testInputs": [],
  "includeSchemaQualityAudit": true,
  "includeAutoFixSuggestions": true,
  "includePatchedInputPreview": true,
  "outputProfile": "standard",
  "policyPreset": "agent",
  "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"
  },
  "invocationPlan": {
    "label": "Invocation Plan",
    "format": "object"
  },
  "blockingReasons": {
    "label": "Blocking Reasons"
  },
  "productionRisks": {
    "label": "Production Risks"
  },
  "scorecard": {
    "label": "Readiness Scorecard",
    "format": "object"
  },
  "actorName": {
    "label": "Actor Name",
    "format": "string"
  },
  "testLabel": {
    "label": "Test Label",
    "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.