@archastro/sdk
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Validate a workflow graph Submits a workflow graph definition for static analysis and returns a structured validation report. The graph is checked for structural correctness (valid node and edge references) and then analyzed for logical issues such as unreachable nodes, dead-end paths, and cycles. This endpoint is non-destructive — it does not persist any data. Use it during development to surface problems with a graph definition before saving or executing it. Requires developer-level authentication.

      Parameters

      • input: { graph: Record<string, unknown> }

        Request body.

        • graph: Record<string, unknown>

          Complete workflow graph definition to validate, containing node and edge declarations.

      Returns Promise<GraphValidation>

      Validation report describing whether the graph is structurally sound and any findings from static analysis.