/integrations/script-generator
POST/integrations/script-generator
Generates a Browserless automation script (BrowserQL / Playwright JS / Playwright Python) from a natural-language task. A managed agent drives a browser session; its ordered tool-call transcript is rendered into the requested script(s). Streams Server-Sent Events: status, script, complete, error.
Request
Responses
- 400
- 401
- 403
- 404
- 408
- 429
- 500
- 503
The request contains errors or didn't properly encode content.
The request is missing, or contains bad, authorization credentials.
The request targets a destination that is not allowed.
Resource couldn't be found.
The request took has taken too long to process.
Too many requests are currently being processed.
An internal error occurred when handling the request.
Service is unavailable.