Skip to main content
POST
Preview a scenario batch's validation

Authorizations

Authorization
string
header
required

A Recursion API key, created in the console under API keys.

Headers

x-tenant-id
string

Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.

Minimum string length: 1
x-organization-id
string

Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.

Minimum string length: 1

Body

application/json
scenarios
object
required

Scenario batch document to validate.

automationId
string<uuid>

Validate trigger selection against this automation's live triggers as admission would. Omitted, only the document itself is validated.

Response

OK

valid
boolean
required
issues
object[]