Gerra LogoGERRA

Dataset Statistics

Get comprehensive statistics for all datasets in your organization

Dataset Statistics

GET/datasets/stats

Retrieve comprehensive statistics for all datasets in your organization, including breakdowns by status, data type, and daily volume.

Headers

HeaderRequiredDescription
Gerra-Api-KeyYesYour API key

Example Request

curl "https://api.gerra.com/datasets/stats" \
  -H "Gerra-Api-Key: gerra_1234567890abcdef"

Response

{
  "total_datasets": 42,
  "total_size_bytes": 10737418240,
  "by_status": {
    "pending": 5,
    "accepted": 30,
    "rejected": 2,
    "for_admin_review": 3,
    "superseded": 1,
    "discarded": 1
  },
  "by_data_type": {
    "episode": 20,
    "synthetic_pov": 15,
    "synthetic_third_person": 7
  },
  "daily_volume_last_7_days": [
    { "date": "2025-01-15", "count": 3 },
    { "date": "2025-01-14", "count": 5 },
    { "date": "2025-01-13", "count": 2 },
    { "date": "2025-01-12", "count": 0 },
    { "date": "2025-01-11", "count": 1 },
    { "date": "2025-01-10", "count": 4 },
    { "date": "2025-01-09", "count": 2 }
  ]
}

Response Fields

FieldTypeDescription
total_datasetsintegerTotal number of datasets
total_size_bytesintegerCombined size of all datasets in bytes
by_statusobjectCount of datasets by status
by_data_typeobjectCount of datasets by data type
daily_volume_last_7_daysarrayDaily dataset creation count for past 7 days

Status Breakdown

StatusDescription
pendingAwaiting your review
acceptedApproved for use
rejectedRejected by your organization
for_admin_reviewBeing reviewed by Gerra team
supersededReplaced by a newer version
discardedDiscarded by Gerra team

Data Type Breakdown

TypeDescription
episodeReal robot deployment recordings
synthetic_povAI-generated first-person video
synthetic_third_personAI-generated third-person video

Error Responses

StatusDescription
401Missing or invalid Gerra-Api-Key header