List all learners
Returns a list of the organization’s learners in one course, with each learner’s status, dates and current certificate. Filter by status, or find one learner by email or externalId.
–all follows every page, keeping the other flags, and prints all the items as one JSON array, so | jq works; add –ndjson to print one compact item per line as each page arrives.
Scopes: learners:read
tmh learners list [flags]
--all follow every page and print all the items as one JSON array; --limit sets the page size
--course-id string The course. Defaults to the organization's default course.
--cursor nextCursor The nextCursor from the previous page.
--email string Email
--external-id externalId The integration's own id for the learner (unique per organization), or the SCIM externalId when none was set.
-h, --help help for list
--limit int How many objects to return, between 1 and 100. Defaults to 20.
--ndjson with --all, print one compact JSON item per line as each page arrives
--status string Status; one of: not_started, invite_bounced, in_progress, compliant, expiring_soon, expired, removed
--idempotency-key string Idempotency-Key for the write, instead of a generated one
--live use the "live" profile
--max-retries int times to retry a transient failure of a request that is safe to replay (default 2)
--profile string profile to use: "sandbox" (default) or "live"
--show-headers print each HTTP response's status and headers to stderr
--verbose print method, path, status, latency and request id of each HTTP attempt to stderr