Authorizations
Query Parameters
Minimum length:
1Example:
curl --request GET \
--url https://api.x.com/2/tweets/search/stream/rules/counts \
--header 'Authorization: Bearer <token>'{
"data": {
"all_project_client_apps": [
{
"client_app_id": "<string>",
"rule_count": 123
}
],
"cap_per_client_app": 123,
"cap_per_project": 123,
"client_app_rules_count": {
"client_app_id": "<string>",
"rule_count": 123
},
"project_rules_count": 123
},
"errors": [
{
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}
]
}Retrieves the count of rules in the active rule set for the filtered stream.
curl --request GET \
--url https://api.x.com/2/tweets/search/stream/rules/counts \
--header 'Authorization: Bearer <token>'{
"data": {
"all_project_client_apps": [
{
"client_app_id": "<string>",
"rule_count": 123
}
],
"cap_per_client_app": 123,
"cap_per_project": 123,
"client_app_rules_count": {
"client_app_id": "<string>",
"rule_count": 123
},
"project_rules_count": 123
},
"errors": [
{
"detail": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}
]
}1Show child attributes