vidinfra
  1. Analytics Direct Api
vidinfra
  • Documentation
    • Guides
      • Welcome
      • Getting Started
        • What is Vidinfra?
        • Quick Start Guide
        • Publish First Video
        • FAQs
      • Upload & Import Videos
        • Upload from Device
        • Import from Vimeo
        • Import from YouTube
        • Import from Zoom
      • DRM
        • Widevine DRM
        • FairPlay DRM
      • Accounts
        • Accounts
      • Organization Settings
        • User Management
        • Billing
        • Settings
  • API Reference
    • Projects
      • Get projects list
      • Get project
      • Create New Project
      • Destory Project
      • Update project
      • upload logo
      • Get Project Settings
      • Upsert Project Settings
    • importer.vidinfra.com
      • welcome
      • Debug
      • test
    • Auth
      • User Registration
      • User Login
      • Verify-email
      • Forgot Password
      • Forgot Password Verify OTP
      • Forgot Password Set
      • Resend OTP
      • Logout
      • Set Password
      • Check Account exists
      • Update Password
      • Google Oauth Redirect
      • Google Oauth Callback
      • api-access-check
      • New Auth token using Refresh token
      • Github Oauth Redirect
      • Google Oauth Callback Copy
      • Get User Sessions
      • Delete User Sessions
    • User
      • Profiles
      • Profile Updates
      • Profile Avatar update
    • Organization
      • List organizations
      • Create an organization
      • Get an organization
      • Update an organization
      • Switch an organization
    • Organization's invitations
      • Sent invitation list
      • Send invitation
      • Show Token
      • Accept Invitation
      • Reject Invitation
    • Audits
      • Audits
    • Members
      • Members
      • test permission
    • API Keys
      • Get All API keys
      • Get API Key
      • Create API Keys
      • Destory API Keys
      • api key middleware (test)
    • Folders
      • Get All Folders
      • Create Folder
      • Get Folder by ID
      • Update Folder
      • Move Folder
      • Bulk Move Folders (empty)
      • Delete Folder
      • Get Folder Tree
    • Videos
      • Get All video of a project
      • Get a Video
      • Get Video using Custom field
      • create video
      • Upload thumbnail
      • Update video
      • Destroy video
      • Search Video
      • batch video Assign to collecition
      • Mark Thumbnail As Default
      • Get Video Timelines
    • Video Metas
      • Create or Update Video Meta Data
      • Get All Meta Data of a Video
    • Video Captions
      • create video caption
      • Delete a video Caption
      • Get video caption
    • Video Chapter
      • create video chapters
    • Uploads
    • Tags
      • Get all tags upder a project
      • Create Tag
      • Delete tag
    • Players
      • Get all Players
      • Create Player
      • Get Specific player
      • update player
      • Delete Player
      • Player Mark as default
    • Webhook Endpoints
      • Get webhook
      • create web hook
      • GET Webhook by ID
      • Update webhook
      • Delete web hook
    • Advertisements
      • get all ads
      • create ads
      • get single advertisement
      • Update ads
      • Delete ads
    • Webhook Event Logs
      • Get webhook event logs
      • Resend Webhook event by Id
      • Resend All Webhook Event
    • Analytics Direct Api
      • geo-distribution
        GET
      • Project Views
        GET
      • avg video watch
        POST
      • Total watch Time
        POST
      • Project Avg Watch per Unique user
        POST
      • Total Player Error
        GET
      • project popularity-analysis
        GET
      • Project Collection Insights
        POST
      • Collection Views
        POST
      • Collection avg Watch time
        POST
      • Collection Avg Watch per unique user
        POST
      • Collection Geo Distribution
        POST
      • Get all Users
        GET
      • User media views
        POST
      • User Avg video watch
        POST
      • user Player log
        POST
      • user sessions
        POST
      • Get all Video
        GET
      • video Player error
        POST
      • Video View
        POST
      • video Geo Distribution
        POST
      • video Avg watch
        POST
      • copy
        POST
    • Streams
      • Create livestream
      • Get all stream
      • Get a livestream
      • update status of livestream
      • delete a stream
      • get livestream historys
    • Stream Metas
    • Usages
      • Bandwidth Usage
      • Storage Usage
      • Get Over Usage
    • Encoding profile
      • Get all profiles
      • Create profile
      • Get A profile
      • Update a encoding profile
      • Delete a encoding profile
      • Make a profile default
    • Project Matrics
      • Get Matrics
      • project Usages
    • Access Control
      • Put Access Control
      • Get access Control
    • Analytics
      • Project Get geo-distribution
      • project views
      • Project avg video watch
      • Project Total Watch
      • Project Avg Watch per Unique user
      • Project All Player Errors
      • Project Popularity Analysis
      • Project Collections insights
      • Collection Geo Distribution
      • Collection avg watch time
      • Collection avg watch per unique User
      • Collection Player error
      • Video Geo Distribution
      • Video views
      • Video Avg Watch
      • Video Player Log
      • User
      • User Avg Video Watch
      • User Total Watch
      • User player error log
    • Plan
      • public plans
      • current plan
      • Account Plans
      • Get plan by ID
      • Admin Get Plans
      • Admin Create plan
      • Admin Get Plan by ID
      • Admin Update Plan by ID
      • Admin Delete plan By ID
      • Admin Get Plan Metrices
      • Admin Get Plan Metrices By Type
      • Admin Create Plan Matrices By Type
      • Admin Update Plan Metrices By ID
    • Upload Tokens
      • Obtain credentials before upload
    • subscribe
      • stripe redirect subscription
        • create checkout session
        • over usage payment
      • current subscription
      • discribe a plan by planCode
      • subscribe
      • cancel subscription
      • over usage payment
      • Stripe over usage autopay payment (test)
    • Transaction
      • Get All Transaction
    • Invoice
      • Get All Invoices
      • Get Invoice by ID
    • vimeo video importer
      • vimeo job list
      • Vimeo videos by migration id
      • Vimeo Set video importer
      • Vimeo sync import
      • Vimeo import videos
      • Get pull videos
      • pull video from url
    • test
      • Welcome to vidinfra Copy
      • metrics
    • transcoding service
      • get all jobs
      • get a job
      • create jobs
      • Update a job
      • Delete a job
      • create job v2
    • transcoding service v2
      • create jobs
      • get all jobs
      • get a job
      • Update a job
      • Delete a job
    • Welcome to vidinfra
      GET
    • health check
      GET
    • Regions List
      GET
    • key
      POST
    • Untitled Endpoint
      GET
  1. Analytics Direct Api

