Use the ably spaces cursors get command to get all current cursors in a space.
Synopsis
ably spaces cursors get <space-name>Arguments
space-name Required
Required
The name of the space to get cursors for.
Options
--json
Output results as compact JSON. Mutually exclusive with --pretty-json.
--pretty-json
Output results in formatted JSON. Mutually exclusive with --json.
--verbose | -v
Enable verbose logging. Can be combined with --json or --pretty-json.
Examples
Get all cursors in a space:
ably spaces cursors get my-spaceGet cursors in JSON format:
ably spaces cursors get my-space --jsonGet cursors in formatted JSON output:
ably spaces cursors get my-space --pretty-jsonSee also
- Spaces — Explore all
ably spacescommands. - CLI reference — Full list of available commands.