Skip to content

Saved

Where: Saved › Queries and Artifacts
Who can use it: Everyone can save queries and use the page. Admins and Owners can recover and delete. Only Admins can add or edit sources.

The Saved page keeps the questions you want to run again on the Queries tab, and Excel files of result tables on the Artifacts tab. Both tabs show what belongs to the database selected at the top of the page, so everyone who can query that database sees the same list. When the database is retrained, Tursio flags saved queries that may no longer match.

Queries

The Queries tab lists the questions saved on the selected database.

Save a query

  1. Ask a question on the search page.
  2. Select the Save icon (bookmark) under the answer. Tursio shows Saved successfully! and the icon fills in.

To remove it from the list, select the icon again (Unsave).

Answer with the Save icon selected and a Saved successfully message (1) Save the answer's question.

Saved queries

The Queries tab lists each saved question with its Last updated time, Status, and Source. Use Search query and the All statuses filter (Active or Stale) to find one. New query takes you back to an empty search page.

Queries tab with four saved queries and a row menu open (1) Status, (2) Source, (3) Add source, (4) row menu. Query names are blurred in this screenshot.

The row menu (⋯) has:

  • View query: reruns the question on the search page.
  • Add source or Edit source: attach or change the query's source. Admins only.
  • Recover: only on a Stale query. See Active and Stale.
  • Delete: remove the saved query. Admins and Owners only.

Under All Databases

When All Databases is selected, the list shows the saved queries of every database you can search under All Databases, with a Database column. Answers you save from an All Databases search are listed too. Dev databases are left out. Their saved queries stay listed on the dev database itself.

View query opens the question in a new tab, on the database it was saved from. The All Databases list stays open. To learn more about All Databases, see Ask question.

Add a source

A source is a name and a link that say where a saved query comes from, for example the report it reproduces. The name shows in the Source column. Only Admins can add or edit sources.

Add a source to one or more queries

  1. Select Add source above the table. To start from one query, open its row menu (⋯) and select Add source.
  2. Pick the queries in Saved queries. The list holds active queries that don't have a source yet. You can pick several.
  3. Type a Source name.
  4. Enter the Source link. It must start with https://.
  5. Select Save.

Add sources dialog with Saved queries, Source name, and Source link (1) Saved queries, (2) Source name, (3) Source link, (4) Save. Query names are blurred in this screenshot.

If a field is missing or wrong, the dialog says so and doesn't save:

Message Fix
Source name is required when source link is provided Type a name.
Source link is required when source name is provided Enter a link.
Please enter a valid URL Use a full https:// link.

Change a source

  1. Open the row menu (⋯) on the query and select Edit source.
  2. Change the Source name or Source link, then select Save. To remove the source, clear both fields and save.

To change several at once, select their checkboxes. When all of them are active and share the same source, the button above the table reads Edit source. Select it to change the source on all of them.

Two saved queries selected with Edit source above the table (1) Select queries that share a source, (2) Edit source. Query names are blurred in this screenshot.

Active and Stale

Each saved query has a status:

  • Active: the query runs on the current version of the database.
  • Stale: the database was retrained (or a dev database was merged into it) after the query was saved. The saved SQL may not match the new context.

On a Stale query, View query and Add source are disabled until you recover it.

Recover a stale query

  1. Open the row menu (⋯) on the stale query.
  2. Select Recover. Tursio runs the saved SQL against the retrained database. If it runs, the query turns Active and Tursio shows how many queries it recovered.

To recover several, select their checkboxes and select Recover above the table. You can recover up to 10 queries at a time.

Stale saved query with its row menu open (1) Stale status, (2) View query and Add source are disabled, (3) Recover.

If the SQL fails on the retrained database, the query stays Stale and Tursio says it couldn't be recovered due to a compilation failure. Ask the question again and save the new answer.

Delete saved queries

  1. Select the queries with their checkboxes.
  2. Select the delete icon above the table, then Delete to confirm.

To delete one query, open its row menu (⋯) and select Delete. Only Admins and Owners can delete saved queries.

Deleting saved queries

Saved queries belong to the database, so a deleted query is gone for everyone. This can't be undone.

Artifacts

An artifact is an Excel (.xlsx) file of a result table. You can save one from an answer in the portal, or the Teams agent and MCP clients can save one for you. All of them appear on the Artifacts tab.

Save a table as an artifact

  1. Open See the data in tabular view under an answer.
  2. Select ⋮ above the table.
  3. Select Save as artifact. Tursio shows Saved to Artifacts. The artifact is named after the question.

Table menu with Save as artifact (1) Table menu, (2) Save as artifact. Names are hidden in this screenshot.

Saving the same answer again doesn't make a copy. Tursio shows This result is already in Artifacts.

Save as artifact appears only when Enable table/artifact download is on for your role in Personalization.

Save from an agent

Ask the Teams agent or an MCP client to save a result as an Excel file, for example "How many active customers are there by city? Save the result as an Excel file." The agent saves the table with a name and description, and it shows up on the Artifacts tab. See Use Tursio in Teams and MCP server.

Download or delete an artifact

The Artifacts tab lists each file with its Name, Description, Timestamp, and Source, newest first. Use Search artifacts to filter by name, description, or source.

  1. Select the Artifacts tab.
  2. Open the row menu (⋯) on an artifact.
  3. Select Download to save the .xlsx file, or Delete to remove it.

To delete several, select their checkboxes and select the delete icon above the table.

Delete artifact confirmation (1) Confirm with Delete. The artifact name is blurred in this screenshot.

Deleting artifacts

A deleted artifact is gone for everyone with access to Saved. This can't be undone. Only Admins and Owners can delete artifacts.

Masked columns in artifacts

Artifacts store masked columns as they were masked in the result. When your deployment sets the TURSIO_ARTIFACT_MASK_SECRET environment variable, Download in the portal unmasks those columns in the downloaded file. A file fetched through the MCP server keeps them masked.

Tips and limits

  • Under All Databases, the Artifacts tab shows the artifacts of every database you can search there, plus files an agent saved without naming a database.
  • You can recover up to 10 stale queries at a time.
  • A source link must start with https://.
  • Only results with a single table can be saved as an artifact.
  • Tursio keeps the newest 1,000 artifacts across all databases. When the count passes 1,200, the oldest are removed.
  • Download on the Artifacts tab needs Enable table/artifact download on for your role. An Admin turns it on in Personalization.
  • Cell text that starts with = is saved as text, not as a formula, so a downloaded file never runs formulas from your data.