Toolkit AI
Generate a test dataset for a form
Generates N cohesive rows of synthetic test data for a form, honouring per-field natural-language rules (LV-3626). Also serves column regeneration via targetFields + existingRows.
post/api/v1/toolkit_ai/generate-dataset
Request
- Base URLhttps://toolkit.browserstack.com
- AuthAPI key in cookie _wdt_rails_session
Request body
Example request
{
"fields": [
{
"name": "phone",
"type": "tel",
"label": "Phone number",
"rule": "Indian phone numbers, +91, 10 digits"
}
],
"rowCount": 20,
"formContext": "Signup form",
"locale": "IN"
}Response
Dataset generated successfully
Example response
{
"success": true,
"response": {
"success": true,
"message": "Dataset generated successfully",
"rows": [
{
"phone": "+91 9812345670"
},
{
"phone": "+91 9876501234"
}
],
"notes": null,
"processing_time_ms": 6100,
"limit_remaining": 3
}
}Changes
No recorded changes to this operation across all 1 revision of this API.