Engagement Industry Breakdown
get_engagement_industry_breakdownHistogram of engagers' companies grouped by industry. Pivots on companies.industry_hierarchy (e.g. 'Tech > Software Development'). Depth=1 buckets by top-level, =2 by top+mid, =3 by full hierarchy. Engagers with no current company / no industry hierarchy bucket as _unknown. Pure DB read — no LinkedIn pull, no credits charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | 1=top-level industry, 2=mid, 3=leaf (full hierarchy) | |
| post_id | No | posts.id UUID | |
| post_url | No | Public LinkedIn post URL | |
| sample_companies_per_bucket | No | How many sample company names to attach per industry row (0-10, default 3) |