v1

latestOpenAPI 3.1.0AGPL-3.02026-07-17644498.1 KB
Tests

Validate a test script

Validate a Playwright or k6 script using the same server-side rules as the Playground and CLI preflight checks.

post/api/validate-script

Request body

scriptstring required

Test script content to validate

testType'browser' | 'api' | 'performance' | 'database' | 'custom'

Optional expected test type used for script/type compatibility checks

Response

Script is valid

validtrue
messagestring
warningsstring[]