onboard_dataset
Register a dataset for semantic querying by providing column names, records, or raw CSV. Automatic profiling and background training enable immediate queries while accuracy improves over time.
Instructions
Register a dataset for semantic querying. Pass column names, inline records, or raw CSV. The engine profiles roles automatically and starts background training. Queries work immediately via a fallback model — accuracy improves once schema-specific training completes (poll status with list_datasets). Registration persists the dataset under the active API key's organization. Use connect_data for live connections instead of inline rows. Returns dataset_id, schema_hash, status, model_tier, column_count, and suggested_aliases.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | Raw CSV text with header row. | |
| name | No | Human-readable name for this dataset. | dataset |
| columns | No | Column names only — fastest path, no data required. | |
| records | No | Sample rows as JSON records (list of dicts). Up to 200 rows. | |
| async_train | No | Start background semantic training immediately (default: true). | |
| domain_aliases | No | Optional map of abbreviation → expansions. Example: {"ppa": ["per", "person", "average"]}. Auto-suggested if omitted. |