Usage
Basic Example
Options
Output as JSON
Config file path
JSON Output
Use Cases
Verify Authentication
CI/CD Verification
Debugging
Multiple Agents
When managing multiple agents with different config files:Information Displayed
Agent Identity
- Agent ID - Unique identifier
- Agent Name - Friendly name (optional)
- Label - Environment label (e.g., hostname)
- Hub URL - Connected hub server
Workspace
- Workspace ID - Workspace identifier
- Workspace Name - Organization name
- Role - Your role (admin, member)
Services
- Exposed Services - Services you’re sharing
- Connected Services - Services you’re accessing
Status
- Online/Offline - Connection status
- Last Seen - Last heartbeat timestamp
Related Commands
connect up- Authenticate and start agentconnect daemon status- Check daemon status- Agents API - Programmatic agent management
Exit Codes
0- Success (agent authenticated)1- Error (not authenticated, network issue)