Datasets
General
When you run a rule, a dataset is generated with the result of the execution. This new dataset can be a subsets (for example using operations like limit or include/exclude) or full datasets.
The datasets can be downloaded to local folder (JSON or CSV) or can be loaded into one of the available sinks.
Load
To load a dataset into a sink, the sink must be added to the model. You can find more information about how to add a sink to the model in the Sinks page.
Once executed, a job will be created where you can see the progress of the load.
UI Options
The Datasets page provides several interaction options for each dataset in the table:
| Action | Description |
|---|---|
| Download | Download the dataset in either JSON or CSV format |
| Refresh | Refresh the dataset information |
| Share | Create a shareable link to the dataset |
| Delete | Remove the dataset from the system |
Share Functionality
The Share button allows you to create public URLs to share your datasets. When you click the Share button:
- If you have only one API key in your project, it automatically creates a shareable endpoint
- If you have multiple API keys, you'll be prompted to select which one to use
Share URL Structure
Once shared, datasets are accessible via URLs with the following structure:
For example:
URL Parameters
You can customize the shared URL with additional parameters:
| Parameter | Values | Description |
|---|---|---|
format | json-zip, csv-zip, sql | Specify the download format for the dataset |
Example URLs with parameters:
https://yourserver/api/acme-corp/sales-data/model/1/dataset/42?format=json-ziphttps://yourserver/api/acme-corp/sales-data/model/1/dataset/42?format=csv-ziphttps://yourserver/api/acme-corp/sales-data/model/1/dataset/42?format=sql
Sharing UI Details
When you click the Share button, the row expands to show:
- API Endpoint: The full URL to access your dataset
- Format Selector: Dropdown to choose the format (JSON ZIP, CSV ZIP, SQL)
- Copy Button: Copy the URL with selected format to clipboard
- Call Counter: Shows how many times the endpoint has been accessed
- Delete Option: Remove the API endpoint if no longer needed
ASCII Representation of Dataset Table
When you click the Share button for a dataset, the row expands:
This expanded view shows the shareable URL, allows you to select different formats, and provides options to copy the URL or delete the endpoint.