Docs
Docs
/v1/workspace ยท Workspace & Analytics
Workspace & Analytics API
Workspace endpoints report plan, credits, limits and volume. Analytics endpoints read account growth, sent-post performance, auto-reply activity and the public creator leaderboard. All are read-only and safe for read-only keys.
Workspace summary
GET
/api/v1/workspace{
"plan": { "id": "xbeast-pro", "name": "Pro", "is_free": false, "status": "active" },
"credits": {
"used": 120,
"available": 880,
"max": 1000,
"period_start": "2026-11-01T00:00:00.000Z",
"reset_at": "2026-12-01T00:00:00.000Z"
},
"limits": {
"max_accounts": 3,
"max_presets": 100,
"max_schedule_posts": 100,
"max_queue_posts": 300,
"max_auto_reply": 50
},
"accounts": {
"total": 2,
"posting_enabled": 2,
"needs_reconnect": 0,
"connected_platforms": ["x"]
},
"posts": { "upcoming": 12, "drafts": 4, "errors": 0, "sent": 240 },
"attention": { "post_errors": 0, "account_errors": 0, "unread": 0 }
}Use
credits.available before generation and posts.upcoming to see how much content is already queued.Credits
GET
/api/v1/creditsA smaller legacy response with credits used, available, limit and reset date. Prefer
/workspace for new integrations.Analytics
Account growth
GET
/api/v1/accounts/:id/analyticsQuery
curl "https://xbeast.io/api/v1/accounts/YOUR_ACCOUNT_ID/analytics?granularity=week" \ -H "Authorization: Bearer xb_live_YOUR_KEY"
Returns
points (followers, following, tweets, likes, listed) plus a summary with first/latest values and changes.Sent-post performance
GET
/api/v1/accounts/:id/postsQuery
Auto-reply activity
GET
/api/v1/accounts/:id/auto-repliesQuery
Creator leaderboard
GET
/api/v1/leaderboardQuery
Analytics are sampled
XBeast stores periodic snapshots, so a just-connected account may have few or no points. Growth numbers depend on how long the account has been connected.