---
title: "Audit an exported n8n workflow"
method: POST
path: "/workflow-audit"
---

# Audit an exported n8n workflow

`POST /workflow-audit`

## Request

- Base URL: `https://x402-preflight.tinyopsstudio.com`
- URL: `https://x402-preflight.tinyopsstudio.com/workflow-audit`
- Auth: API key in header `PAYMENT-SIGNATURE`
- TypeScript: <https://skmtc.dev/tinyopsstudio/apis/tinyops-automation-integration-preflight/docs/workflow-audit/post.ts> (a function with typed inputs; its response is checked against the schema)

Audit an exported n8n workflow for unsafe execution nodes, unauthenticated webhooks, inline-secret indicators, and missing error handling without executing the workflow.

## Request body

- object
  - `workflow` object, required: Exported n8n workflow JSON. Credential references are counted, but parameter values are never returned.

## Response `200`

Structured automation preflight result.

- object

## Other responses

- `402`: x402 payment is required before the request is run.

---

[API](https://skmtc.dev/tinyopsstudio/apis/tinyops-automation-integration-preflight.md) - [All operations](https://skmtc.dev/tinyopsstudio/apis/tinyops-automation-integration-preflight/llms.txt) - [OpenAPI document](https://skmtc.dev/tinyopsstudio/apis/tinyops-automation-integration-preflight/revisions/ec10cf36035d?raw)
