POST
/v1/sigma/saved_queries/{id}Update an existing Sigma Query
Update an existing Sigma query that previously exists
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
idstringrequired
The `id` of the saved query to update. This should be a valid `id` that was previously created.
expandarray<string>optional
Specifies which fields in the response should be expanded.
namestringoptional
The name of the query to update.
sqlstringoptional
The sql statement to update the specified query statement with. This should be a valid Trino SQL statement that can be run in Sigma.
200Successful response.
createdintegerrequired
Time at which the object was created. Measured in seconds since the Unix epoch.
idstringrequired
Unique identifier for the object.
livemodebooleanrequired
If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
namestringrequired
The name of the query.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
sqlstringrequired
The sql statement for the query.
defaultError response.
errorobjectrequired
Error handling
Any other status is an error: Error response.