Stats:Projects

Show Project Stats

Retrieve stats for a project. This endpoint provides statistics for a specific project identified by its project-id.

Requires api token with one of the following permissions

Read detailed stats

Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.

An expiring access token created with the all:delegate_to_contact_permissions scope and an authorization granting the view-stats permission on this folder can also be used.

get/stats/projects/{projectId}

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/stats/projects/{projectId}
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

The hashed ID or numeric ID of the project (e.g., "4d23503f70" or "22570")

The Hashed ID or ID of the project for which you want to retrieve stats.

Headers

X-Wistia-API-Versionstring required

Response

Success response with the stats of the project.

load_countinteger

The total number of times the videos in this project have been loaded.

play_countinteger

The total number of times the videos in this project have been played.

hours_watchednumber float

The total time spent viewing the videos in this project.

number_of_videosinteger

The total number of videos in this project.

Changes

No recorded changes to this operation across all 1 revision of this API.