superset_saved_query_create
Create and save SQL queries for later reuse in Apache Superset by providing query data including database ID, schema, SQL text, and display name.
Instructions
Create a new saved query
Makes a request to the /api/v1/saved_query/ POST endpoint to save a SQL query for later reuse.
Args: query_data: Dictionary containing the query information including: - db_id: Database ID - schema: Schema name (optional) - sql: SQL query text - label: Display name for the saved query - description: Optional description of the query
Returns: A dictionary with the created saved query information including its ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_data | Yes |