~/forge
·
getstream api
interactive
Interactive terminal, type a command below
$
getstream
api QueryReviewQueue
--request
'{ "sort": [{ "field": "flag_count", "direction": -1 }] }'
{ "items": [ … 4 items ], "duration": "24ms" }
$
getstream
api Ban
--request
'{ "target_user_id": "gpu_deals_bot", "reason": "spam" }'
{ "duration": "12ms" }
$
getstream
api QueryBannedUsers
--jq
'.bans[].user_id'
"gpu_deals_bot"
✓
Found, banned, verified — the queue's worst offender is gone in three commands, without opening a dashboard. Undo it with the
Unban
suggestion below.
$
tab
Run
Press Tab to fill the suggested command. Press Enter or Run to execute.
QueryReviewQueue
Moderation
Item
Flags
Reason
user · gpu_deals_bot
7
spam
message · devlog
3
spam link
comment · demo-day
2
blocklist hit
message · art-help
1
harassment
4 rows · 24ms
· QueryReviewQueue
gpu_deals_bot
Moderation
✓
Banned
User
gpu_deals_bot
Reason
spam
Expires
never
Verify with
getstream api QueryBannedUsers
; undo with
Unban
.
Try:
getstream api QueryBannedUsers
getstream api Unban --request '{ "target_user_id": "gpu_deals_bot" }'
getstream token alexc --ttl 2h
help
clear
re-run demo