Data Marketplace Query
The Data Marketplace Query agent answers data questions by first finding the right data product in a marketplace, then querying it. It discovers relevant data products, runs SQL against them, and returns structured results along with the products it used.
How it works
Section titled “How it works”The agent follows this workflow:
- Searches the marketplace for data products relevant to the question.
- Reads the schema of the chosen data product to understand its tables and columns.
- Generates and runs SQL to answer the question.
- Optionally generates a chart from the results.
- Returns the answer together with the data products it drew on.
Input parameters
Section titled “Input parameters”Required:
message(string): The data question.
Optional:
marketplace_id(string): The marketplace to search. If omitted, the default marketplace is used. Pin this as a Fixed value if every run should target the same marketplace.auth_id(string): The authentication credentials to use for queries.
Available tools
Section titled “Available tools”- Data Product Search: Finds relevant data products in the marketplace.
- Get Data Schema: Reads a data product’s schema.
- SQL Execution: Runs the query.
- Generate Chart: Visualizes the result.
Comparison with Data Product Query
Section titled “Comparison with Data Product Query”- Data Marketplace Query (this agent) starts without a known data product. It searches the marketplace, picks a product, then queries it.
- Data Product Query assumes you already know which data product to query and takes its ID as input.
Use Data Marketplace Query for open-ended questions across a marketplace; use Data Product Query when the data product is already chosen.