# Get browser profile lock status

Report whether a browser profile is currently held by another team member.
- **Effect**: none. Read-only. Safe to retry with bounded backoff.
- **Semantics**: `true` requires all of — the team has the security lock feature enabled, a lock exists, and the holder is someone other than the caller. A lock is held per member with an expiry, so it can lapse on its own.

Endpoint: POST /env/lock/query
Version: 2026-09-05
Security: OpenApiBearer

## Security:

  - `OpenApiBearer` (unknown)
    http bearer JWT

## Request fields (application/json):

  - `envId` (string, required)
    Browser profile (environment) ID. Serialized as a decimal string to avoid JavaScript
precision loss on 64-bit integers.
    Example: 1800000000000001

## Response 200:

  - `200` (unknown)
    Success

## Response 200 fields (application/json):

  - `code` (integer, required)
    Return result code. `0` means success; other codes indicate exceptions.
    Example: 0

  - `msg` (string | null, required)
    Error message. Usually `null` on success.
    Example: null

  - `requestId` (string)
    Operation request ID. This field may be present when the request passes through the API gateway.
    Example: 1d4f3ea968664593860b94b35d4ebf5e

  - `data` (object, required)

  - `data.envId` (string)
    Browser profile (environment) ID. Serialized as a decimal string to avoid JavaScript
precision loss on 64-bit integers.
    Example: 1800000000000001

  - `data.locked` (boolean)
    Whether the profile is locked by another member.
    Example: false

