Skip to main content

recordingsDataForAi

Returns a JSON-encoded array sampling at most 70 matching recordings longer than 20 seconds that the current user has not watched; order is unspecified. Entries contain hashed recording_id, first_page_url_normalized, last_page_url_normalized, browser, os, device, country, duration (seconds), number_of_visits, visited_pages_count, referrer_url, tags, clicks_count, scrolls_count, events_count, errors_count, goal_conversion_count, final_worth and max_worth (scaled by 10,000), and their currency. Use recordingsList for sorted or watched matches and recordingsCount for totals. Requires recordings view access.

recordingsDataForAi(
siteId: Int!
filters: String!
): String!

Arguments​

recordingsDataForAi.siteId ● Int! non-null scalar​

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

recordingsDataForAi.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​

String scalar​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.