Overview metrics for the dashboard (posts this month, connected platforms, queue, success rate).
GET
/v1/statsAPI key (dra_…) or dashboard JWT
Dashboard overview metrics for the current user.
AuthorizationstringheaderrequiredBearer token. Use a Dravo API key (`dra_...`) or a dashboard JWT.
posts_this_monthintegerPosts published in the current month.
connected_platformsintegerConnected social accounts.
total_platformsintegerPlatforms Dravo supports.
queue_processingintegerJobs currently being delivered.
success_ratefloatShare of successful finished jobs as a percentage (0-100).
const response = await fetch("https://api.dravo.dev/v1/stats", { method: "GET", headers: { "Authorization": "Bearer " + process.env.DRAVO_API_KEY,}});const data = await response.json();console.log(data);{ "posts_this_month": 42, "connected_platforms": 4, "total_platforms": 6, "queue_processing": 1, "success_rate": 98}