Skip to content

Check whether a profile is running ​

Check the current running state of a profile by ID.

Definition: GET · Checked on 2026-10-21.

Request ​

http
GET /api/isBrowserRunning

Use the base URL and api-key shown on the client API screen. All examples use 9000 only as a placeholder port; see Overview for authentication.

Query parameters ​

FieldTypeRequiredDescription
idstringYesExisting positive profile ID, Query example ?id=1; obtain it from the profile list

cURL example ​

bash
curl --request GET 'http://127.0.0.1:9000/api/isBrowserRunning?id=1' \
  --header 'api-key: YOUR_API_KEY'

Response example ​

json
true

Current client response fields ​

FieldTypeUsage
successbooleanRequest processing succeeded; not a guarantee that every item was written
databooleantrue means running, false means stopped; a nonexistent ID returns an error

Current-client response and compatible parsing ​

json
{
  "success": true,
  "data": false
}
javascript
function readRunningState(body) {
  if (typeof body === 'boolean') return body;
  if (body?.success === true && typeof body.data === 'boolean') return body.data;
  throw new Error(body?.error || 'Unexpected running-state response');
}

Usage notes ​

  • The online reference defines a JSON boolean response, true or false; current clients return { "success": true, "data": true }. Compatible callers should support both and must not coerce the entire response object to a boolean.
  • The online reference marks id as optional, but always supply it to check a specific profile. Current clients reject a missing id.

For failed requests, check both HTTP status and the error body. See Errors & troubleshooting.