Partially update a saved query. Only include the fields you want to change. WhenDocumentation Index
Fetch the complete documentation index at: https://docs.trellis.sh/llms.txt
Use this file to discover all available pages before exploring further.
sql is updated, parameters is automatically re-extracted from the new SQL.
Bearer token obtained from the authenticate endpoint.
Unique identifier of the saved query to update.
New display title for the query.
New natural language instruction for the query.
New SQL to associate with the query. Use
{{param_name}} placeholders for values that should be supplied at runtime. Updating this field automatically re-extracts parameters.New description for the query.
New list of keywords for semantic matching. Pass an empty array to remove all keywords.
Response
Returns the updated saved query object.Unique identifier for the query.
Organization the query belongs to.
Updated display title.
Updated description.
Updated natural language instruction.
The current SQL for this query, or
null for prompt-only queries.Updated keywords list.
Re-extracted
{{param_name}} placeholder names from the current sql. Updated automatically whenever sql changes.Member ID of the user who made this update.
Display name of the user who made this update.
ISO 8601 timestamp when the query was originally created.
ISO 8601 timestamp of this update.