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. This is what counts against the plan's stored-hours limit.

watchedMinutes
integer
required

Minutes watched by viewers in the period.

planId
string

Plan names and prices are subject to change. Examples are not real plans.

Example:

"free"

planStatus
enum<string>
Available options:
active,
pilot,
past_due,
canceled
limits
object

null means no limit.

currentPeriod
object

The billing month that accountUsage and remaining count.

accountUsage
object

Totals for all projects of the account (plan limits are per account).

remaining
object

Headroom left under the plan limits. null means the plan has no limit. Never below 0.