socifyr usage
socifyr usage prints your workspace usage against its plan limits, so you can check remaining quota before a batch of posts or a new connection.
bash
socifyr usage [--json]How do I check how much of my plan I have used?
bash
socifyr usageUsage · free plan
Posts 12 / 30
(this month)
X posts 2 / 5
(this month · X bills per post · ~$0.00 spent)
Accounts 2 / 3
Storage 120 MB / 1.0 GBFor an unlimited dimension the limit is shown as ∞. Each line is colored: green below 80 percent, yellow from 80 percent, red at or over the limit. The numbers above are an example; real limits per plan come from the shared plan table, see Usage and billing in the dashboard.
What does socifyr usage --json return?
json
{
"tier": "free",
"uploads": { "used": 12, "limit": 30, "remaining": 18, "unlimited": false },
"accounts": { "used": 2, "limit": 3, "remaining": 1, "unlimited": false },
"xPosts": { "used": 2, "limit": 5, "remaining": 3, "unlimited": false },
"xSpendUsd": 0,
"storage": { "used": 125829120, "limit": 1073741824, "remaining": 947912704, "unlimited": false, "usedBytes": 125829120, "limitBytes": 1073741824 }
}tier is free, pro or business. limit and remaining are null when unlimited is true. xSpendUsd is an estimate of this month's X API spend. Storage values are in bytes.