# Get browser profile details

Return the full configuration of a single browser profile.

Endpoint: POST /env/detail
Version: 1.0.0
Security: OpenApiBearer

## 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 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.id` (string)
    Browser profile (environment) ID. Serialized as a decimal string to avoid JavaScript
precision loss on 64-bit integers.
    Example: 1800000000000001

  - `data.envName` (string)
    Profile name.
    Example: marketing-01

  - `data.browserTypeId` (integer)
    Browser type:
- `1` — Chrome
- `2` — Firefox
    Enum: 1, 2

  - `data.operatorSystemId` (integer)
    Operating system:
- `1` — Windows
- `2` — macOS
- `3` — Android
- `4` — iOS
- `5` — Linux
    Enum: 1, 2, 3, 4, 5

  - `data.groupId` (string)
    Group ID. `0` means ungrouped.
    Example: 0

  - `data.groupName` (string | null)
    Group name.
    Example: Marketing

  - `data.tagIds` (array)
    Tag IDs.
    Example: ["1800000000000301"]

  - `data.tagInfos` (array)
    Tags on the profile. Empty array when there are none.

  - `data.tagInfos.id` (string)
    Tag ID.
    Example: 1800000000000301

  - `data.tagInfos.tagName` (string)
    Tag name.
    Example: important

  - `data.proxyId` (string | null)
    Proxy ID bound to the profile.
    Example: 1800000000000101

  - `data.isEncrypt` (integer)
    Whether the profile is encrypted.
    Enum: 0, 1

  - `data.envRemark` (string | null)
    Profile remark.
    Example: Created through the Open API

  - `data.uaVersion` (integer)
    UA major version.
    Example: 124

  - `data.browserCore` (integer)
    Kernel major version.
    Example: 124

  - `data.accountInfo` (any)
    Platform account bound to the profile. `null` when none is configured.

  - `data.accountInfo.username` (string)
    Platform account username.
    Example: account@example.com

  - `data.accountInfo.password` (string)
    Platform account password.
    Example: secret

  - `data.accountInfo.siteId` (string)
    Site ID.
    Example: 1800000000000201

  - `data.accountInfo.platformId` (string, required)
    Platform ID. `9999` means a custom platform.
    Example: 9999

  - `data.accountInfo.customerUrl` (string)
    Custom platform URL. Required when `platformId` is `9999`. Must be a valid URL.
    Example: https://example.com

  - `data.accountInfo.otpSecret` (string)
    Two-factor authentication (2FA) secret.
    Example: BASE32SECRET

  - `data.isShowAccount` (integer)
    Password protection switch.
    Enum: 0, 1

  - `data.afterStartupConfig` (any)
    Behavior applied after the browser starts.

  - `data.afterStartupConfig.afterStartup` (integer)
    Startup behavior. `1` to `4`.
    Enum: 1, 2, 3, 4

  - `data.afterStartupConfig.autoOpenUrls` (array)
    Example: ["https://example.com"]

  - `data.afterStartupConfig.platformUrl` (string | null)
    Platform URL opened after startup.
    Example: https://platform.example.com

  - `data.startupParams` (array)
    Example: ["--disable-notifications"]

  - `data.cookies` (string | null)
    Cookies as a JSON text payload.
    Example: [{"name":"sid","value":"abc"}]

