Skip to main content

recordingsCount

Returns the total recordings matching a site and filter, or null on plans where recording totals are not computed. Use this for totals instead of counting a page or the capped recordingsDataForAi sample. Requires recordings view access.

recordingsCount(
site: Int!
filters: String!
): Int

Arguments​

recordingsCount.site ● Int! non-null scalar​

Site id from sites; the site must be accessible to the current viewer.

recordingsCount.filters ● String! non-null scalar​

JSON-encoded string. Envelope: {"version":2,"operator":"AND","conditions":[...]}, where operator is uppercase AND or OR and conditions is a non-empty list of nested groups or leaves. A leaf has criteria, comparison only when the criterion takes one, and value or values (plus multiple_values where required). Call recordingsCriteriaDefinition for the criteria catalog; the recordings-filter skill is the long-form reference. Example: {"version":2,"operator":"AND","conditions":[{"criteria":"date_range","value":{"special":"last 30 days"}}]}

Type​

Int scalar​

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.