Headers

Header name Description
Content-Type
required
application/json
X-API-KEY
required
YOUR_API_KEY

Params

Param name Description
project_id
required

Project ID

Validations:

  • Must be a String

Examples

// Project not found
GET /api/v2/projects/not-found-id/stats
404
{
  "error": "project not found"
}
// Succesful request
GET /api/v2/projects/s3wOBvkQAyOydBY3WcEe/stats
200
{
  "stats": {
    "assets": 0,
    "projects": 0,
    "total_size": 0,
    "media_types": {
      "placeholder": 0,
      "video": 0,
      "image": 0,
      "audio": 0,
      "article": 0,
      "document": 0,
      "other": 0,
      "processing": 0,
      "project": 0
    }
  }
}

Errors

Code Description
401 Unauthorized
404 Not found
500 Internal Server Error
422 Missing parameters