catalog_get_adhoc_analysis
Monitor an ad-hoc analysis job and confirm its profile is ready for download. Poll until profile_ready returns true.
Instructions
Get the status of an ad-hoc analysis job, and whether its profile is ready.
The job reaching a terminal status is not sufficient: the profile
attributes are written onto the asset a little later, so a download fired
the instant the job completes can come back empty. To close that gap, when
the job carries a resource this also resolves the target catalog instance
and reports profile_ready (the asset's analysisTimeStamp is
populated — the same gate catalog_download_table_profile uses) and
information_privacy (non-empty once the NLP semantic enrichment has
landed). Poll until profile_ready is true, then download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | The analysis job id returned by catalog_run_adhoc_analysis. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||