Upstash Documentation

XINFO

Returns information about streams, consumer groups, and consumers.
1 min read

Arguments#

keystringrequired#

The key of the stream.

optionsobjectrequired#

The XINFO subcommand options. Can be one of:

Show GROUPS
type'GROUPS'required#

List all consumer groups for the stream.

Show CONSUMERS
type'CONSUMERS'required#

List all consumers in a consumer group.

groupstringrequired#

The consumer group name.

Response#