Skip to content

Schemas

PlanOffer

A plan and the limits it sets. A limit that is absent is not set by the plan. Test accounts have none of the plan's limits on storage, minutes and clips.

FieldDescription
id string, requiredThe plan's identifier, as plan.id in getUsage. New plans may be added.
name string, requiredThe plan's name, for display.
limits Limits, required
storageLimitBytes integer (int64), optionalThe storage for source videos, as storage.limitBytes in getUsage.
minutesLimitSeconds integer (int64), optionalThe seconds of video you can analyse per period, as minutes.limitSeconds in getUsage.
clipsLimit integer, optionalThe clips you can make per period, as clips.limit in getUsage.
price PlanPrice, optional

Uses Limits, PlanPrice.