Validate a flow definition and its schema.

  • Parameters

    • options:
          | undefined
          | {
              payload: {
                  definition: Record<string, any>;
                  input_schema?: Record<string, any>;
              };
              query?: undefined;
          } & BaseServiceMethodOptions
    • OptionalsdkOptions: SDKOptions

    Returns Promise<JSONFetchResponse<ValidateSuccessResponse | ValidateErrorResponse>>