Skip to content

Statistics Resource

Overview

The Statistics API helps you to obtain usage statistics easily. You can retrieve information on your conversion usage, storage usage, or bandwidth usage. The statistics data can be queried individually at a "per-day" granularity or you can also query aggregated data between a given start and end date.

Endpoints

  • GET /stats/conversion: Get conversion statistics.
  • GET /stats/storage: Get storage statistics.
  • GET /stats/bandwidth: Get bandwidth statistics.
  • GET /stats/bandwidth/tags/{tag}: Get bandwidth statistics for a specific AutoGraph Tag.
  • GET /stats/bandwidth/tags: Get bandwidth statistics for the top 10 users with the highest bandwidth usage.

Authentication

All endpoints require a Bearer token for authentication.

Supported Methods

  • GET: Retrieve various usage statistics.

Headers

  • Authorization: Bearer [AUTH_TOKEN]

Common Parameters

  • format: string (Optional)
    Values: json, xml
    Overrides the Request Accept header.
  • human: boolean (Optional)
    Values: true, false
    If 'true', the response will be in a structured, more human-readable form.
  • view: string (Optional)
    Values: user, application
    Default: user
  • current_subscription: boolean (Optional)
    Values: true, false
    Default: false
  • from_date: string (Optional)
    Format: YYYY-MM-DD'T'hh:mm:ss'Z'
  • to_date: string (Optional)
    Format: YYYY-MM-DD'T'hh:mm:ss'Z'
  • action: string (Optional)
    Values: aggregate

For detailed information about each method, please refer to the respective documentation files.