Skip to main content

/config API

The /config API returns your worker's current configuration. Available on Private Deployment and Enterprise Docker plans only.

Get Worker Configuration

Issue a GET request to /config:

curl -X GET \
https://production-sfo.browserless.io/config?token=YOUR_API_TOKEN_HERE

The response returns a JSON object like:

{
"allowCORS": true,
"allowFileProtocol": false,
"allowGetCalls": false,
"concurrent": 10,
"data": "/tmp/browserless-data-dirs",
"debug": "browserless*,-**:verbose",
"errorAlertURL": null,
"healthFailureURL": null,
"host": "localhost",
"maxCPU": 99,
"maxMemory": 99,
"metricsJSONPath": "/tmp/browserless-metrics.json",
"port": 3001,
"queued": 10,
"queuedAlertURL": null,
"rejectAlertURL": null,
"retries": 5,
"timeout": 30000,
"timeoutAlertURL": null,
"token": "6R0W53R135510"
}