Skip to main content
GET
Get project usage

Authorizations

Authorization
string
header
required

Project API key. Server-side only.

Path Parameters

projectId
string
required
Pattern: ^prj_[A-Za-z0-9]+$

Query Parameters

from
string<date>

Start of the period (inclusive). Default is the start of the current billing period.

to
string<date>

End of the period (inclusive). Default is today.

Response

Usage of the project.

projectId
string
required
from
string<date>
required
to
string<date>
required
storedSeconds
integer
required

Total stored length of the project's videos, weighted by quality (1 h of 1440p counts as 2 h, 1 h of 4K counts as 4 h), which is what counts against the plan's stored-hours limit.

watchedMinutes
integer
required

Minutes watched by viewers in the period.