Skip to main content

Status & IP Detection

Status Overview

The eg status command gives you a combined view of your profile, detected IP, and active sessions in one glance:

eg status
Profile
Organization: Acme Corp
User: Alice Smith ([email protected])
Tier: BUSINESS
Role: Admin

Detected IP
203.0.113.42 (IPv4)

Active Sessions
ID STATUS IP REMAINING
a1b2c3d4 ACTIVE 203.0.113.42 6h 30m

If no sessions are active:

Active Sessions
No active sessions

IP Detection

Check your public IP as seen by the EntryGuard server:

eg ip
203.0.113.42 (IPv4)
info

The eg ip command does not require authentication. It calls the public /detect-ip endpoint using the API URL from your profile (or the default URL if no profile is configured).

JSON Output

Both commands support --output json:

eg status --output json
{
"user": {
"id": "...",
"email": "[email protected]",
"name": "Alice Smith",
"organizationName": "Acme Corp",
"subscriptionTier": "BUSINESS",
"isOrgAdmin": true
},
"sessions": [...],
"ip": {
"ip": "203.0.113.42",
"version": 4,
"timestamp": "2026-02-27T10:00:00Z"
}
}
eg ip --output json
{
"ip": "203.0.113.42",
"version": 4,
"timestamp": "2026-02-27T10:00:00Z"
}