Skip to main content
GET
/
usage
/
summary
Get usage summary for the org
curl --request GET \
  --url https://app.autoposting.ai/api-proxy/usage/summary \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "period": {
      "start": "2024-01-01T00:00:00Z",
      "end": "2024-02-01T00:00:00Z"
    },
    "posts": {
      "published": 42,
      "scheduled": 8,
      "failed": 2
    },
    "clips": {
      "uploaded": 5,
      "rendered": 12
    },
    "agents": {
      "runs": 30,
      "postsGenerated": 28
    },
    "credits": {
      "allocated": 500,
      "used": 187,
      "remaining": 313
    },
    "aiTokens": {
      "total": 1250000,
      "used": 482000
    }
  }
}

Authorizations

Authorization
string
header
required

API key as Authorization: Bearer sk-social-...

Response

Aggregate usage summary.

success
boolean
required
data
object
required