Defines the object schema located at components.schemas.scheduled_query_run in the specification.
If you have scheduled a Sigma query, you'll receive a `sigma.scheduled_query_run.created` webhook each time the query runs. The webhook contains a `ScheduledQueryRun` object, which you can use to retrieve the query results.
Constructors
ScheduledQueryRunscheduledQueryRunCreated :: Intcreated: Time at which the object was created. Measured in seconds since the Unix epoch.
scheduledQueryRunDataLoadTime :: Intdata_load_time: When the query was run, Sigma contained a snapshot of your Stripe data at this time.
scheduledQueryRunError :: Maybe SigmaScheduledQueryRunErrorerror:
scheduledQueryRunFile :: Maybe (Nullable ScheduledQueryRunFile'NonNullable)file: The file object representing the results of the query.
scheduledQueryRunId :: Textid: Unique identifier for the object.
Constraints:
Maximum length of 5000
scheduledQueryRunLivemode :: Boollivemode: Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
scheduledQueryRunResultAvailableUntil :: Intresult_available_until: Time at which the result expires and is no longer available for download.
scheduledQueryRunSql :: Textsql: SQL for the query.
Constraints:
Maximum length of 100000
scheduledQueryRunStatus :: Textstatus: The query's execution status, which will be `completed` for successful runs, and `canceled`, `failed`, or `timed_out` otherwise.
Constraints:
Maximum length of 5000
scheduledQueryRunTitle :: Texttitle: Title of the query.
Constraints:
Maximum length of 5000
Instances4Eq, Show, FromJSON, ToJSON
Eq ScheduledQueryRunDefined in stripeapi-3.0.0.0 · StripeAPI.Types.ScheduledQueryRunShow ScheduledQueryRunDefined in stripeapi-3.0.0.0 · StripeAPI.Types.ScheduledQueryRunFromJSON ScheduledQueryRunDefined in stripeapi-3.0.0.0 · StripeAPI.Types.ScheduledQueryRunToJSON ScheduledQueryRunDefined in stripeapi-3.0.0.0 · StripeAPI.Types.ScheduledQueryRun