register_source
Register a data source to profile all columns, detect formula relationships, and automatically identify join keys to existing sources, making the source queryable by name.
Instructions
Advanced tool. Register a data source and get full schema profiling + join detection. Profiles every column (type, cardinality, fill rate, distribution). Detects formula relationships (A×B≈C) within the source. Detects join keys to every already-registered source automatically. After registration the source is queryable by name via query_data. Safe to call multiple times — re-registration is a no-op if data is unchanged. Registration persists the source profile under the active API key's organization. Returns source_id and the profiled schema with columns, roles, formulas, and detected join keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Data source definition. Provide exactly one of: records, csv, json_str, url. | |
| description | No | Optional human description of this source. |