iSleep Labs
PlatformHardwareAppsDevelopersBlogRead the docsAsk iSleep简体中文

DOCUMENTATION

iSleep CLI

Inspect members, devices and reports from a terminal or automation pipeline.

01

Install from source

The CLI is a separate client and can also ship in the Self-Hosted offline bundle.

go install github.com/caiqinghua/isleep/integrations/cli/cmd/isleep@latest
02

Configure

Set a deployment endpoint and short-lived token.

isleep auth configure --endpoint https://sleep.example.com --token "$ISLEEP_TOKEN"
03

Query

Use --json for stable automation output.

isleep members list --json
isleep reports latest --member $MEMBER_ID --json
isleep doctor
Still have a question?Ask iSleep
Ask iSleep