cURL
curl --request GET \ --url https://api.x.com/2/tweets/search/stream/rules \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "120897978112909812", "tag": "Non-retweeted coffee Posts", "value": "coffee -is:retweet" } ], "meta": { "next_token": "<string>", "result_count": 123, "sent": "<string>", "summary": { "created": 1, "invalid": 1, "not_created": 1, "valid": 1 } } }
Retrieves the active rule set or a subset of rules for the filtered stream.
1 <= x <= 1000
16
Show child attributes