catalog_download_table_profile
Download a catalog table's data dictionary and profile as CSV, including column metadata and statistics. Identify the table by instance ID or resource URI.
Instructions
Download a catalog table's data dictionary and profile as CSV.
Returns the table's column metadata plus, by default, its profile (column
statistics and data-quality metrics). If the table has not been profiled yet,
this returns a recommendation to run catalog_run_adhoc_analysis (pre-filled
with the table's URI and type) instead of an empty profile.
Identify the table by either instance_id or resource_uri (give one).
Passing resource_uri lets you run search → profile → download without ever
handling an instance id: the asset is resolved by resourceId the same way
catalog_find_instance does. instance_id takes precedence if both are given.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Detail level — 'dataDictionaryAndProfile' (default; columns + profile), 'detailedMetrics' (full per-column metrics), or 'dataDictionary' (column metadata only). | dataDictionaryAndProfile |
| instance_id | No | Catalog instance id of the table (the ``id`` from a catalog_search hit). | |
| resource_uri | No | Source URI of the table (the ``resource_uri`` from a search hit, e.g. '/dataTables/dataSources/cas~fs~.../tables/MYTABLE'). Used when ``instance_id`` is omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||