Skip to main content
POST
Dry-run (validate) a workflow

Authorizations

next-auth.session-token
string
cookie
required

NextAuth session JWT cookie. Development: often next-auth.session-token. Production (HTTPS): often __Secure-next-auth.session-token. Send the cookie your browser receives after sign-in.

Path Parameters

workflowId
string<cuid2>
required

Workflow identifier.

Response

Validation result. The request succeeded; inspect data.ok to see whether the workflow is ready, and data.problems for any issues.

data
object
required

Result of dry-running (testing) a workflow: whether it would execute and, if not, why not. No run is created and no side effects occur.