Skip to main content

AiExportInput

Site-data export settings for createAiExport. Dates must be UTC midnights, ordered, and no more than 90 days apart.

input AiExportInput {
siteId: Int!
startAt: Int!
endAt: Int!
features: [String!]!
notificationEmail: String!
}

Fields​

AiExportInput.siteId ● Int! non-null scalar​

Site ID from sites; requires site access and view access for every selected feature.

AiExportInput.startAt ● Int! non-null scalar​

Inclusive Unix seconds at UTC midnight; must not be in the future and must precede endAt.

AiExportInput.endAt ● Int! non-null scalar​

Exclusive Unix seconds at UTC midnight; after startAt, at most 90 days later, and no more than 24 hours beyond now.

AiExportInput.features ● [String!]! non-null scalar​

Nonempty list of distinct, case-sensitive strings: HEATMAPS, RECORDINGS, SURVEYS, WEB_ANALYTICS. Web analytics must fall within available history.

AiExportInput.notificationEmail ● String! non-null scalar​

Completion-notification email, trimmed before validation; at most 254 bytes and must contain a valid address.

Member Of​

createAiExport mutation