tmh, the TeachMeHIPAA CLI

tmh events list

List all events

Synopsis

Returns a list of the organization’s events from the last 30 days, oldest first. Pass the last eventId you processed as after to resume where you stopped, and type to list one event type.

–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: webhooks:manage or audit:read

tmh events list [flags]

Options

      --after nextCursor   Return events after this event id (exclusive). The previous page's nextCursor. (also --cursor)
      --all                follow every page and print all the items as one JSON array; --limit sets the page size
  -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
      --type string        Filter to one event type; one of: enrollment.certified, seat.consumed, seat.freed, learner.invited, learner.started, learner.certified, learner.expiring, learner.expired, learner.removed, invite.bounced, certificate.revoked, seats.low

Options inherited from parent commands

      --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

SEE ALSO