Project Avg Watch per Unique user

Developing
POST
https://gotipath-stream.analytics.gotipath.com/report/v1/66a1084b-4b6b-4001-a4ad-d34d13463068/dataset

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
object {0}
Example
{
	"end_time": "2024-03-02T17:59:59.999Z",
	"filters": [],
	"group_bys": [
		"time_interval_hour"
	],
	"metrics": [
		{
			"filters": [],
			"group_bys": [],
			"name": "avg_media_watch_time_by_unique_user"
		}
	],
	"start_time": "2024-02-24T17:59:59.999Z"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gotipath-stream.analytics.gotipath.com/report/v1/66a1084b-4b6b-4001-a4ad-d34d13463068/dataset' \
--header 'Content-Type: application/json' \
--data-raw '{
	"end_time": "2024-03-02T17:59:59.999Z",
	"filters": [],
	"group_bys": [
		"time_interval_hour"
	],
	"metrics": [
		{
			"filters": [],
			"group_bys": [],
			"name": "avg_media_watch_time_by_unique_user"
		}
	],
	"start_time": "2024-02-24T17:59:59.999Z"
}'

Responses

🟢200OK
application/json
Body
message
string 
required
result
object 
required
metrics
array [object {4}] 
required
group_bys
array[string]
required
filters
array[string]
required
Example
{"message":"Dataset retrieved successfully","result":{"metrics":[{"name":"avg_media_watch_time_by_unique_user","group_bys":["time_interval_hour"],"filters":null,"data":[{"avg_media_watch_time_by_unique_user":4.888888888888889,"time_interval_hour":"2024-02-28T05:00:00Z"},{"avg_media_watch_time_by_unique_user":13.904761904761905,"time_interval_hour":"2024-02-28T06:00:00Z"},{"avg_media_watch_time_by_unique_user":172.2,"time_interval_hour":"2024-02-28T07:00:00Z"},{"avg_media_watch_time_by_unique_user":143.22222222222223,"time_interval_hour":"2024-02-28T08:00:00Z"},{"avg_media_watch_time_by_unique_user":178.43243243243242,"time_interval_hour":"2024-02-28T09:00:00Z"},{"avg_media_watch_time_by_unique_user":26.613636363636363,"time_interval_hour":"2024-02-28T10:00:00Z"},{"avg_media_watch_time_by_unique_user":8.944444444444445,"time_interval_hour":"2024-02-28T11:00:00Z"},{"avg_media_watch_time_by_unique_user":6.5,"time_interval_hour":"2024-02-28T12:00:00Z"},{"avg_media_watch_time_by_unique_user":22.13953488372093,"time_interval_hour":"2024-02-28T13:00:00Z"},{"avg_media_watch_time_by_unique_user":161.69642857142858,"time_interval_hour":"2024-02-28T14:00:00Z"},{"avg_media_watch_time_by_unique_user":1251.7291666666667,"time_interval_hour":"2024-02-28T15:00:00Z"},{"avg_media_watch_time_by_unique_user":340.10526315789474,"time_interval_hour":"2024-02-28T16:00:00Z"},{"avg_media_watch_time_by_unique_user":97.37777777777778,"time_interval_hour":"2024-02-28T17:00:00Z"},{"avg_media_watch_time_by_unique_user":116.2,"time_interval_hour":"2024-02-28T18:00:00Z"},{"avg_media_watch_time_by_unique_user":260.22222222222223,"time_interval_hour":"2024-02-28T19:00:00Z"},{"avg_media_watch_time_by_unique_user":8.875,"time_interval_hour":"2024-02-28T20:00:00Z"},{"avg_media_watch_time_by_unique_user":4.25,"time_interval_hour":"2024-02-28T21:00:00Z"},{"avg_media_watch_time_by_unique_user":7,"time_interval_hour":"2024-02-28T22:00:00Z"},{"avg_media_watch_time_by_unique_user":3.5,"time_interval_hour":"2024-02-28T23:00:00Z"},{"avg_media_watch_time_by_unique_user":425.2,"time_interval_hour":"2024-02-29T00:00:00Z"},{"avg_media_watch_time_by_unique_user":127.84615384615384,"time_interval_hour":"2024-02-29T01:00:00Z"},{"avg_media_watch_time_by_unique_user":119.78947368421052,"time_interval_hour":"2024-02-29T02:00:00Z"},{"avg_media_watch_time_by_unique_user":274.5483870967742,"time_interval_hour":"2024-02-29T03:00:00Z"},{"avg_media_watch_time_by_unique_user":8.6,"time_interval_hour":"2024-02-29T04:00:00Z"},{"avg_media_watch_time_by_unique_user":17.04,"time_interval_hour":"2024-02-29T05:00:00Z"},{"avg_media_watch_time_by_unique_user":75.90384615384616,"time_interval_hour":"2024-02-29T06:00:00Z"},{"avg_media_watch_time_by_unique_user":79.29411764705883,"time_interval_hour":"2024-02-29T07:00:00Z"},{"avg_media_watch_time_by_unique_user":85.92307692307692,"time_interval_hour":"2024-02-29T08:00:00Z"},{"avg_media_watch_time_by_unique_user":340.4583333333333,"time_interval_hour":"2024-02-29T09:00:00Z"},{"avg_media_watch_time_by_unique_user":121.86111111111111,"time_interval_hour":"2024-02-29T10:00:00Z"},{"avg_media_watch_time_by_unique_user":8.033333333333333,"time_interval_hour":"2024-02-29T11:00:00Z"},{"avg_media_watch_time_by_unique_user":42.56818181818182,"time_interval_hour":"2024-02-29T12:00:00Z"},{"avg_media_watch_time_by_unique_user":225.91304347826087,"time_interval_hour":"2024-02-29T13:00:00Z"},{"avg_media_watch_time_by_unique_user":48.5625,"time_interval_hour":"2024-02-29T14:00:00Z"},{"avg_media_watch_time_by_unique_user":162.6,"time_interval_hour":"2024-02-29T15:00:00Z"},{"avg_media_watch_time_by_unique_user":24.57894736842105,"time_interval_hour":"2024-02-29T16:00:00Z"},{"avg_media_watch_time_by_unique_user":187.24324324324326,"time_interval_hour":"2024-02-29T17:00:00Z"},{"avg_media_watch_time_by_unique_user":120.23684210526316,"time_interval_hour":"2024-02-29T18:00:00Z"},{"avg_media_watch_time_by_unique_user":331.27777777777777,"time_interval_hour":"2024-02-29T19:00:00Z"},{"avg_media_watch_time_by_unique_user":2514.703703703704,"time_interval_hour":"2024-02-29T20:00:00Z"},{"avg_media_watch_time_by_unique_user":6,"time_interval_hour":"2024-02-29T21:00:00Z"},{"avg_media_watch_time_by_unique_user":1117,"time_interval_hour":"2024-02-29T22:00:00Z"},{"avg_media_watch_time_by_unique_user":5,"time_interval_hour":"2024-02-29T23:00:00Z"},{"avg_media_watch_time_by_unique_user":558.7142857142857,"time_interval_hour":"2024-03-01T00:00:00Z"},{"avg_media_watch_time_by_unique_user":7.714285714285714,"time_interval_hour":"2024-03-01T01:00:00Z"},{"avg_media_watch_time_by_unique_user":385.4,"time_interval_hour":"2024-03-01T02:00:00Z"},{"avg_media_watch_time_by_unique_user":344.88,"time_interval_hour":"2024-03-01T03:00:00Z"},{"avg_media_watch_time_by_unique_user":271.5405405405405,"time_interval_hour":"2024-03-01T04:00:00Z"},{"avg_media_watch_time_by_unique_user":192.78048780487805,"time_interval_hour":"2024-03-01T05:00:00Z"},{"avg_media_watch_time_by_unique_user":152.61702127659575,"time_interval_hour":"2024-03-01T06:00:00Z"},{"avg_media_watch_time_by_unique_user":136.34615384615384,"time_interval_hour":"2024-03-01T07:00:00Z"},{"avg_media_watch_time_by_unique_user":4.153846153846154,"time_interval_hour":"2024-03-01T08:00:00Z"},{"avg_media_watch_time_by_unique_user":417.03333333333336,"time_interval_hour":"2024-03-01T09:00:00Z"},{"avg_media_watch_time_by_unique_user":449.10714285714283,"time_interval_hour":"2024-03-01T10:00:00Z"},{"avg_media_watch_time_by_unique_user":492.9166666666667,"time_interval_hour":"2024-03-01T11:00:00Z"},{"avg_media_watch_time_by_unique_user":18.516129032258064,"time_interval_hour":"2024-03-01T12:00:00Z"},{"avg_media_watch_time_by_unique_user":53.7,"time_interval_hour":"2024-03-01T13:00:00Z"},{"avg_media_watch_time_by_unique_user":195,"time_interval_hour":"2024-03-01T14:00:00Z"},{"avg_media_watch_time_by_unique_user":212.8048780487805,"time_interval_hour":"2024-03-01T15:00:00Z"},{"avg_media_watch_time_by_unique_user":389.9512195121951,"time_interval_hour":"2024-03-01T16:00:00Z"},{"avg_media_watch_time_by_unique_user":108.4054054054054,"time_interval_hour":"2024-03-01T17:00:00Z"},{"avg_media_watch_time_by_unique_user":574.875,"time_interval_hour":"2024-03-01T18:00:00Z"},{"avg_media_watch_time_by_unique_user":103.04761904761905,"time_interval_hour":"2024-03-01T19:00:00Z"},{"avg_media_watch_time_by_unique_user":1253.857142857143,"time_interval_hour":"2024-03-01T20:00:00Z"},{"avg_media_watch_time_by_unique_user":4.857142857142857,"time_interval_hour":"2024-03-01T21:00:00Z"},{"avg_media_watch_time_by_unique_user":4.666666666666667,"time_interval_hour":"2024-03-01T22:00:00Z"},{"avg_media_watch_time_by_unique_user":5,"time_interval_hour":"2024-03-01T23:00:00Z"},{"avg_media_watch_time_by_unique_user":476.1666666666667,"time_interval_hour":"2024-03-02T00:00:00Z"},{"avg_media_watch_time_by_unique_user":355.5,"time_interval_hour":"2024-03-02T01:00:00Z"},{"avg_media_watch_time_by_unique_user":522.1052631578947,"time_interval_hour":"2024-03-02T02:00:00Z"},{"avg_media_watch_time_by_unique_user":256.4782608695652,"time_interval_hour":"2024-03-02T03:00:00Z"},{"avg_media_watch_time_by_unique_user":301.3421052631579,"time_interval_hour":"2024-03-02T04:00:00Z"},{"avg_media_watch_time_by_unique_user":1333.2650602409637,"time_interval_hour":"2024-03-02T05:00:00Z"},{"avg_media_watch_time_by_unique_user":601.0833333333334,"time_interval_hour":"2024-03-02T06:00:00Z"}]}],"group_bys":["time_interval_hour"],"filters":[]}}
Previous
Total watch Time
Next
Total Player Error
Built with