Skip to content
Local APIBrowser profiles

Get browser profile details ​

Version overview
GET
/api/v1/browsers/{envId}

Return the specified browser profile for the current user and team, including active/inactive status and local availability.

Request parameters

Authorization Bearer Token

Include your API Key as a Bearer token in the Authorization request header.

Authorization: Bearer <api-key>

Path parameters

1
Fields
stringrequired
Unique browser profile ID
Example"env_01JABCDEF1234567890"
minLength: 1

Request code examples

JavaScript / TypeScript: Node.js 18+ with fetch; PHP: cURL extension; Go: 1.16+; Java: JDK 11+. Replace the token and example parameter values before running.

curl -H 'Authorization: Bearer <TOKEN>' 'http://local.zhongyibrowser.com:39025/api/v1/browsers/env_01JABCDEF1234567890'

Responses

Success: code = 0. Failure: code > 0. Select a status to view its fields and example. Expand objects to inspect nested fields. Optional fields may be omitted.

Details of the specified browser profile

Body

application/jsonBrowserDetailSuccessResponse
Fields
numberrequired
Business status code; always 0 on success
Enum
stringrequired
Business status message; always success on success
Enum
objectrequired
Endpoint business data
Example

Generated from the schema; not a live response.

{
  "code": 0,
  "message": "success",
  "data": {
    "env_id": "env_01JABCDEF1234567890",
    "env_sn": "string",
    "env_name": "string",
    "sort": 0,
    "remark": "string",
    "group": {
      "id": "string",
      "name": "string"
    },
    "kernel_version": "string",
    "is_available": true,
    "unavailable_reason": "package_limit",
    "status": "active",
    "headless": true,
    "ws_endpoint": "string"
  }
}

View all business error codes and HTTP statuses

ZYBrowser Local API documentation