Skip to main content
string
required
Bearer token obtained from the authenticate endpoint.
string
required
Unique identifier of the saved query to retrieve.

Response

string
required
Unique identifier for the saved query.
string
required
Organization the query belongs to.
string
required
Display title for the query.
string | null
Optional human-readable description of what the query does.
string
required
The natural language instruction passed to the AI agent when this query is invoked.
string | null
The stored SQL Server statement, or null. It may contain {{param_name}} placeholders. A saved query needs SQL to run as a chat turn.
string[]
required
Unique placeholder names found in sql, in first-appearance order. Supply every value as a string when invoking the query via WebSocket or the durable REST turn endpoint.
string
required
Member ID of the user who last modified this query.
string
Display name of the user who last modified this query.
string
required
ISO 8601 timestamp when the query was created.
string
required
ISO 8601 timestamp when the query was last modified.