Create a query run to be executed.
Parameters
- from_
saved_ querystring The unique id of a previously saved query to be run. Note that only one of
sql
orfrom_
should be provided.saved_ query - sqlstring
The sql statement to run. This should be a valid Trino SQL statement that can be run in Sigma. Note that only one of
sql
orfrom_
should be provided.saved_ query
Returns
Returns a Query Run object.
Response
{ "id": "qry_0R9c43589O8STxCGUZXU3I6T", "object": "sigma.sigma_query_run", "created": 1743641728, "error": null, "finalized_at": 1743641733, "livemode": true, "result": { "file": "file_0R9c49589O8KAxR9askNs8JQ" }, "sql": "SELECT * FROM balance_transactions LIMIT 5", "status": "completed"}