Skip to content

Stripe: Sigma schemas

3 Stripe schemas with complete fields and constraints.

← Sigma operations · All schemas

Retrieve a scheduled query run — response body

FieldTypePresenceDescription and constraints
$objectRootIf you have [scheduled a Sigma query](https://docs.stripe.com/sigma/scheduled-queries), 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.
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
Format: unix-time
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
data_load_timeJSONRequired within parent
data_load_time (anyOf 1)integerAlternativeWhen the query was run, Sigma contained a snapshot of your Stripe data at this time.
Format: unix-time
data_load_time (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
errorModelOptionalExpand Retrieve a scheduled query run — response body — error
fileJSONOptional
file (anyOf 1)JSONAlternativeThe file object representing the results of the query.
file (anyOf 1) (anyOf 1)ModelAlternativeExpand Create a file — response body
file (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: scheduled_query_run
result_available_untilJSONRequired within parent
result_available_until (anyOf 1)integerAlternativeTime at which the result expires and is no longer available for download.
Format: unix-time
result_available_until (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
sqlstringRequired within parentSQL for the query.
Maximum length: 100000
statusstringRequired within parentThe query's execution status, which will be `completed` for successful runs, and `canceled`, `failed`, or `timed_out` otherwise.
Maximum length: 5000
titlestringRequired within parentTitle of the query.
Maximum length: 5000

Referenced models: Create a file — response body, Retrieve a scheduled query run — response body — error

Retrieve a scheduled query run — response body — error

FieldTypePresenceDescription and constraints
$objectRoot
messagestringRequired within parentInformation about the run failure.
Maximum length: 5000

Update an existing Sigma Query — response body

FieldTypePresenceDescription and constraints
$objectRootA saved query object represents a query that can be executed for a run.
createdJSONRequired within parent
created (anyOf 1)integerAlternativeTime at which the object was created. Measured in seconds since the Unix epoch.
created (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
idstringRequired within parentUnique identifier for the object.
Maximum length: 5000
livemodebooleanRequired within parentIf the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
namestringRequired within parentThe name of the query.
Maximum length: 5000
objectstringRequired within parentString representing the object's type. Objects of the same type share the same value.
Known values: sigma.sigma_api_query
sqlstringRequired within parentThe sql statement for the query.
Maximum length: 5000

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.