Regenerate a test with AI from a new promptAsk AIput https://app.rainforestqa.com/api/1/tests/{test_id}/regenerateRegenerate a test with AI from a new promptPath Paramstest_idint32requiredA test IDBody Paramsai_modestringenumSet to self-heal to turn on self-healing for snippetsself-healAllowed:self-healbrowsersarray of stringsList of browsers that the test runs on by default; you can find a list of possible options via the client APIbrowsersADD stringcategorystringenumTest categorysiteappAllowed:siteappconnection_idstringConnection to route test execution through (geographic location or custom tunnel)reroute_geostringDeprecated: use connection_id insteaddescriptionstringTest notesenvironment_idint32Environment used to get initial_navigate_url (only concerns Visual Editor tests)feature_idint32Test featurelogin_snippet_idint32ID of a snippet to use for login steps at the start of AI test generation. Mutually exclusive with prompt_credentialsowner_idint32Test ownerprioritystringenumTest priorityP1P2P3Allowed:P1P2P3''promptstringPrompt for self-healing snippets or AI generated testsprompt_credentialsstringLogin credentials for AI test generation (e.g. 'username / password'). Mutually exclusive with login_snippet_idrfml_idstringRFML ID for this testsite_idint32Tested sitestart_uristringThe path this test starts at; if present, must start with a /statestringenumTest stateenableddisableddraftarchivedAllowed:enableddisableddraftarchivedtagsarray of stringsTest tagstagsADD stringtitlestringTest title (maximum length: 255 characters)typestringenumThe type of test to createsnippettestAllowed:snippettestatc_settingsobjectatc_settings objectslimbooleanDefaults to falseIf true, returns less data in order to reduce latency and response sizetruefalseResponses 200Test regeneration started 400Test could not be regenerated 409Another AI generation is already in progressUpdated 4 months ago