← API reference
Query / jobs · commerce · logistics · costing · productTemplates · files · devices · aiml · apps · workflows · admin · integrations · surfaces · scripting · reporting · reports

iacValidate

Validate an infrastructure artifact. Pure and side-effect free; safe to alias many times in one document.

Arguments

validatorString!

Name of the validator to run, as declared by @iac_validator

sourceString!

Artifact source to validate

roleString

Script role whose API surface a lua-typecheck source is checked against: NORMAL, INTEGRATION, PURE or EDGE_APP. Defaults to NORMAL.

Returns IaCValidationResult!

Scalar fields at a glance

successBoolean!
↗ View the complete IaCValidationResult type

Explore in a view

Administration and IAMAI and MLApp AuthoringDevice FleetERP CostingFulfillmentIntegrationsOrder IntakePrint PrepressProduction FloorReportingReportsScriptingJourneys and WorkspacesWorkflow Authoring
View exact SDL
"""
Validate an infrastructure artifact. Pure and side-effect free; safe to alias many times in one document.
"""
iacValidate(
  """Name of the validator to run, as declared by @iac_validator"""
  validator: String!
  """Artifact source to validate"""
  source: String!
  """
  Script role whose API surface a lua-typecheck source is checked against: NORMAL, INTEGRATION, PURE or EDGE_APP. Defaults to NORMAL.
  """
  role: String
): IaCValidationResult! @topic(names: [
  "jobs"
  "commerce"
  "logistics"
  "costing"
  "productTemplates"
  "files"
  "devices"
  "aiml"
  "apps"
  "workflows"
  "admin"
  "integrations"
  "surfaces"
  "scripting"
  "reporting"
  "reports"
])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.