Skip to Content

The DomainUsage type of the TypeScript SDK, which domains.getUsage take or answer.

type DomainUsage = {
  days: DomainUsageDay[]
  domain: string
  from: string
  to: string
}

Fields

FieldTypeDescription
daysDomainUsageDay[]Daily storage usage for this domain
domainstringDomain name
fromstringStart date of range (YYYY-MM-DD)
tostringEnd date of range (YYYY-MM-DD)

Used by

MethodWhat it does
domains.getUsageGet daily domain storage metrics

On this page