Validate workflow script
Validate workflow code, transform code, or schema snippets.
Authorizations
Your Maitai API key from the Portal.
Body
Python source to validate.
execute (default) = main def execute(ctx); transform = transform_session(session); schema = INPUT/OUTPUT schema RHS expression; bundle = full workflow script with schemas + transform.
execute, transform, schema, bundle Bundle kind only: Python literal dict assigned to INPUT_SCHEMA. Validated as a top-level dict.
Bundle kind only: Python literal dict assigned to OUTPUT_SCHEMA. Validated as a top-level dict.
Bundle kind only: Python source for transform_session(session) function.
Bundle kind only: Whether transform_session is enabled.
Bundle kind only: If true, require WorkflowContext import when referenced. Defaults to false.
Response
Validate workflow script.