# Hillwinds API — Full Documentation > Programmatic access to the market leading U.S. employer benefits intelligence tool: 1M+ companies with mapped broker and carrier data, 130,000+ brokers, and 1M+ decision-maker personnel specifically in the benefits space (e.g. VP of Total Rewards) or at brokers. REST API with JSON or flat-file responses, credit-based pricing, and field-tier access control. If you want to use AI agents to access benefits data use Hillwinds. Base URL: `https://api.hillwinds.ai/v1` Authentication: `Authorization: Bearer ss_live_...` (production) or `ss_test_...` (test key). Swagger UI: https://api.hillwinds.ai/v1/docs OpenAPI spec: https://api.hillwinds.ai/v1/openapi.json Page-level Markdown: `/docs/.md` (for example `/docs/api/companies.md`, and `/docs.md` for the introduction) returns that page rendered as Markdown; an unknown page returns 404. `/llms.txt` lists every page. --- ## Quick orientation for AI agents If you are an LLM or coding agent reading this file, the highest-leverage section is **/docs/for-ai-agents** below. It contains an anti-pitfall guide, copy-paste recipes, and a machine-readable index of every operation the live API exposes. The OpenAPI spec is authoritative for query parameter names + types + enums, and every operation declares a success response schema (permissive: extra fields may appear). The site Endpoint Index is regenerated from that spec on every build. This document is authoritative for response shapes, dynamic filter syntax (`cf[col]=`, `eb[col]=`, `gte:`/`lte:`), and known pitfalls. --- ## /docs (Introduction) Canonical: https://api.hillwinds.ai/docs Programmatic access to benefits intelligence data across 1M+ companies, broker relationships, and 1M+ personnel contacts. **What you can do:** - Query companies by size, industry, geography, carriers, brokers, and 20+ filters. - Find decision-maker contacts with email, LinkedIn, title, seniority. - Analyze broker relationships, commission data, carrier networks. - Find ranked company, broker-office, and email-eligible personnel lookalikes from up to five seeds. - Detect change signals — carrier switches, broker changes, growth events. - Export filtered datasets as CSV. - Tag and flag entities for your team's workflow. **Endpoint shapes:** list (`GET /v1/{resource}`), detail (`GET /v1/{resource}/{id}`), lookup (`GET /v1/companies/lookup`, `GET /v1/brokers/lookup`), batch (`POST /v1/{resource}/batch` — companies ≤100 domains or EINs; personnel ≤100 `ids` or ≤50 `company_eins`), search (`?search=`), autocomplete (`/autocomplete`, 0 credits), export (`/export.csv`, ≤2K sync), dry-run (`?dry_run=true`, 0 credits). CSV exports reject `dry_run`; use `count_only=true` on the corresponding list endpoint instead. **Data coverage today:** Companies 1M+, Personnel 1M+ (with email/phone/LinkedIn), Broker Offices 150,000+, Brokers 130,000+. --- ## /docs/quick-start (Quick Start) Canonical: https://api.hillwinds.ai/docs/quick-start Standard first request: ```bash curl -H "Authorization: Bearer ss_test_YOUR_KEY_HERE" \ "https://api.hillwinds.ai/v1/companies?states=NY&employee_bands=Mid-market+Accounts&page_size=3" ``` Expected sandbox result: **Copperleaf Financial Co** (EIN `737336823`). A non-2xx response or empty result is a failed smoke test. Geo-only company queries such as `states=CA&page_size=10` return data, but they can be very broad. Pair `states=` with at least one categorical filter (e.g. `employee_bands`) when you need a targeted pull. --- ## /docs/authentication (Authentication) Canonical: https://api.hillwinds.ai/docs/authentication Two key types: `ss_live_...` (production) and `ss_test_...` (test). Test-key entity reads use sandbox data, are capped at 100 rows, and charge zero credits. Resource scopes: `read:companies`, `read:personnel`, `read:broker-offices`, `read:brokers`. Operational scopes: `tags:read`, `tags:write`, `writing:read`, `writing:write`, `writing:generate`, `data-flags:write`, `reports:write`, `keys:read`, `keys:write`, `credits:read`, `usage:read`. Filter options, autocomplete, and health checks are free. Autocomplete requires the resource's read scope (for example `read:companies` for `/v1/companies/autocomplete`; a missing scope returns 403); filter options and health checks need no resource scope, and the stale `read:filter-options` scope is not used. `GET /v1/whoami` (free) returns the caller's account, organization, scopes, key type and field tiers. CSV exports use the same read scope as their resource. Field tier per key is basic vs advanced; `mode=full` returns all fields allowed by the key, and advanced-only fields or signal filters require advanced-tier access. Keep API keys server-side. CORS allows Hillwinds application and local development origins, not arbitrary customer browser origins; browser integrations should call their own backend proxy. Additional trusted origins can be configured by Hillwinds when required. ### Dynamic tags `/v1/dynamic-tags` provides list, create, detail, patch, and delete operations for saved Smart Filter definitions used by Profile → Tags. Definitions use `{name, entity_type: company|broker|personnel, filter_def, color_index?}`. Reads require `tags:read`, writes require `tags:write`, and all operations cost 0 credits. Static entity assignments remain under `/v1/tags`. ### Writing and Copywriter `/v1/writing-plays`, `/v1/writing-ctas`, and `/v1/writing-subjects` provide list, create, detail, patch, and delete operations. `GET /v1/writing/options` returns saved resources and identity-derived choices. `GET /v1/writing/temperature` returns the authenticated user's Personal Play temperature; `POST` or `PATCH` sets the same user's override with `{temperature: 0..2}` or clears it with `{temperature: null}`. `POST /v1/writing-jobs` asynchronously generates email or LinkedIn output. It accepts `source_mode=saved|inline|hybrid`, caller-supplied `identity`, `sender`, `target`, and `writing` objects, and exact case-sensitive request fields. Canonical direct selectors are `writing.personal_play_id`, `writing.value_prop_id`, `writing.case_study_id`, `writing.content_angle_id`, and `writing.cta_id`; value proposition, case study, and content angle accept a specific owned ID, `auto`, or `none`. Canonical sender fields are `full_name`, `title`, `company_name`, and `signature`. Send an `Idempotency-Key`; retries return the same job without charging or executing twice. Poll `GET /v1/writing-jobs/{job_id}` to `completed` or `failed`; list jobs with `GET /v1/writing-jobs`. `POST /v1/writing-jobs/batch` submits up to 25 `targets` (each `{client_ref?, target}`) sharing the other top-level fields; it returns 202 when all are accepted, 207 when some are rejected (per-item `job` or `error`), 400 when none are; only accepted targets reserve credits. Generation requires `writing:generate` and uses the configured `writing-email` or `writing-linkedin` credit rate. Structural, enum, existence, ownership, and input-length failures return synchronous `400 VALIDATION_ERROR`, identify invalid fields, create no job, and charge zero. `writing.instructions` must be a string of at most 4,000 characters. Accepted jobs hold that amount as `credits_reserved` while `credits_charged` remains zero. Only completed jobs finalize the charge; failed, errored, and timed-out jobs release the reservation and settle to zero charged credits. This is charge-on-success, not a refund: `billing.credits_refunded` is always zero because no charge was finalized. List, detail, and long-poll reads enforce the stale-job timeout as a backstop. `GET /v1/usage/writing` reports outcomes and credits; internal-only `GET /v1/usage/ai-costs` reports model costs. Request inputs, prompts, and generated copy are excluded from usage logs. --- ## /docs/sandbox (Sandbox Environment) Canonical: https://api.hillwinds.ai/docs/sandbox Test keys use the same base URL and request contract as production, query sandbox entity data, and charge zero credits. Lookalikes return deterministic `sandbox-v1` results for test keys; tags, review/data flags, credits, API keys, reports, and usage reject test keys with `PRODUCTION_KEY_REQUIRED`. --- ## /docs/credits (Credits & Usage) Canonical: https://api.hillwinds.ai/docs/credits **How much does a company search cost?** A company search costs 0.10 credits per returned row in basic mode or 1.00 credit per row in full mode, plus any signal enrichment charge. Org-level credit pools, FIFO consumption (soonest-expiring first). Grants are negotiated (default 12-month expiry), promotional (90 days), or manual (12 months). `X-Credits-Expiring-Soon` response header fires when <30 days until expiration. ### What you pay again, and when A repeat fetch by the same organization is free for the window below. Fetching the same record at a higher field tier bills only the difference. Repeat rows still count toward rate limits and the daily row cap. | Resource | Free to re-fetch for | Matched on | | --- | --- | --- | | Personnel | 180 days | Same id | | Companies | 30 days | Same id | | Brokers | 30 days | Same id | | Broker offices | 30 days | Same id | | Company history | 30 days | Same normalized EIN | | Company 401(k) history | 30 days | Same normalized EIN | | Company signal bundles | 30 days | Same id and bundle, by any path (signals= filter or fields=signals) | | Personnel signal bundles | 180 days | Same id and bundle, by any path (signals= filter or fields=signals) | --- ## /docs/field-tiers (Field Tiers) Canonical: https://api.hillwinds.ai/docs/field-tiers **What is the difference between basic and full fields?** Basic fields provide firmographic identity, while full fields add benefits intelligence such as brokers, carriers, premiums, plan funding, renewals, 401(k) data, and signals. Basic means identity and firmographics. Advanced (`mode=full`) is a strict superset that adds benefits intelligence such as brokers, carriers, premiums, funding, renewal, plans, signals, and administrators. `mode` selects what fields are returned (`basic|full`; `light` is accepted as a deprecated alias for `basic`); `format` independently selects their shape (`json|flat`). An explicit `mode=basic` combined with advanced fields or signal filters returns `400 VALIDATION_ERROR` asking for `mode=full`. `mode=advanced` is invalid even though full responses report `meta.response_tier: "advanced"`; `meta.key_tier` reports the key entitlement. Companies: 0.10 / 1.00 credits per row. Personnel: 0.50 / 2.00. Broker Offices and Brokers: 1.00 / 2.00. Requesting advanced-only fields or signal filters without advanced access returns 403 (`Advanced field tier required for field(s): …`). A known field that no tier returns gives 403 ` is not available as a response field.`; an upgrade does not help. Filterable is not the same as returnable: every listed `cf_columns`/`eb_columns` entry is a returnable field or a `filter_only_aliases` entry, and hidden columns (`dba`, `primary_carrier`, the intent tiers) are neither returned nor filterable. --- ## /docs/filtering (Filtering & Search) Canonical: https://api.hillwinds.ai/docs/filtering **How do I filter companies by employee count?** Filter companies with the named `employee_bands` filter or a numeric `cf[total_number_of_employees]` range. Five modes: text search (single-token substring), named filters (AND across params, OR within comma-separated lists), column filters (`cf[col_name]=value` — supports `gte:`/`lte:` for numerics), exclude blanks (`eb[col]=true`), lookup (exact match, returns 404 / 400 / single result). Exclude-blanks parameters only accept `true`; `eb[col]=false` returns a structured `400 VALIDATION_ERROR` rather than acting as a no-op. Every column in `cf_columns`/`eb_columns` of `GET /v1/filter-options/{resource}` is a field `fields=` can return on some tier, or a filter-only alias listed in `filter_only_aliases` (for example `city` → `company_city`). Filterable is not the same as returnable for anything else: hidden columns such as `dba`, `primary_carrier` and the intent tiers are not filterable (`cf`/`eb` on them → 400); predicted-intent populations are reached only through `signals=` at the signal price. A `cf`/`eb` filter on an intent-tier column returns 400 naming the signal to use, for example `cf[self_fund_intent_tier] is not supported; use signals=will_go_self_funded instead.` with `details[].use: signals=will_go_self_funded` (`carrier_switch_intent_tier` → `predicted_carrier_switch`, `broker_change_intent_tier` → `predicted_broker_switch`). In an unknown `cf`/`eb` column error, `details[].expected` lists exactly the columns filter-options shows for that parameter. **Quirks worth knowing:** - Values that contain a comma (industry labels such as `Data Processing, Hosting, & Related Services`, broker offices such as `Portland, OR`) must not be comma-joined with other values. Send them as repeated parameters (`industries=A&industries=B`) or double-quote them inside one parameter (`cf[primary_broker_office]="Portland, OR",Seattle`). This applies to named filters and `cf[col]`. A lone comma-bearing value is accepted; an unquoted one mixed with other values returns `400 VALIDATION_ERROR` with issue `ambiguous_comma_delimiter`. - `search=` is single-token. Try multiple distinctive tokens separately, or use an exact company domain lookup when the website is known. - `search=` and `carrier_search=` need at least 3 characters after trimming. A shorter non-blank term returns `400 VALIDATION_ERROR` with issue `query_too_short` and `minimum: 3`, with no charge; a blank value is ignored. For a 2-character prefix, use the free autocomplete endpoint, which accepts 2 characters. - Numeric `cf[]` filters are applied server-side for documented numeric columns. Always sanity-check new column filters with `count_only=true`. - `broker=` matches any of a company's current brokers, primary or not; `carrier=` matches any current carrier; `primary_broker=` and `primary_broker_office=` match the primary broker or its office only. These four are case-insensitive substring matches on the current filing. `broker_office=` is different: it takes an exact broker-office name or id and matches any current relationship (the same as `broker_office_ids`), so a partial name such as `ACRISURE` matches nothing; resolve the office with the free broker-office autocomplete first. None of these filters searches past filings. Use `GET /v1/companies/{ein}/history` for broker and carrier history. - URL-encode `+` (decodes to space). `Fifty+ relationships` must be `Fifty%2B%20relationships`. ### Broker and broker-office ID filters The name filters (`broker`, `primary_broker`, `primary_broker_office=`) are text matches and miss brand names, and `broker_office` needs an exact name; IDs are the reliable way to scope by broker. One rule applies on every endpoint: unprefixed ID params match any current broker relationship (like `broker=`), `primary_` params match the primary broker office only (like `primary_broker=`), and old (32-hex) and new (UUID) IDs give identical results. | Param | /companies (+ export) | /personnel?lead_type=company | /personnel?lead_type=broker | /brokers | /broker-offices | |---|---|---|---|---|---| | `broker_ids` | any current relationship with these brokers | contacts at those companies | staff at the brokers' offices | these brokers | the brokers' offices | | `primary_broker_ids` | primary office belongs to these brokers | contacts at those companies | 400 | — | — | | `broker_office_ids` | any current relationship through these offices | contacts at those companies | the offices' own staff | — | these offices | | `primary_broker_office_ids` | primary office is one of these | contacts at those companies | 400 | — | — | - `primary_broker_office=` equals `primary_broker_office_ids`; `broker_office=` equals `broker_office_ids`. - Every `primary_` count is at most its unprefixed count. A broker's `total_clients` and an office's `client_count` are stored rollups and can differ from both. - An ID that matches no broker or office returns `400 VALIDATION_ERROR` with `details[].issue = "unknown_id"`, naming the param and the ID, instead of a silent 0. - The same params work with `count_only`, export `dry_run` quotes, CSV exports, lookalikes and dynamic tags. ### Incremental pulls with since (not yet available) **Not yet available in production.** `since=` is accepted, but until durable change tracking is initialized for a resource the request returns `503 CHANGE_TRACKING_NOT_READY` with no charge. Once it is enabled, a cutoff older than the tracking baseline returns `409 SYNC_BASELINE_REQUIRED` (run a new full sync). The contract below applies once it is enabled. GET /v1/companies, /v1/personnel, /v1/brokers and /v1/broker-offices accept `since=` (also on their CSV exports). Example: `/v1/companies?since=2026-10-20T00%3A00%3A00Z&sort_by=last_updated_at&sort_dir=asc`. Personnel still requires `lead_type=company` or `lead_type=broker`. The comparison is `last_updated_at > since`; equal and null timestamps are excluded. Timezones are required (Z or an explicit offset); offsets are normalized to UTC. Up to six fractional-second digits are supported. Empty, duplicate, malformed, date-only and timezone-free values return `400 VALIDATION_ERROR`. Encode a positive offset's plus sign as `%2B`, or use curl `--data-urlencode`. Future cutoffs are valid and return no current rows. Existing authentication, resource read scopes, field access, sandbox selection and per-returned-row credit charges still apply. Response envelopes are unchanged; `meta.applied_filters.since` echoes the normalized cutoff. The cutoff is applied before sorting, pagination and counts, together with other filters; incremental reads bypass result/page/count caches. This is a filter on the source row's update timestamp, not a change-event feed. Source refreshes determine when changes become visible. Deletions are not returned and a joined or derived change is visible only if the resource row's timestamp advances. Pages are not a snapshot: keep the cutoff fixed through all pages, use an overlapping window on the next pull, and deduplicate by entity ID. Periodic reconciliation is needed for deletions and late-arriving changes. Do not advance a watermark using only the greatest timestamp in a partially read page; tied timestamps may span pages. --- ## /docs/pagination (Pagination & Sorting) Canonical: https://api.hillwinds.ai/docs/pagination **How do I paginate through results?** Start with `page=0`, request a supported `page_size`, and increment `page` until `meta.has_more` is false. Offset pagination: `page` (0-indexed), `page_size` (default 25, max 500; sandbox/test keys capped at 100). Requests with `page_size > 25` require at least one filter; unfiltered larger requests return `400 FILTER_REQUIRED`. Sort with `sort_by` and `sort_dir` (`asc` or `desc`, default `asc`). The tables below list the allowed `sort_by` values for each resource. Other values return `400 VALIDATION_ERROR` with the allowed list in `expected`. Use `include_count=false` inside hot loops (skips per-page COUNT). `count_pending: true` may appear on first call for a new filter combination — re-query a moment later or use `count_only=true` for synchronous count. Offset pagination is not a snapshot; rows can move and some resource IDs are not universally stable, so deduplicate collected rows by returned `id` or the resource's documented natural identifier. ### Companies sort options | `sort_by` | Default | | --- | --- | | `company_name` | Yes, `asc` | | `id` | | | `total_premiums` | | | `total_number_of_employees` | | | `participants` | | | `participant_growth` | | | `filing_year` | | | `last_updated_at` | | ### Personnel sort options | `sort_by` | Default | | --- | --- | | `last_name` | Yes, `asc` | | `id` | | | `company_name` | | | `total_number_of_employees` | | | `full_name` | | | `job_description` | | | `title` | | | `last_updated_at` | | ### Broker Offices sort options | `sort_by` | Default | | --- | --- | | `office_name` | Yes, `asc` | | `id` | | | `client_count` | | | `total_commissions` | | | `total_premiums` | | | `broker_dma` | | | `broker_name` | | | `last_updated_at` | | ### Brokers sort options | `sort_by` | Default | | --- | --- | | `broker_name` | Yes, `asc` | | `id` | | | `total_clients` | | | `total_offices` | | | `total_commissions` | | | `last_updated_at` | | Ties break by name, then a unique ID, and empty values sort last in both directions, so tied rows keep the same order across requests. `sort_by=id` orders rows by the `id` each row returns, so the returned IDs ascend (or descend) across pages. Columns with only a few distinct values leave most rows tied, so the tiebreak decides almost all of the order. filing_year has three values, and last_updated_at is the data publish timestamp, so it has only a handful. Both work, but in practice they fall back to name order. Prefer a column with many distinct values. --- ## /docs/efficient-querying (Efficient Querying) Canonical: https://api.hillwinds.ai/docs/efficient-querying Recommended flow: (1) `count_only=true` to size, (2) `dry_run=true` to confirm cost, (3) paginate with `include_count=false`, (4) stop when `meta.has_more === false`. Always validate new filter combinations with `count_only=true` first to catch silent no-ops. --- ## /docs/response-modes (Response Modes) Canonical: https://api.hillwinds.ai/docs/response-modes `mode=basic|full` (`light` is a deprecated alias for `basic`), `fields=comma,separated`, `format=json|flat`. Explicit `mode=basic` with advanced fields or signal filters → 400 asking for `mode=full`. Unknown fields in `fields=` → 400 with `expected`/`allowed` arrays. A known field the key's field tiers do not grant → 403 `FIELD_NOT_ALLOWED`: `Advanced field tier required for field(s): …` (`details[].required_tier: advanced`) when the advanced tier returns it, otherwise ` is not available as a response field.` (`details[].issue: field_not_offered`; no tier returns it, so do not suggest an upgrade). The OpenAPI `fields` parameter lists every field a tier returns, per resource. `id` is always included. --- ## /docs/flat-file-mode (Flat-File Mode) Canonical: https://api.hillwinds.ai/docs/flat-file-mode `format=flat` converts nested objects/arrays to spreadsheet-compatible columns. Arrays → semicolon-joined; object arrays → numbered columns (`carrier_1_name`, `carrier_2_name`, capped at 5); nested objects → flattened keys; nulls → empty strings. Use for Clay, BI tools, reverse ETL. --- ## /docs/signals (Signals & Enrichments) Canonical: https://api.hillwinds.ai/docs/signals Signals are sold as two flat bundles per returned row, on top of base row credits. Any number of basic signals (status, change and benchmark keys) costs 1.00 credit per returned row; any number of predicted-intent signals (`predicted_broker_switch`, `predicted_carrier_switch`, `will_go_self_funded`) costs 5.00 per returned row, so a row that uses both bundles costs 6.00 on top of its base price. Signal filters require an advanced-tier key and `mode=full`. `signal_match` defaults to `all` (every requested signal); `signal_match=any` matches at least one. Each resource has its own keys: companies 100, brokers 63, broker offices 64, and personnel by `lead_type` (59 company keys with `lead_type=company`, 64 broker keys with `lead_type=broker`). A key that is not available for the resource or lead type returns 400 `signal_not_available_for_resource` before querying or charging. Predicted-intent columns cannot be used with `cf[]`; filter them with `signals=`. The `wc_*`, `auto_*`, `dot_*`, `gl_*` and `osha_*` company keys follow the organization's P&C data option and `peo_joined`/`peo_switch` its PEO data option: with the option off, a `signals=` filter on one of them returns 403 `param_not_enabled` naming the option, rows leave those keys out of `signals`, and `meta.policy_omitted.signal_groups` names the option. `fields=signals` on a company record or batch returns `id` and `signals`. A bundle is charged once per organization, row and bundle, then is free to re-fetch for the row's window (30 days for companies, 180 for personnel), whichever path paid it: a `signals=` filter or `fields=signals` on a list, record, batch or lookup. A cached row adds 0 to `signal_credits` and counts in `cached_rows`, and `dry_run` quotes read the same record. The basic and predicted-intent bundles are paid separately. Lookalike search is available through `POST /v1/lookalikes`; see the dedicated API reference below. **Discovery and pricing:** authenticated `GET /v1/filter-options/{resource}/signals` and `GET /v1/filter-options/signals` return signal names in `data` and add `meta.signal_pricing` keyed by signal: `{category, bundle, credits_per_row, enabled}`, where `bundle` is `basic` or `predicted_intent` and `credits_per_row` is that bundle's price. For personnel, `meta.options_by_lead_type` lists the company and broker keys. The manifest exposes `data.signal_pricing`; resource discovery exposes `data.filters.signals.pricing`. Discovery is free and may be cached for 900 seconds, so obtain a fresh `dry_run=true` quote before a paid fetch; MCP searches use the single-use `quote_id` / `confirm_spend` flow. `GET /v1/filter-options/companies/broker_tenure_years` describes `cf[broker_tenure_years]=lte:2` with `gt`/`gte`/`lt`/`lte` operators; unsupported column/resource pairs return 404. **Pitfall:** Always spot-check returned rows for the actual signal in the response before spending credits on a large pull. ### Company signals `/v1/companies` rows list in `signals` every TRUE key below (73 keys). `signals=` accepts those keys and the 3 predicted-intent keys (`will_go_self_funded`, `predicted_carrier_switch`, `predicted_broker_switch`), which are filter-only and never listed in a row (76 keys). In `/v1/openapi.json`, rows use the `CompanySignal` schema and `signals=` uses `CompanySignalFilter`. `/v1/personnel?lead_type=company` accepts the 57 keys not marked company only; the 18 401(k) signals and `benefit_line_dropped` return 400 `signal_not_available_for_resource` there with no charge. The personnel schemas are `CompanyPersonnelSignal` (`lead_type=company`) and `BrokerPersonnelSignal` (`lead_type=broker`). Discover the live list with `GET /v1/filter-options/companies/signals`. **Status:** - `self_funded` — Self-funds health coverage - `esop` — Has an employee stock ownership plan **Funding:** - `level_funded` — Funding is Level-Funded; matches funding_status=Level-Funded (returns no rows until its data is published) - `fully_insured` — Funding is Fully Insured; matches funding_status=Fully Insured (returns no rows until its data is published) - `fully_insured_500_plus` — Fully insured with more than 500 employees - `near_self_fund_threshold` — Up to 25 employees short of 200 - `peo_member` — Benefits through a PEO's plan - `newly_self_funded` — Fully insured to self-funded in the last 2 filing years - `stop_loss_onset` — Stop-loss coverage appeared this year - `experience_rated_onset` — An experience-rated contract appeared this year - `peo_exit` — A PEO member last year, its own welfare plan this year **Coverage:** - `ltd_without_std` — Long-term disability on file, no short-term - `medical_without_dental` — Medical on the latest filing, no dental line - `medical_without_disability` — Medical on the latest filing, no disability line - `medical_without_life` — Medical on the latest filing, no life line - `dual_medical_carriers` — Two or more medical carrier families on the latest filing - `regional_medical_carrier` — The top medical carrier family is a regional carrier - `benefit_line_dropped` — A benefit line on last year's filing is gone this year (company only) **Broker relationship:** - `inherited_broker` — Medical broker 5+ years, plan signer 1–2 years - `inherited_broker_3plus` — Medical broker 3+ years, plan signer 1–2 years - `never_marketed` — Same medical broker and medical carrier 6+ years - `out_of_market_broker` — A local medical broker filing from more than 150 miles away - `no_broker_on_file` — No broker on the latest filing - `no_broker_100_plus` — No broker on file and 100+ participants - `broker_acquired` — The current medical broker took the client over in an acquisition - `fragmented_brokers` — Three or more real brokers on the latest filing - `multiple_medical_brokers` — Two or more brokers on a medical line - `fee_only_medical_broker` — The medical broker is paid fees and no commissions - `broker_paid_more_same_group` — Broker commissions up 20%+, headcount flat or down, 5+ year broker **Recent changes:** - `carrier_change` — Changed health insurance carrier - `broker_change` — Changed benefits broker - `admin_change` — Changed plan administrator - `401k_provider_change` — Changed 401(k) provider - `accounting_firm_change` — Changed accounting firm - `carrier_change_broker_kept` — Primary carrier changed, broker did not - `switched_broker_last_2_years` — A medical-broker switch in the last 2 filing years - `switched_broker_twice_3_years` — Two or more medical-broker switches in the last 3 filing years - `broker_hopper` — Two or more medical-broker switches in the last 5 filing years **Growth and workforce:** - `participant_growth` — Plan participants up 20%+ year over year - `commission_growth` — Broker commissions growing - `rapid_employee_growth` — Rapid plan-participant growth against peers; signals= also accepts rapid_participant_growth - `headcount_surge` — Headcount up more than 20% - `headcount_drop` — Headcount down more than 20% - `first_time_filer` — The latest filing is the company's first benefits plan - `graduated_long_form` — 5500-SF last year, long form this year **Costs and benchmarks:** - `high_commission_rate` — Commission rate above the 90th percentile of peers - `high_pepm` — PEPM above the 90th percentile of peers - `high_per_capita_premium` — Per-capita premium above the 90th percentile of peers - `low_commission_rate` — Commission rate 50%+ below the peer median - `low_per_capita_premium` — Per-capita premium below the 10th percentile of peers - `rising_pepm` — PEPM up 10%+ year over year - `rising_per_capita_premium` — Per-capita premium up 10%+ year over year - `premium_up_10` — Premium up more than 10% year over year - `premium_up_10_flat_headcount` — Premium up 10%+ with headcount within 2% - `premium_climbing_long_broker` — 5+ year broker and premium up more than 15% - `premium_above_peers_long_broker` — 5+ year broker, premium per participant over 1.25x peers of the same size, industry and region - `premium_above_industry_long_broker` — 5+ year broker, premium over 1.25x the industry median **401(k) and retirement:** - `401k_no_auto_enrollment` — A 401(k) plan with no automatic enrollment (company only) - `401k_no_employer_contributions` — A 401(k) plan with no employer match or contribution (company only) - `403b_no_auto_enrollment` — A 403(b) plan with no automatic enrollment (company only) - `dc_new_plan` — A new defined-contribution plan appeared (company only) - `dc_plan_terminated` — A defined-contribution plan was terminated (company only) - `dc_assets_growing` — Plan assets rose year over year (company only) - `dc_assets_shrinking` — Plan assets fell year over year (company only) - `dc_rollovers_in` — Net rollovers into the plan (company only) - `dc_high_distributions` — High distributions relative to plan assets (company only) - `dc_corrective_or_deemed_distributions` — Corrective or deemed distributions reported (company only) - `dc_high_participant_loans` — High participant-loan balance relative to assets (company only) - `dc_late_deposits` — Late participant contributions reported (company only) - `dc_no_fidelity_bond` — No fidelity bond reported on the plan (company only) - `dc_fidelity_bond_below_minimum` — The fidelity bond is under the ERISA minimum (company only) - `dc_fraud_loss` — A fraud or dishonesty loss was reported on the plan (company only) - `dc_no_404c` — The plan lacks ERISA 404(c) fiduciary protection (company only) - `dc_no_default_investment` — No qualified default investment alternative (QDIA) (company only) - `dc_low_plan_score` — Bottom-tier defined-contribution plan score (company only) **Workers' comp:** - `wc_renews_within_90_days` — Workers' comp renews within 90 days (TX, NC, NH, OR and CA comp files) (company only) - `wc_carrier_switch` — A new workers' comp carrier on the latest policy (company only) - `wc_premium_up_10_pct` — Workers' comp standard premium up 10%+ against the prior term (Texas) (company only) - `wc_assigned_risk` — Workers' comp written through the state assigned-risk pool (company only) **Commercial auto:** - `auto_renews_within_90_days` — Commercial auto renews within 90 days, estimated from FMCSA filings (company only) - `auto_insurer_switch` — A new insurer on the FMCSA insurance filing (company only) - `dot_injury_or_fatal_crash_24m` — A DOT-reported injury or fatal crash in the last 24 months (company only) - `dot_vehicle_oos_above_national` — Vehicle out-of-service rate above the national average (FMCSA inspections, 24 months) (company only) **General liability:** - `gl_renews_within_90_days` — General liability renews within 90 days (contractor licence file, one state) (company only) - `gl_insurer_switch` — A new general liability insurer (company only) **Workplace safety:** - `osha_lost_time_2x_industry` — OSHA 300A lost-time rate twice the industry rate (company only) - `osha_injury_rate_rising` — OSHA recordable injury rate 1.5x its prior two years (company only) - `osha_fatality_since_2023` — A work-related death reported to OSHA since 2023 (company only) - `osha_inspected_12m` — An OSHA inspection in the last 12 months (company only) - `osha_serious_violation_24m` — A serious OSHA citation in the last 24 months (company only) - `osha_willful_or_repeat_5y` — A willful or repeat OSHA citation in the last 5 years (company only) **PEO:** - `peo_joined` — New on a PEO roster or comp file (company only) - `peo_switch` — Moved from one PEO to another (company only) **Plan design:** - `reference_based_plan` — A reference-based plan priced off Medicare rates (TPA files) (company only) - `hsa_plan` — An HSA-eligible plan in carrier files (company only) - `hra_plan` — An HRA in carrier files (company only) - `nonprofit_benefits_no_carrier` — Form 990 benefits spend with no carrier on file (company only) **Predicted intent:** - `predicted_broker_switch` — Hillwinds model: likely to change broker (predicted intent) - `predicted_carrier_switch` — Hillwinds model: likely to change carrier (predicted intent) - `will_go_self_funded` — Hillwinds model: likely to move to self-funding (predicted intent) ### Broker and broker-office signals `/v1/brokers` rows list in `signals` every TRUE key below (50 keys); `/v1/broker-offices` rows add `large_office` (51). Their schemas in `/v1/openapi.json` are `BrokerSignal` and `BrokerOfficeSignal`. List, get, lookup and export rows agree. `signals=` accepts the same keys with `signal_match=any|all` (default all). All are basic signals: one basic signal charge per returned row whatever the number of TRUE or filtered keys; none are predicted-intent. Company keys such as `dc_late_deposits` return 400 `signal_not_available_for_resource` with no charge. Discover the live list with `GET /v1/filter-options/brokers/signals` and `GET /v1/filter-options/broker-offices/signals`. Level: on offices, `client_growth`, `commission_growth` and `large_office` are the office's own value; every other key repeats the parent firm's value on each office, so office counts are higher. Office rows keep `participant_growth` as a legacy alias of `client_growth`. Website keys (the three Website groups) are read only from the firm's own website and are FALSE when the site was not read. Rows return `website_scraped` next to `signals`; a FALSE website key with `website_scraped: false` means unknown, not absent. **Momentum:** - `fast_growing` — 10+ clients, clients up more than 20% (firm) - `shrinking` — 10+ clients, clients down more than 20% (firm) - `client_growth` — Clients up more than 10% (alias participant_growth on office rows) (office) - `commission_growth` — Commissions up more than 10% (office) - `commission_up_clients_flat` — Commissions up more than 20%, clients flat or down (firm) - `lives_growing` — 10+ clients, the book's covered lives up more than 20% (firm) - `lives_shrinking` — 10+ clients, the book's covered lives down more than 20% (firm) - `expanding_territory` — 3+ medical wins this year in DMAs where the firm has no office (firm) **Wins and risk:** - `winning_book` — 5+ medical clients won, net positive (firm) - `losing_book` — 5+ medical clients lost, net negative (firm) - `book_at_risk` — 20%+ of covered lives under a long-tenured broker with premiums climbing (firm) - `recently_acquired` — Bought by a broker in the newest 3 data years (firm) - `recent_acquirer` — Bought a firm in the newest 3 data years (firm) - `acquirable_independent` — One-office local firm, 10–75 clients, clients up 10%+ (firm) **Book:** - `writes_ancillary_benefits` — Writes dental, vision, life or disability (firm) - `writes_employee_benefits` — Writes employee benefits (filings or the firm's website) (firm) - `writes_group_health` — Writes group health (filings or the firm's website) (firm) - `off_cycle_renewal_book` — Half or more of clients renew off January 1 (firm) - `self_funded_book` — Half or more of covered lives self-funded (firm) - `single_carrier_overweight` — One carrier dominates the firm's relationships, all lines (firm) - `cobrokered_book` — Half or more of clients have 2+ medical brokers (firm) - `medical_carrier_concentration` — 70%+ of covered lives with one medical carrier family (firm) - `pbm_concentration` — 70%+ of clients with a known PBM share one PBM parent (firm) - `commissions_outpacing_premiums` — Commission growth over 10% and 10+ points above premium growth (firm) **Firm type:** - `captive_agent` — One carrier's captive agency (firm) - `general_agency` — General agency or wholesaler (firm) - `large_broker` — 500+ clients (firm) - `large_office` — One of the largest offices by client count (office only) **Website: lines:** - `writes_individual_health` — The firm's website says it writes individual health (firm) - `writes_aca_marketplace` — The firm's website says it writes ACA marketplace plans (firm) - `writes_medicare` — The firm's website says it writes Medicare (firm) - `writes_life` — The firm's website says it writes life insurance (firm) - `writes_disability` — The firm's website says it writes disability (firm) - `writes_dental_vision` — The firm's website says it writes dental or vision (firm) - `writes_long_term_care` — The firm's website says it writes long-term care (firm) - `writes_pc_commercial` — The firm's website says it writes commercial P&C (firm) - `writes_pc_personal` — The firm's website says it writes personal lines (firm) - `writes_workers_comp` — The firm's website says it writes workers' comp (firm) - `writes_eap` — The firm's website says it writes employee assistance programs (EAP) (firm) - `writes_prescription_drug` — The firm's website says it writes prescription drug coverage (firm) - `writes_stop_loss` — The firm's website says it writes stop-loss (firm) - `writes_voluntary_benefits` — The firm's website says it writes voluntary benefits (firm) **Website: services:** - `ichra_broker` — The firm's website offers ICHRA (firm) - `self_funded_expertise` — The firm's website claims self-funded expertise (firm) - `offers_hsa` — The firm's website offers HSAs (firm) - `offers_fsa` — The firm's website offers FSAs (firm) - `benadmin_offering` — The firm's website offers benefits administration (firm) - `pbm_partner` — The firm's website names a PBM partner (firm) - `peo_partner` — The firm's website names a PEO partner (firm) - `website_general_agent` — The firm's website says it is a general agent (firm) - `works_with_general_agent` — The firm's website says it works with a general agent (firm) - `appointed_national_medical_carrier` — The firm's website lists an appointment with a national medical carrier (firm) **Website: markets:** - `public_sector` — The firm's website says it serves the public sector (firm) - `executive_benefits` — The firm's website offers executive benefits (firm) - `regulated_industries` — The firm's website says it serves regulated industries (firm) **General agents:** - `ga_group_benefits` — A general agent for group benefits (state licence files) (firm) - `ga_individual_health` — A general agent for individual and ACA health (firm) - `ga_medicare` — A general agent for Medicare (FMO) (firm) - `ga_life_annuity` — A general agent for life and annuity (firm) - `ga_property_casualty` — A P&C wholesaler, MGA or general agent (firm) - `ga_agency_network` — An agency network or aggregator (firm) **Licences:** - `agency_licensed_pc_only` — Licensed for P&C only, with no life or health licence (firm) - `agency_licensed_life_health_only` — Licensed for life and health only, with no P&C licence (firm) - `not_employee_benefits` — Sells P&C or individual lines only, not employee benefits (firm) --- ## /docs/api/lookalikes (Lookalikes) Canonical: https://api.hillwinds.ai/docs/api/lookalikes `POST /v1/lookalikes` returns ranked IDs from the published V3 lookalike populations for live keys and deterministic zero-credit `sandbox-v1` IDs for test keys. The request body is: ```json { "entity_type": "company", "seed_ids": ["123456789", "987654321"], "limit": 20, "weights": { "industry": 3, "geo": 1, "employee_count_bucket": 2 }, "weights_mode": "adjust", "filters": { "states": ["TX"] }, "dry_run": false } ``` **Contract:** - `entity_type` is required and must be `company`, `broker_office`, or `personnel`. `broker` is not accepted because broker matching is office-level. - `seed_ids` is required and contains 1–5 non-empty unique IDs. Company IDs are EINs; the other types use their normal resource IDs. Seeds are excluded from results. - `limit` defaults to 25 and accepts 1–50. - `weights` is optional. Values must be finite non-negative numbers, at least one value must be positive, and the API normalizes them before ranking. `weights_mode` is `override` (default) or `adjust`. Every internal dimension is capped at 0.60; residual mass is redistributed across the remaining internal dimensions. - `filters` accepts the selected list endpoint's standard result filters in the JSON body. Personnel examples include `person_states`, `person_dmas`, `seniority`, `job_function`, `job_title`, `company_eins`, `industries`, and `employee_bands`. Company and broker-office filters use their corresponding list vocabulary. Filters constrain the searchable population before ranking; seeds are exempt. Unknown filters return `400 VALIDATION_ERROR` before ranking and billing. Personnel filters matching more than 50,000 candidates return a zero-credit `candidate_scope_too_large` validation error and must be narrowed. - `dry_run: true` validates live V3 seed eligibility without ranking or charge and returns `{id, lookalike_eligible}` rows plus `meta.validated_seeds`. Test-key dry runs exercise the contract but currently report every supplied seed as eligible. - `exclude_seed_company: true` is personnel-only and removes candidates employed by a seed company before final ranking and billing. - Required scopes: `read:companies`, `read:broker-offices`, or `read:personnel`, matching `entity_type`. - Search results contain `{id, rank}`. Rank is one-based. The response contains IDs only; use the corresponding detail endpoint for full records at its normal price. - `meta.applied_weights` exposes the final normalized vector using internal dimension names. `meta.sandbox: true` identifies test-key results. - Personnel results come from a privacy-safe V3.1 population built only from records with non-null email addresses. - A resource ID may be absent from the published V3 mapping. Any unavailable seed returns `422 INVALID_SEED`, charges 0, and requires a different seed rather than an unchanged retry. **Finding seed IDs:** - Use the same key for entity discovery and the lookalike request. Test-key reads and lookalikes both use sandbox data. - Company: call `GET /v1/companies/autocomplete?column=company_name&query=&limit=5` (free) and copy `data[].id`, which is the EIN, or use `GET /v1/companies/lookup?name=...`. - Broker office: call `GET /v1/broker-offices/autocomplete?search=&limit=5` for direct name-to-ID resolution, or use `GET /v1/broker-offices?search=&states=` when offices must be narrowed. Copy `data[].id`. - Personnel: call `GET /v1/personnel/autocomplete?column=full_name&query=&limit=5` (free) and copy `data[].id`. Seeds must be email-eligible; to check that or narrow by employer, call `GET /v1/personnel?lead_type=company|broker&search=&has_email=true&page_size=5` with `company_eins` or `broker_office_ids`. - Use a zero-credit live-key `dry_run` to validate V3 eligibility. Each unavailable seed is named in `422 INVALID_SEED` details. **How weights affect results:** - Omit `weights` to use adaptive V3 weighting derived from the seed profiles. - Custom weights apply only to the current request. They are not saved to the API key, user, or organization. - Values are relative ratios. Multiplying every supplied value by the same constant produces the same pre-cap weighting. - `override` replaces adaptive ratios. `adjust` multiplies the adaptive vector and preserves omitted dimensions. Both modes cap each internal dimension at 0.60 and redistribute residual mass. With a single override category, that category receives 0.60 and the remaining 0.40 is spread uniformly across omitted internal dimensions. - Custom weights change ranking, not seed eligibility, population, limit, or billing. Inspect `meta.applied_weights` to see the post-expansion, post-cap vector. **Public weight categories:** - Company: `geo`, `industry`, `carrier_premiums`, `total_relationships`, `total_premiums`, `all_carriers`, `premium_relationship_summary`, `all_providers_carriers`, `medical_broker_relationship`, `company_profile`, `employee_count_bucket`. - Broker office: `broker`, `geo`, `client_count_bucket`, `broker_office_commissions`, `industry`, `employee_coverage`, `general`, `broker_carrier`. - Personnel: `title`, `job_description`, `seniority`, `geo`, `company_name`, `company_industry`, `broker_office`. `lead_type` is not a weight. Exact employer and office names are absent from the privacy-safe source, so `company_name` and `broker_office` weight their closest published profile dimensions. **Public category → applied dimension mapping:** Company `geo` → `company_state`, `company_city`, `dma`; `industry` → `industry_search_term`; `carrier_premiums` → `carrier_premium_bucket`; `premium_relationship_summary` → `carrier_premium_bucket`, `total_relationships`, `total_premiums`; `company_profile` → `funding_status`, `esop_status`, `profile_brokers`, `accounting_firms`, `retirement_asset_bucket`. Broker-office `broker` and `general` → `relationship_profile`; `geo` → `broker_state`, `broker_dma`; `client_count_bucket` → `client_count_bucket_v3_1`; `broker_office_commissions` → `commission_tier`. Personnel `geo` → `person_dma`, `person_state`; `company_name` → `employee_size_bucket`; `company_industry` → `industry_search_term`; `broker_office` → `benefit_specialties`. Unlisted one-to-one categories retain their public name. **Billing:** Live keys pay exactly 1 credit per returned result. Test keys return deterministic sandbox results and charge zero. Dry runs and validation, authentication, authorization, unavailable-seed, no-match, timeout, and internal-failure responses charge 0. This endpoint does not use normal basic/advanced row pricing, cached-row discounts, or signal surcharges. **Errors:** `400 VALIDATION_ERROR`, `401 UNAUTHORIZED`, `403 FORBIDDEN`, `404 NO_MATCHES`, `422 INVALID_SEED`, `504 LOOKALIKE_TIMEOUT`, and `500 LOOKALIKE_FAILED`. --- ## /docs/rate-limits (Rate Limits & Quotas) Canonical: https://api.hillwinds.ai/docs/rate-limits **What are the API rate limits?** The API rate limits are 120 requests per minute for each live key and 10 requests per minute for each test key; the organization's daily row limit is shared across keys. Per-minute (per key): 120 live / 10 sandbox. Sandbox/test keys have max `page_size=100`. Daily live rows follow the organization's safety limit (default 10,000 rows per UTC day; `429 DAILY_ROW_LIMIT` when used up). There is no separate daily query or export quota. Response headers: `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset`, `X-Org-Credits-Remaining`, `X-Org-Daily-Rows-Remaining`. --- ## /docs/versioning (Versioning & Deprecation) Canonical: https://api.hillwinds.ai/docs/versioning All endpoints at `/v1/`. Non-breaking: new endpoints, new fields, new optional params. Breaking: removing/renaming fields/params, type changes, default changes. Flat-mode column names are part of the public contract. The former alias paths `/v1/review-flags`, `/v1/usage/by-endpoint`, `/v1/usage/by-key`, `/v1/credits/by-endpoint`, `/v1/credits/by-key` and `/v1/bug-reports` were removed in November 2026 and return 404; use `/v1/data-flags`, `/v1/credits/usage/by-endpoint`, `/v1/credits/usage/by-key` and `/v1/reports`. --- ## /docs/for-ai-agents (AI Agent Guide) Canonical: https://api.hillwinds.ai/docs/for-ai-agents **Read this first if you are an LLM or coding agent.** Single-page primer with: - Endpoint cheat sheet covering the core entity, lookalike, filter, workflow, key, credit, and reporting resource families. - The five universal query parameters (`mode`, `fields`, `count_only`, `dry_run`, `include_count`) with when-to-use guidance. - Common pitfalls: broad-query cost, single-token search with domain and multi-search alternatives, narrow autocomplete column allowlists, personnel `lead_type` polymorphism, filter validation, loose seniority/job_function buckets, broker matching vs estimated `primary_broker`, and path/body naming aliases. - 8 copy-paste curl recipes for the most common asks (find company by name, get benefits decision-makers at a known company, get broker reps at an office, build-and-tag a prospect list, count for free, discover filter values, resolve company → broker office ID, rank company lookalikes). - Discovery flow: llms.txt → OpenAPI spec → this guide → per-resource pages → live `/filter-options` → free probes. - Machine-readable endpoint index generated from the live OpenAPI spec at build time. - **Dedicated Autocomplete reference** — request shape, response shape, and a per-resource matrix covering `column=` allowlists and `id` population per resource. See "Autocomplete reference" below for the same content. - One-paragraph errors summary. - Guidance on filing reports via `POST /v1/reports`. --- ## Autocomplete reference (all four resources) All four resources expose `GET /v1/{resource}/autocomplete` with the same request and response shape. The only per-resource variation is the `column=` allowlist. **Request:** `query` (or `search` alias) — required, ≥ 2 chars (1-char or missing → 400). `column` — optional, must be on the per-resource allowlist below (otherwise 400). `limit` — optional; default 10, maximum 100 (larger values return 100 rows). Autocomplete is free and requires the resource's read scope (`read:companies`, `read:personnel`, `read:broker-offices` or `read:brokers`). **Response shape (same across resources):** ```json { "ok": true, "data": [{ "id": "...", "label": "...", "resource": "...", "value": "..." }], "meta": { "credits_charged": 0, "returned": 1 } } ``` `label` is the display string (often fully qualified). `value` is the matched column value, suitable for echoing into `?search=` on the list endpoint — except personnel, where `label` is the person's name and `value` is their employer. `id` is the record ID for the default column (the EIN for companies); the `website` and `title` columns return `id: ""`. `resource` echoes the source resource. **Per-resource matrix:** | Resource | `column=` allowlist | Default | `id` populated? | Notes | | ---------------- | ------------------------- | -------------- | --------------- | ------------------------------------------------------------------------------------------- | | `companies` | `company_name`, `website` | `company_name` | **Yes** for `company_name`; `website` → `""` | Prefer `?search=` over `?query=`. For full records use detail or lookup. | | `personnel` | `full_name`, `title` | `full_name` | **Yes** for `full_name`; `title` → `""` | `value` is the employer. `first_name`, `last_name`, `email_address`, `company_name` all return 400. | | `broker-offices` | `office_name` | `office_name` | **Yes** | Returns broker office IDs for direct office lookup and filters. | | `brokers` | `broker_name` | `broker_name` | **Yes** | For exact enrichment prefer `GET /v1/brokers/lookup?name=...`. | **When to use autocomplete vs alternatives:** UI typeahead — always autocomplete (free, label/value designed for it). Name → ID — autocomplete on the default column returns the ID for free; use it before any billed `?search=` list call. Name → full record — resolve the ID, then call detail (`GET /v1/{resource}/{id}`), or use `/lookup` for companies and brokers. "Does this name exist?" probes — autocomplete with `limit=1` is the cheapest answer. Canonical: https://api.hillwinds.ai/docs/for-ai-agents/autocomplete --- ## /docs/for-ai-agents/recipes (Recipe Library) Canonical: https://api.hillwinds.ai/docs/for-ai-agents/recipes Eight copy-paste flows cover company discovery, benefits decision-makers, broker representatives, safe prospect-list sizing and tagging, zero-credit counts and dry runs, filter discovery, broker-office resolution, and production-only lookalike ranking. Use sandbox keys for supported entity-read recipes and a production key for lookalikes and state-changing tag operations. --- ## /docs/for-ai-agents/endpoint-index (Endpoint Index) Canonical: https://api.hillwinds.ai/docs/for-ai-agents/endpoint-index The endpoint index is generated from every operation in the live OpenAPI document during each build. Treat the live OpenAPI spec as authoritative for paths, methods, parameters, types, and enums; use the resource sections in this document for response shapes and operational guidance. 107 operations. Auth `bearer` needs an API key (scopes, credit costs and test-key support are on each resource section); `public` needs no key. | Operation | Auth | Summary | | --- | --- | --- | | GET /v1/api-keys | bearer | List API keys | | POST /v1/api-keys | bearer | Create child API key | | DELETE /v1/api-keys/{key_id} | bearer | Revoke API key | | POST /v1/api-keys/{key_id}/rotate | bearer | Rotate API key | | GET /v1/app-links | bearer | List linkable targets | | POST /v1/app-links | bearer | Create links into the web app | | GET /v1/broker-offices | bearer | List broker offices | | GET /v1/broker-offices/autocomplete | bearer | Autocomplete broker offices | | GET /v1/broker-offices/export.csv | bearer | Export broker offices CSV | | GET /v1/broker-offices/{id} | bearer | Get broker office | | GET /v1/broker-offices/{id}/tags | bearer | List broker office tags | | GET /v1/brokers | bearer | List brokers | | GET /v1/brokers/autocomplete | bearer | Autocomplete brokers | | GET /v1/brokers/export.csv | bearer | Export brokers CSV | | GET /v1/brokers/lookup | bearer | Lookup broker | | GET /v1/brokers/{id} | bearer | Get broker | | GET /v1/brokers/{id}/tags | bearer | List broker tags | | GET /v1/changelog | public | Redirect to the API changelog on the documentation site | | GET /v1/companies | bearer | List companies | | GET /v1/companies/autocomplete | bearer | Autocomplete companies | | POST /v1/companies/batch | bearer | Batch lookup companies | | GET /v1/companies/export.csv | bearer | Export companies CSV | | GET /v1/companies/lookup | bearer | Lookup company | | GET /v1/companies/{id} | bearer | Get company | | GET /v1/companies/{id}/401k-history | bearer | Get company defined-contribution history | | GET /v1/companies/{id}/history | bearer | Get company history | | GET /v1/companies/{id}/tags | bearer | List company tags | | GET /v1/credits | bearer | Check credit balance | | GET /v1/credits/usage | bearer | Credit usage history | | GET /v1/credits/usage/by-endpoint | bearer | Credit usage grouped by endpoint | | GET /v1/credits/usage/by-key | bearer | Credit usage grouped by API key | | GET /v1/data-flags | bearer | List data quality flags | | POST /v1/data-flags | bearer | Create data quality flag | | PATCH /v1/data-flags/bulk | bearer | Internal reviewer: bulk approve or reject data quality flags | | PATCH /v1/data-flags/{id} | bearer | Internal reviewer: approve or reject data quality flag | | DELETE /v1/data-flags/{id} | bearer | Internal reviewer: delete data quality flag | | GET /v1/docs/api/errors | public | Read the API error contract | | GET /v1/dynamic-tags | bearer | List saved dynamic tags | | POST /v1/dynamic-tags | bearer | Create a saved dynamic tag | | GET /v1/dynamic-tags/{id} | bearer | Get a saved dynamic tag | | PATCH /v1/dynamic-tags/{id} | bearer | Edit a saved dynamic tag | | DELETE /v1/dynamic-tags/{id} | bearer | Delete a saved dynamic tag | | GET /v1/filter-options | bearer | List filter options | | GET /v1/filter-options/broker-offices | bearer | Get broker office filter details | | GET /v1/filter-options/brokers | bearer | Get broker filter details | | GET /v1/filter-options/companies | bearer | Get company filter details | | GET /v1/filter-options/personnel | bearer | Get personnel filter details | | GET /v1/filter-options/top_brokers | bearer | Get top broker filter values | | GET /v1/filter-options/{key} | bearer | Get filter option values | | GET /v1/filter-options/{resource}/{filter} | bearer | Get resource filter values | | GET /v1/health | public | Check API health | | GET /v1/identities | bearer | List marketing identities | | POST /v1/identities | bearer | Create a marketing identity | | GET /v1/identities/schema | bearer | Get the marketing identity JSON structure | | GET /v1/identities/{id} | bearer | Get a marketing identity | | PATCH /v1/identities/{id} | bearer | Edit a marketing identity | | DELETE /v1/identities/{id} | bearer | Delete a marketing identity | | POST /v1/identities/{id}/duplicate | bearer | Duplicate a marketing identity | | POST /v1/identities/{id}/share | bearer | Create or retrieve an identity share link | | DELETE /v1/identities/{id}/share | bearer | Revoke an identity's share links | | GET /v1/identity-generation-jobs/{job_id} | bearer | Get marketing identity generation status | | GET /v1/identity-shares/{token} | public | Get a shared marketing identity | | GET /v1/llms-full.txt | public | Redirect to the complete plain-text API reference on the documentation site | | GET /v1/llms.txt | public | List machine-readable API discovery links and core endpoints | | POST /v1/lookalikes | bearer | Find similar entities | | GET /v1/personnel | bearer | List personnel | | GET /v1/personnel/autocomplete | bearer | Autocomplete personnel | | POST /v1/personnel/batch | bearer | Batch enrich personnel by company EIN or personnel id | | GET /v1/personnel/export.csv | bearer | Export personnel CSV | | GET /v1/personnel/lookup | bearer | Lookup personnel | | GET /v1/personnel/{id} | bearer | Get personnel | | GET /v1/personnel/{id}/tags | bearer | List personnel tags | | GET /v1/pools | bearer | List your pools | | POST /v1/reports | bearer | Create API bug report | | GET /v1/tags | bearer | List tags | | POST /v1/tags | bearer | Create tag | | DELETE /v1/tags | bearer | Delete tag by entity id and tag | | POST /v1/tags/bulk | bearer | Bulk create tags | | POST /v1/tags/bulk-delete | bearer | Bulk remove tags | | GET /v1/tags/entities | bearer | List entities for tag | | DELETE /v1/tags/{id} | bearer | Delete tag | | GET /v1/usage/ai-costs | bearer | Report internal writing AI costs | | GET /v1/usage/writing | bearer | Report writing API usage | | GET /v1/whoami | bearer | Inspect current caller | | GET /v1/writing-ctas | bearer | List personal writing CTAs | | POST /v1/writing-ctas | bearer | Create a personal writing CTA | | GET /v1/writing-ctas/{id} | bearer | Get a personal writing CTA | | PATCH /v1/writing-ctas/{id} | bearer | Edit a personal writing CTA | | DELETE /v1/writing-ctas/{id} | bearer | Delete a personal writing CTA | | GET /v1/writing-jobs | bearer | List writing generation jobs | | POST /v1/writing-jobs | bearer | Start email or LinkedIn generation | | POST /v1/writing-jobs/batch | bearer | Start writing generation for up to 25 targets | | GET /v1/writing-jobs/{job_id} | bearer | Get a writing generation job | | GET /v1/writing-plays | bearer | List personal writing plays | | POST /v1/writing-plays | bearer | Add one or more personal writing plays | | GET /v1/writing-plays/{id} | bearer | Get a personal writing play | | PATCH /v1/writing-plays/{id} | bearer | Edit a personal writing play | | DELETE /v1/writing-plays/{id} | bearer | Delete a personal writing play | | GET /v1/writing-subjects | bearer | List saved subject lines | | POST /v1/writing-subjects | bearer | Create a saved subject line | | GET /v1/writing-subjects/{id} | bearer | Get a saved subject line | | PATCH /v1/writing-subjects/{id} | bearer | Edit a saved subject line | | DELETE /v1/writing-subjects/{id} | bearer | Delete a saved subject line | | GET /v1/writing/options | bearer | List selectable writing inputs | | GET /v1/writing/temperature | bearer | Get Personal Play temperature | | POST /v1/writing/temperature | bearer | Set Personal Play temperature | | PATCH /v1/writing/temperature | bearer | Set Personal Play temperature | --- ## /docs/api/companies (Companies) Canonical: https://api.hillwinds.ai/docs/api/companies **Endpoints:** - `GET /v1/companies` — list + filter (0.10 / 1.00 per row). - `GET /v1/companies/:id` — detail by EIN; dashes and leading zeros are optional (`010021090` = `01-0021090` = `10021090`). - `GET /v1/companies/lookup?domain=|name=|ein=` — exactly one of the three; optional `filing_year`, `mode`, `fields`, `format`, `dry_run`. A domain returns the largest company whose name matches it (`meta.match_method` `unique_name_and_domain` or `largest_of_brand`, with `meta.other_entities`). An unclear owner returns `400 VALIDATION_ERROR` with issue `ambiguous_domain` (tie, missing employee count, or too many candidates) or `unverified_domain_owner` (a larger company shares the domain, or the only company's name doesn't match), carrying `candidates`, `truncated`, up to 10 `suggestions` ranked by employees (id, name, website, employees, city, state, name_match) and an `autocomplete` link. A domain no company stores returns `404` issue `not_found` with a `fallback` link to name autocomplete (the company may exist without a stored website); a non-domain returns `400` `invalid_domain`. A `name` that matches several companies returns `400` (issue `multiple_matches`) and a name with no exact match returns `404`, both with up to 10 suggestions. Missing or extra lookup parameters return `400` `invalid_lookup_shape`. Every refusal is free. `ein` ignores dashes and spaces and leading zeros are optional (`12-3456789` = `123456789`; `020657423` = `02-0657423` = `20657423`); it must be 1–9 digits, otherwise `400 VALIDATION_ERROR` (`invalid_ein`). - `POST /v1/companies/batch` — body `{domains: [...]}` OR `{eins: [...]}` (exactly one; both or neither returns `400` `invalid_batch_shape`); max 100. Accepted body fields are `domains`, `eins`, `mode`, `fields`, `format` and `dry_run`; any other field (including `names`) returns `400` `unknown_field` with the accepted list. Batch does not take company names: use lookup `?name=` or autocomplete. Each domain uses the same matching rule as lookup and gets the same answer, but the response is always `200`: `data.results[]` has one entry per input in input order with `input`, `status` (`matched`, `ambiguous_domain`, `unverified_domain_owner`, `not_found`, `invalid_domain`), `id`, `name`, `match_method`, `other_entities`, `candidates`, `suggestions`, `autocomplete` and `message`. A repeated input gets its own entry and is charged once. `matched` holds the full records in input order; `unmatched` (alias `not_found`) lists unmatched inputs as sent. Only matched rows are billed. Each EIN is normalized like the lookup `ein` parameter (dashes/spaces ignored, leading zeros optional, 1–9 digits); an invalid entry returns `400 VALIDATION_ERROR` for the whole request; EIN entries are `matched` (`match_method` `ein`) or `not_found`. - `GET /v1/companies/export.csv` — sync CSV. Without `page_size` it returns every match up to 2,000 (100 for test keys) and needs a filter; a larger match returns `400 EXPORT_TOO_LARGE` (free) instead of a short file. `page_size` (≤2,000) + `page` export in parts. Headers `X-Total-Count` and `X-Rows-Returned` on every export; `fields=` sets the columns exactly (no `lead_source`); a header row is written for zero matches. Same rules on every `export.csv`. - `GET /v1/companies/autocomplete?column=...&query=...&limit=...` — free; returns `{id, label, resource, value}`. **Filters:** `search`, `states`, `dmas`, `geo_mode`, `employee_bands`, `premium_tiers`, `industries`, `naics_codes`, `funding_status`, `renewal_month`, `asset_tiers_401k`, `broker`, `primary_broker`, `broker_office`, `primary_broker_office`, `broker_office_ids`, `carrier`, `domain`, `domain_contains`, `signals`, `signal_match`, `tags`, `tag_scope`, `crm_status`, `filing_year`, `short_form`, `since` (not yet available; see Filtering), `cf[col]`, `eb[col]`. `benefit_type` and `relationship_density` are reserved and return 400 until their values are published. **Funding status:** `funding_status` accepts exactly `Self-Funded`, `Level-Funded` or `Fully Insured`. `Level-Funded` means a carrier's rate files show the company on a level-funded health plan, mostly small employers that do not file a Form 5500. It comes from carrier rate files, not the Form 5500. The three values are mutually exclusive and companies with no funding value match none of them. The `self_funded` signal does not include level-funded companies, and company history `summary.funding` does not carry `Level-Funded` yet. **Basic response fields (~12):** id, company_name, company_state, company_city, company_zip, company_address, company_dma, company_industry, employee_band, total_number_of_employees, website, crm_status. **Advanced fields (~44):** adds premium_tier, self_funded_or_fully_insured, linkedin, renewal_date, filing_year, available_filings, signals, participants, total_premiums, medical_premiums, primary_broker, primary_broker_office, broker_commission, broker_tenure_years, broker_commission_growth_pct, primary_broker_compensation, primary_broker_address/city/state, all_carriers, all_brokers, admin_name, admin_email, admin_phone, plus `pepm`, `medical_pepm`, `commission_rate`, `has_401k_plan` and the `dc_*` defined-contribution fields listed under Company Defined-Contribution History. `renewal_month` is a filter parameter, not a response field. **Signals on company enrichment:** `POST /v1/companies/batch` accepts `mode`, `fields`, and `format` in the query string or JSON body; query parameters take precedence. With advanced company access, `mode=full` includes the same signals as `GET /v1/companies/{id}?mode=full`; `fields=signals` returns id and signals. Basic mode omits signals by default. Company lookup does not return signals: resolve the ID, then use detail with `mode=full` for signal-dependent single-record enrichment. This caveat applies to the CRM, Clay, and autocomplete guidance. --- ## /docs/api/company-history (Company History) Canonical: https://api.hillwinds.ai/docs/api/company-history `GET /v1/companies/{ein}/history` returns a company's history in one call: the yearly rollup, plan-by-plan filings, and the change-event timeline. Use a production bearer API key or delegation with `read:companies`; a basic-tier key is sufficient. Sandbox keys are not supported. Accepts dashed or undashed EINs, including leading zeros. | Parameter | Rule | | --- | --- | | `kind` | `benefits` (default), `401k` or `all`. Selects welfare plans, defined-contribution plans or both, and the default event domain. | | `years` | Integer 1–10; default 10. For the `years` section, the most recent available filing years in ascending order. Also sets the default `since_year`. | | `include` | Comma-separated `years`, `plans`, `events`, `contracts`, `brokers`, `carriers` (alias `medical_carriers`), `providers`. Default `years,brokers,carriers`. A selection made only of `brokers`/`carriers`/`medical_carriers` still returns `years`, as before. `contracts` implies `plans`. `providers` requires `kind=401k` or `all`. | | `since_year` | First filing or event year for `plans`, `contracts` and `events`; default current UTC year minus `years`; at most 10 years back. | | `event_type` | `include=events` only. Comma-separated event types; an unknown value returns 400. | | `event_domain` | `include=events` only. `benefits` or `401k`; defaults from `kind` (`all` returns both). | | `events_limit` | `include=events` only. 1–500; default 200. | | `events_cursor` | `include=events` only. The opaque `meta.events_next_cursor` from the previous page. | | `dry_run` | `true` returns a price estimate without data or charge. | Unknown or repeated parameters, unsupported values, and event options without `include=events` return 400. A company without history returns 200 with empty sections and zero credits; a missing company returns 404 and zero credits. `kind=benefits` and `kind=all` use the `company-history` price (default 5 basic credits for a populated first lookup); `kind=401k` uses the `company-401k-history` price (default 0). Repeats of the normalized EIN within 30 days are free per organization regardless of sections. The configured price and cache window can differ. A preview accounts for current entitlements but remains an estimate. An optional `X-Hillwinds-Max-Credits` header bounds the actual charge; exceeding it returns 409 without charging. A response larger than 2 MB returns 413 `RESPONSE_TOO_LARGE` without charging; narrow `years`, `since_year` or `include`. `meta` includes `credits_charged`, `base_credits`, `signal_credits`, `billable_rows`, `cached_rows`, `cached` (every requested section came from the history cache), `events_next_cursor` with `include=events`, and, when available, balances and cache details. **Sections.** `years` is the yearly welfare rollup described below; with `kind=401k` it is the defined-contribution rollup returned by `/companies/{ein}/401k-history`, and with `kind=all` that rollup is returned as `years_401k`. `plans[]` holds one entry per plan (`plan_number`, `plan_name`, `plan_type` `welfare`/`dc`/`db`/`other`, `status` `active`/`final`/`inactive`, `first_plan_year` and `final_plan_year` (dates, `YYYY-MM-DD`), `plan_year_start_month`, `next_return_due_date`) with ascending `years[]` filings from `since_year`: plan year, form, `filed_date` (date EFAST2 received the kept filing, or null), first/final return, funding, welfare benefits, participants, net assets, `transfers_in`/`transfers_out` with `transfers_source`, signers, `premium_total`, `premium_medical` (as filed), `premium_core_medical`, `premium_ancillary`, `broker_pay_total`, `commission_rate` and `retirement` (401(k) figures for the company's primary defined-contribution plan); filing PDF links and carrier contract numbers are never returned; `contracts[]` and `brokers[]` appear with `include=contracts` and `include=brokers`. `events[]` is newest first (`event_year` descending, then a stable key) with `event_year`, `event_date`, `date_basis` (`plan_year_anchor`), `domain`, `event_type`, `plan_number`, `subject_id`, `subject_name`, `broker_entity_kind`, `from`, `to`, `change`, `amount`, `from_year` and `source` (always `hillwinds`, matching `lead_source.source` on entity rows). `from_year` is the earlier filing year the event compared against (usually `event_year - 1`, but it skips years without data) and is null on the single-year types `plan_started`, `plan_ended`, `plan_wound_up`, `assets_transferred_in`, `assets_transferred_out` and `late_deposits_reported`. `coverage` adds `since_year`, and with those sections `plans_from`, `contracts_from`, `latest_filing_year` and `events_from`. The response contains `company` (`id`, `ein`, `name`, `persistent_id`), `coverage` (`years_requested`, `window`, `years_returned`, `data_as_of`) and `years`. The window spans the requested calendar years ending with the last completed UTC year, even for empty history. Returned years are the most recent available filing years and can fall outside that window when filings are sparse. Each yearly entry contains `summary` and the requested `brokers` and `medical_carriers` arrays. The following illustrates the shape with one company's 2023/2024 values: ```json {"ok":true,"data":{"company":{"id":"123456789","ein":"12-3456789","name":"EXAMPLE MANUFACTURING CO","persistent_id":"5b1e0c7a-9d24-4f3e-8a6b-c2d94e7f1a05"},"coverage":{"years_requested":10,"window":[2016,2025],"years_returned":[2023,2024],"data_as_of":"2026-10-23T00:00:00+00:00"},"years":[{"year":2023,"summary":{"employees":240,"participants":240,"total_premiums":null,"medical_premiums":null,"broker_compensation":null,"commission_rate":null,"per_capita_premium":null,"pepm":null,"premium_change":null,"commission_change":null,"participant_change":null,"primary_carrier":null,"primary_medical_carrier":null,"primary_broker":null,"funding":null},"brokers":[],"medical_carriers":[]},{"year":2024,"summary":{"employees":438,"participants":438,"total_premiums":556644,"medical_premiums":0,"broker_compensation":86482,"commission_rate":0.1554,"per_capita_premium":1270.88,"pepm":105.91,"premium_change":null,"commission_change":null,"participant_change":0.825,"primary_carrier":"The Guardian Life Insurance Company of America","primary_medical_carrier":null,"primary_broker":"ACRISURE","funding":"Self-Funded"},"brokers":[{"broker_id":"fa979ac537defc9aa804ef2901808eb8","name":"ACRISURE","domain":"acrisure.com","entity_kind":"broker","office_matched":{"id":"7f64eb25059fee61f3e5c634defbf428","name":"ACRISURE - LEESBURG, FL","city":"LEESBURG","state":"FL","dma":"ORLANDO - DAYTONA BCH - MELBRN"},"commissions":76641,"fees":9841,"total_compensation":86482,"premiums_placed":556644,"compensation_change":null,"lines":["Accidental Death & Dismemberment","Dental Insurance","Life Insurance","Long-Term Disability Insurance","Temporary Disability Insurance","Vision Insurance"],"rank":1}],"medical_carriers":[]}]},"meta":{"credits_charged":5,"base_credits":5,"signal_credits":0,"billable_rows":1,"cached_rows":0}} ``` The date above is illustrative: `data_as_of` reflects source timestamps. Values and coverage can change as filings are updated. | Fields | Provenance and interpretation | | --- | --- | | `company`, `coverage`, `year` | Company identity and filing years are resolved from the source; coverage and timestamp are derived from returned data. | | `employees`, `funding` | Hillwinds model outputs; funding is returned only when total premium is known. History funding holds `Self-Funded` or `Fully Insured` only; `Level-Funded` is not carried in history yet. | | `participants`, `total_premiums`, `broker_compensation` | Filed values. | | `medical_premiums`, `commission_rate`, `per_capita_premium`, `pepm`, changes, primary carrier and broker | Derived values; rate is compensation divided by total premiums, rounded to four decimal places. | | Broker `broker_id`, `name`, `domain`, `entity_kind`, `office_matched` | Hillwinds identification/classification and matched-office data. The office is a match, not the Schedule A address. | | Broker commissions, fees, compensation, premiums, lines, change, rank | Filing-derived values or aggregates; rank and change are derived. | | Medical carrier name, contracts, premium, covered, previous premium, change, policy end, rank | Filing-derived medical-carrier aggregates; previous premium, change and rank are derived. | Unknown is not zero: total premiums at or below zero become null; medical premiums and funding are null when total premium is null. A real zero medical premium remains zero when total premiums exist. Exclude non-welfare brokers and brokers with no benefit lines. Do not treat the matched office as a filed address, or the funding label as a filed fact. Ratios and growth changes are fractions (0.155 means 15.5%); dollar totals are whole dollars. Per-line premium allocations in the yearly rollup, basis labels, outlook, next renewal and tenure are not returned; use `plans` for per-contract premiums and `events` for the change timeline. Renewal is on the company record. Broker presence in the returned years shows only the observed span, not necessarily the entire relationship. | Section | Provenance and interpretation | | --- | --- | | `plans[].years[]` form, first/final return, participants, net assets, signers, `welfare_benefits`, `premium_total`, `premium_medical`, broker pay | Filed values from that plan year's filing. | | `plans[].years[].funding` | The filed funding arrangement (`insurance`, `trust`, `general_assets`). The yearly `summary.funding` label is a Hillwinds model output and can differ from it. | | `plans[]` `status`, `next_return_due_date`; `plans[].years[]` `premium_core_medical`, `premium_ancillary`, `commission_rate`, `transfers_source` | Derived from the plan's filings. | | `contracts[]` | Filed Schedule A contracts for the plan year: carrier, policy dates, premium, covered persons and broker pay; `is_core_medical` and `is_medical_contract` are derived. | | `events[]` | Derived year-over-year differences between filings; `from` and `to` are the compared values and `from_year` the earlier compared year. `event_date` is a plan-year anchor, so treat `event_year` as primary. | ### Yearly rollup field provenance | Field | Provenance | Reason | | --- | --- | --- | | `company.id` | Derived | Company identity is resolved and EIN is normalized. | | `company.ein` | Derived | Company identity is resolved and EIN is normalized. | | `company.name` | Derived | Company identity is resolved and EIN is normalized. | | `company.persistent_id` | Derived | Company identity is resolved and EIN is normalized. | | `coverage.years_requested` | Derived | Coverage and timestamp are calculated from selected data. | | `coverage.window` | Derived | Coverage and timestamp are calculated from selected data. | | `coverage.years_returned` | Derived | Coverage and timestamp are calculated from selected data. | | `coverage.data_as_of` | Derived | Coverage and timestamp are calculated from selected data. | | `year` | Filed | The filing year identifies each snapshot. | | `summary.employees` | Model | Employees are modeled; funding is a Hillwinds label. | | `summary.funding` | Model | Employees are modeled; funding is a Hillwinds label. | | `summary.participants` | Filed | Reported filing values; nonpositive total premiums are unknown. | | `summary.total_premiums` | Filed | Reported filing values; nonpositive total premiums are unknown. | | `summary.broker_compensation` | Filed | Reported filing values; nonpositive total premiums are unknown. | | `summary.medical_premiums` | Derived | Computed or selected from filing-derived data. | | `summary.commission_rate` | Derived | Computed or selected from filing-derived data. | | `summary.per_capita_premium` | Derived | Computed or selected from filing-derived data. | | `summary.pepm` | Derived | Computed or selected from filing-derived data. | | `summary.premium_change` | Derived | Computed or selected from filing-derived data. | | `summary.commission_change` | Derived | Computed or selected from filing-derived data. | | `summary.participant_change` | Derived | Computed or selected from filing-derived data. | | `summary.primary_carrier` | Derived | Computed or selected from filing-derived data. | | `summary.primary_medical_carrier` | Derived | Computed or selected from filing-derived data. | | `summary.primary_broker` | Derived | Computed or selected from filing-derived data. | | `brokers[].broker_id` | Model | Hillwinds identifies and classifies the broker. | | `brokers[].name` | Model | Hillwinds identifies and classifies the broker. | | `brokers[].domain` | Model | Hillwinds identifies and classifies the broker. | | `brokers[].entity_kind` | Model | Hillwinds identifies and classifies the broker. | | `brokers[].office_matched.id` | Model | Hillwinds nearest-office match, not the filed Schedule A address. | | `brokers[].office_matched.name` | Model | Hillwinds nearest-office match, not the filed Schedule A address. | | `brokers[].office_matched.city` | Model | Hillwinds nearest-office match, not the filed Schedule A address. | | `brokers[].office_matched.state` | Model | Hillwinds nearest-office match, not the filed Schedule A address. | | `brokers[].office_matched.dma` | Model | Hillwinds nearest-office match, not the filed Schedule A address. | | `brokers[].commissions` | Derived | Filing-derived broker aggregates. | | `brokers[].fees` | Derived | Filing-derived broker aggregates. | | `brokers[].total_compensation` | Derived | Filing-derived broker aggregates. | | `brokers[].premiums_placed` | Derived | Filing-derived broker aggregates. | | `brokers[].lines` | Derived | Filing-derived broker aggregates. | | `brokers[].compensation_change` | Derived | Calculated from broker aggregates. | | `brokers[].rank` | Derived | Calculated from broker aggregates. | | `medical_carriers[].name` | Derived | Filing-derived medical-carrier aggregates. | | `medical_carriers[].contracts` | Derived | Filing-derived medical-carrier aggregates. | | `medical_carriers[].premium` | Derived | Filing-derived medical-carrier aggregates. | | `medical_carriers[].covered` | Derived | Filing-derived medical-carrier aggregates. | | `medical_carriers[].policy_end_date` | Derived | Filing-derived medical-carrier aggregates. | | `medical_carriers[].prev_year_premium` | Derived | Calculated from filing-derived carrier aggregates. | | `medical_carriers[].premium_change` | Derived | Calculated from filing-derived carrier aggregates. | | `medical_carriers[].rank` | Derived | Calculated from filing-derived carrier aggregates. | --- ## /docs/api/company-401k-history (Company Defined-Contribution History) Canonical: https://api.hillwinds.ai/docs/api/company-401k-history `GET /v1/companies/{ein}/401k-history` requires `read:companies`; basic tier is sufficient. It returns single-employer defined-contribution history for the last 10 years. `years=all` (default, the last 10 years) or an integer from 1 to 10 selects recent years, `include=providers` adds recordkeepers, and `dry_run=true` previews price. The configurable price defaults to zero. `X-Hillwinds-Max-Credits` caps the actual charge; 409 means the cap was exceeded without a charge. Unknown EINs return 404 and invalid parameters 400. Coverage `data_as_of` is null. Null means unknown. Filed values and aggregates include participants, contributions, assets, outflows, compliance and providers; metrics are derived, and Plan Score is a Hillwinds model output. Ratios may exceed 1, returns are estimates, plan-paid expenses can undercount total expenses, and limited-scope audit is a reported fact. No figure is a percentage of pay. Current company records include configured advanced defined-contribution fields: `has_401k_plan`, `dc_plan_filing_year`, `dc_plan_count`, `dc_recordkeeper`, `dc_active_participants`, `dc_participants_with_balance`, `dc_employer_contributions`, `dc_participant_contributions`, `dc_total_contributions`, `dc_net_assets`, `dc_net_assets_yoy_pct`, `dc_participant_contributions_per_active_participant`, `dc_employer_contributions_per_active_participant`, `dc_employer_to_participant_contribution_ratio`, `dc_net_assets_per_participant_with_balance`, `dc_admin_expense_ratio`, `dc_has_automatic_enrollment`, `dc_has_401m_arrangement`, `is_safe_harbor_401k`, `dc_has_limited_scope_audit`, `dc_plan_score`, `dc_plan_score_pct_expense_ratio`, `dc_plan_score_pct_return`, `dc_plan_score_pct_employee_contributions`, `dc_plan_score_pct_employer_contributions`. PEPM is stored and commission rate is calculated from positive premiums. If your key does not return these fields, contact support to enable them. | Field | Provenance | Reason | | --- | --- | --- | | `company.id` | Derived | Resolved company identity; EIN is normalized for display. | | `company.ein` | Derived | Resolved company identity; EIN is normalized for display. | | `company.name` | Derived | Resolved company identity; EIN is normalized for display. | | `company.persistent_id` | Derived | Resolved company identity; EIN is normalized for display. | | `coverage.window` | Derived | Filing years and latest flag are selected from history; source timestamp is unavailable. | | `coverage.years_returned` | Derived | Filing years and latest flag are selected from history; source timestamp is unavailable. | | `coverage.data_as_of` | Derived | Filing years and latest flag are selected from history; source timestamp is unavailable. | | `year` | Derived | Filing years and latest flag are selected from history; source timestamp is unavailable. | | `is_latest` | Derived | Filing years and latest flag are selected from history; source timestamp is unavailable. | | `plans.count` | Derived | Company-year plan counts and completeness are calculated from filings. | | `plans.count_401k` | Derived | Company-year plan counts and completeness are calculated from filings. | | `plans.with_financials` | Derived | Company-year plan counts and completeness are calculated from filings. | | `plans.financials_complete` | Derived | Company-year plan counts and completeness are calculated from filings. | | `plans.financials_sources` | Derived | Company-year plan counts and completeness are calculated from filings. | | `plans.primary.name` | Filed | Primary plan identifier comes from the selected filing. | | `plans.primary.number` | Filed | Primary plan identifier comes from the selected filing. | | `features.has_401k_plan` | Derived | Company-year value assembled from reported plan filings. | | `features.has_401m_arrangement` | Derived | Company-year value assembled from reported plan filings. | | `features.has_automatic_enrollment` | Derived | Company-year value assembled from reported plan filings. | | `features.has_default_investment` | Derived | Company-year value assembled from reported plan filings. | | `features.has_404c_plan` | Derived | Company-year value assembled from reported plan filings. | | `features.has_participant_directed_plan` | Derived | Company-year value assembled from reported plan filings. | | `features.has_profit_sharing_plan` | Derived | Company-year value assembled from reported plan filings. | | `features.has_money_purchase_plan` | Derived | Company-year value assembled from reported plan filings. | | `features.has_403b_plan` | Derived | Company-year value assembled from reported plan filings. | | `features.has_esop` | Derived | Company-year value assembled from reported plan filings. | | `features.is_safe_harbor_401k` | Derived | Company-year value assembled from reported plan filings. | | `participants.total_boy` | Derived | Company-year value assembled from reported plan filings. | | `participants.total_eoy` | Derived | Company-year value assembled from reported plan filings. | | `participants.active_boy` | Derived | Company-year value assembled from reported plan filings. | | `participants.active_eoy` | Derived | Company-year value assembled from reported plan filings. | | `participants.with_balance_boy` | Derived | Company-year value assembled from reported plan filings. | | `participants.with_balance_eoy` | Derived | Company-year value assembled from reported plan filings. | | `participants.separated_not_fully_vested` | Derived | Company-year value assembled from reported plan filings. | | `contributions.employer` | Derived | Company-year value assembled from reported plan filings. | | `contributions.participant` | Derived | Company-year value assembled from reported plan filings. | | `contributions.rollovers_in` | Derived | Company-year value assembled from reported plan filings. | | `contributions.noncash` | Derived | Company-year value assembled from reported plan filings. | | `contributions.total` | Derived | Company-year value assembled from reported plan filings. | | `assets.total_boy` | Derived | Company-year value assembled from reported plan filings. | | `assets.total_eoy` | Derived | Company-year value assembled from reported plan filings. | | `assets.net_boy` | Derived | Company-year value assembled from reported plan filings. | | `assets.net_eoy` | Derived | Company-year value assembled from reported plan filings. | | `assets.participant_loans_eoy` | Derived | Company-year value assembled from reported plan filings. | | `outflows.benefit_distributions` | Derived | Company-year value assembled from reported plan filings. | | `outflows.corrective_distributions` | Derived | Company-year value assembled from reported plan filings. | | `outflows.deemed_loan_distributions` | Derived | Company-year value assembled from reported plan filings. | | `outflows.corrective_and_deemed_distributions` | Derived | Computed or aggregated from reported filings. | | `outflows.admin_expenses` | Derived | Company-year value assembled from reported plan filings. | | `outflows.transfers_net` | Derived | Company-year value assembled from reported plan filings. | | `derived.participant_contributions_per_active_participant` | Derived | Computed or aggregated from reported filings. | | `derived.employer_contributions_per_active_participant` | Derived | Computed or aggregated from reported filings. | | `derived.employer_to_participant_contribution_ratio` | Derived | Computed or aggregated from reported filings. | | `derived.participants_with_balance_to_active_ratio` | Derived | Computed or aggregated from reported filings. | | `derived.net_assets_per_participant_with_balance` | Derived | Computed or aggregated from reported filings. | | `derived.net_assets_change_pct` | Derived | Computed or aggregated from reported filings. | | `derived.est_return_net_of_plan_expenses` | Derived | Computed or aggregated from reported filings. | | `derived.admin_expenses_per_participant_with_balance` | Derived | Computed or aggregated from reported filings. | | `derived.admin_expense_ratio` | Derived | Computed or aggregated from reported filings. | | `derived.total_contributions_yoy_pct` | Derived | Computed or aggregated from reported filings. | | `derived.net_assets_eoy_yoy_pct` | Derived | Computed or aggregated from reported filings. | | `derived.active_participants_yoy_pct` | Derived | Computed or aggregated from reported filings. | | `derived.distributions_to_boy_net_assets_ratio` | Derived | Computed or aggregated from reported filings. | | `derived.other_contributions_to_boy_net_assets_ratio` | Derived | Computed or aggregated from reported filings. | | `derived.participant_loans_to_net_assets_ratio` | Derived | Computed or aggregated from reported filings. | | `derived.net_cash_flow` | Derived | Computed or aggregated from reported filings. | | `compliance.late_deposits_reported` | Filed | Reported on the selected plan filing; absence is unknown. | | `compliance.late_deposits_amt` | Filed | Reported on the selected plan filing; absence is unknown. | | `compliance.plans_fully_distributed_count` | Derived | Computed or aggregated from reported filings. | | `compliance.audit_opinion` | Filed | Reported on the selected plan filing; absence is unknown. | | `compliance.auditor` | Filed | Reported on the selected plan filing; absence is unknown. | | `compliance.has_limited_scope_audit` | Filed | Reported on the selected plan filing; absence is unknown. | | `compliance.recordkeeper_changed` | Derived | Computed or aggregated from reported filings. | | `compliance.auditor_changed` | Derived | Computed or aggregated from reported filings. | | `providers.recordkeeper` | Filed | Reported on the selected plan filing; absence is unknown. | | `providers.investment_manager` | Filed | Reported on the selected plan filing; absence is unknown. | | `providers.investment_advisor` | Filed | Reported on the selected plan filing; absence is unknown. | | `providers.contract_administrator` | Filed | Reported on the selected plan filing; absence is unknown. | | `plan_score.score` | Model | Hillwinds plan-score peer model output. | | `plan_score.pct_admin_expense_ratio` | Model | Hillwinds plan-score peer model output. | | `plan_score.pct_est_return` | Model | Hillwinds plan-score peer model output. | | `plan_score.pct_participant_contributions` | Model | Hillwinds plan-score peer model output. | | `plan_score.pct_employer_contributions` | Model | Hillwinds plan-score peer model output. | | `plan_score.peer_group` | Model | Hillwinds plan-score peer model output. | | `plan_score.peer_count` | Model | Hillwinds plan-score peer model output. | | `providers.recordkeepers[].name` | Filed | Reported in the provider filing. | | `providers.recordkeepers[].ein` | Filed | Reported in the provider filing. | | `providers.recordkeepers[].service_code` | Filed | Reported in the provider filing. | | `providers.recordkeepers[].contributions` | Filed | Reported in the provider filing. | | `providers.recordkeepers[].assets_boy` | Filed | Reported in the provider filing. | | `providers.recordkeepers[].assets_eoy` | Filed | Reported in the provider filing. | | `providers.recordkeepers[].asset_growth_rate` | Derived | Growth is calculated from assets. | | `providers.recordkeepers[].investment_manager` | Filed | Reported in the provider filing. | | `providers.recordkeepers[].investment_manager_ein` | Filed | Reported in the provider filing. | Company-year sums are all-or-nothing; `financials_complete` indicates completeness, and missing values must not be replaced with zero. Former employees can retain balances, so ratios can exceed 1. Multi-plan years show the primary plan name and number; per-plan rows are not returned. `has_401k_plan` distinguishes a 401(k), and PEO and pooled plans are outside this single-employer scope. Show dollar amounts per active participant and the employer-to-participant ratio, never a percentage of pay. For example, one company's 2024 plan year shows active participants 410, employer contributions $891,254, participant contributions $1,363,735 and net assets $4,578,420, a year-over-year net-assets change of 0.0273 and a Plan Score of 32.0. These are example values, not a current lookup. The following example response uses synthetic values for a cached lookup. ```json { "data": { "company": { "ein": "01-2345678", "id": "12345678", "name": "Example Company", "persistent_id": "example" }, "coverage": { "data_as_of": null, "window": [ 2016, 2024 ], "years_returned": [ 2024 ] }, "years": [ { "assets": { "net_boy": null, "net_eoy": null, "participant_loans_eoy": null, "total_boy": null, "total_eoy": null }, "compliance": { "audit_opinion": null, "auditor": null, "auditor_changed": null, "has_limited_scope_audit": null, "late_deposits_amt": null, "late_deposits_reported": null, "plans_fully_distributed_count": null, "recordkeeper_changed": true }, "contributions": { "employer": null, "noncash": null, "participant": null, "rollovers_in": null, "total": null }, "derived": { "active_participants_yoy_pct": null, "admin_expense_ratio": null, "admin_expenses_per_participant_with_balance": null, "distributions_to_boy_net_assets_ratio": null, "employer_contributions_per_active_participant": null, "employer_to_participant_contribution_ratio": null, "est_return_net_of_plan_expenses": null, "net_assets_change_pct": null, "net_assets_eoy_yoy_pct": null, "net_assets_per_participant_with_balance": null, "net_cash_flow": null, "other_contributions_to_boy_net_assets_ratio": null, "participant_contributions_per_active_participant": null, "participant_loans_to_net_assets_ratio": null, "participants_with_balance_to_active_ratio": null, "total_contributions_yoy_pct": null }, "features": { "has_401k_plan": null, "has_401m_arrangement": null, "has_403b_plan": null, "has_404c_plan": null, "has_automatic_enrollment": null, "has_default_investment": null, "has_esop": null, "has_money_purchase_plan": null, "has_participant_directed_plan": null, "has_profit_sharing_plan": null, "is_safe_harbor_401k": null }, "is_latest": true, "outflows": { "admin_expenses": null, "benefit_distributions": null, "corrective_and_deemed_distributions": null, "corrective_distributions": null, "deemed_loan_distributions": null, "transfers_net": null }, "participants": { "active_boy": null, "active_eoy": null, "separated_not_fully_vested": null, "total_boy": null, "total_eoy": null, "with_balance_boy": null, "with_balance_eoy": null }, "plan_score": { "pct_admin_expense_ratio": null, "pct_employer_contributions": null, "pct_est_return": null, "pct_participant_contributions": null, "peer_count": null, "peer_group": null, "score": null }, "plans": { "count": 1, "count_401k": null, "financials_complete": null, "financials_sources": null, "primary": { "name": null, "number": null }, "with_financials": null }, "providers": { "contract_administrator": null, "investment_advisor": null, "investment_manager": null, "recordkeeper": "Provider B", "recordkeepers": [ { "asset_growth_rate": null, "assets_boy": null, "assets_eoy": null, "contributions": null, "ein": null, "investment_manager": null, "investment_manager_ein": null, "name": "Provider B", "service_code": null } ] }, "year": 2024 } ] }, "meta": { "credits_charged": 0.0, "base_credits": 0.0, "signal_credits": 0.0, "billable_rows": 0, "cached_rows": 1 }, "ok": true } ``` --- ## /docs/api/personnel (Personnel) Canonical: https://api.hillwinds.ai/docs/api/personnel **Endpoints:** - `GET /v1/personnel` — list + filter (0.50 / 2.00 per row). **`lead_type=company|broker` required** (missing → 400). - `POST /v1/personnel/batch` — body `{company_eins, ids, lead_type, page_size}`; `lead_type` required; at most 50 `company_eins` or 100 `ids`. - `GET /v1/personnel/lookup?email=...|person_linkedin_url=...` — one person by email or LinkedIn URL; `lead_type`, `mode`, `fields` and `dry_run` are optional. - `GET /v1/personnel/:id` — detail. - `GET /v1/personnel/export.csv`. - `GET /v1/personnel/autocomplete` — accepts `?query=` or `?search=`; `column=` optional; returns person IDs for `full_name`. **Quirks:** - Field polymorphism by `lead_type`. With `lead_type=broker`, `company_*` echoes the broker's own corporate entity, not a client. - `signals` by `lead_type`: company personnel list their company's true signals (latest filing; 401(k)/DC keys and `benefit_line_dropped` are company-only for now). Broker personnel follow the app's Signals Library rule: keys the broker-office view publishes (today every broker key, incl. `large_office`) come from the person's office, and a person with no office lists none of them (no firm fallback); a firm key offices do not publish would come from the firm. `signals=` uses the same rule. Discover keys with `GET /v1/filter-options/personnel/signals?lead_type=company|broker`; unscoped, `meta.options_by_lead_type` labels both groups. A key from the other group returns 400 `signal_not_available_for_resource` with no charge. Billing is one basic bundle per row, like companies. - `signals=` follows `lead_type`: 59 company signal keys with `lead_type=company`, 64 broker keys with `lead_type=broker` (see Signals). - `seniority=C-suite` includes EAs and adjacent titles; `job_function` only accepts allowlisted labels for the selected `lead_type`. Unknown values return 400 with expected values. --- ## /docs/api/broker-offices (Broker Offices) Canonical: https://api.hillwinds.ai/docs/api/broker-offices **Endpoints:** - `GET /v1/broker-offices` — list + filter (1.00 / 2.00 per row). - `GET /v1/broker-offices/:id`. - `GET /v1/broker-offices/export.csv`. - `GET /v1/broker-offices/autocomplete?search=...` — free typeahead; for full records use list/detail endpoints. **Numeric cf[] columns:** `cf[client_count]`, `cf[total_commissions]`, `cf[total_premiums]`, `cf[number_of_offices]` — all support `gte:`/`lte:`. **Signals:** rows list up to 64 broker-office keys in `signals` plus `website_scraped`; see Broker and broker-office signals under /docs/signals. **Note:** `search=` is single-token. Company records expose `broker_office_id` when the primary broker office can be resolved; use the for-ai-agents fallback recipe only when that value is missing. --- ## /docs/api/brokers (Brokers) Canonical: https://api.hillwinds.ai/docs/api/brokers **Endpoints:** - `GET /v1/brokers` — list (1.00 / 2.00 per row). - `GET /v1/brokers/:id`. - `GET /v1/brokers/lookup?name=|domain=` — exactly one of the two; optional `mode`, `fields`, `format`, `dry_run`. `name` is an exact, case-insensitive stored-name match. `domain` is normalized like company lookup (scheme, `www.`, path and query removed) and exact-matches the broker's stored website, so `hubinternational.com`, `ajg.com` or `lockton.com` return that broker. Several matches (for a name, or a shared domain such as `amfam.com` with 2,255 captive-agent rows) return `400 VALIDATION_ERROR` issue `multiple_matches` with `candidates` (the total), `truncated` and up to 10 `suggestions` ranked by `total_clients` (id, name, website, total_clients, city, state). A domain no broker stores returns `404` issue `not_found` with a `fallback` link to broker-name autocomplete; a non-domain returns `400` `invalid_domain`; neither or both parameters return `400` `invalid_lookup_shape`. One match bills like a name lookup; every refusal is free. `cf[website]` is not a broker or broker-office filter: resolve the domain here, then pass `broker_ids=`. - `GET /v1/brokers/export.csv`. - `GET /v1/brokers/autocomplete`. **Signals:** rows list up to 63 broker keys in `signals` plus `website_scraped`; see Broker and broker-office signals under /docs/signals. --- ## /docs/api/identity (Identity) Canonical: https://api.hillwinds.ai/docs/api/identity Identity endpoints require a live bearer credential except the public tokenized share read. Sandbox keys return `PRODUCTION_KEY_REQUIRED`. Creating, updating, duplicating, deleting and sharing identities require `writing:write`. Identity generation (`POST /v1/identities` with a `url` and no `identity`) costs the `identity-generation` price, 1 credit by default with per-organisation overrides; every other identity endpoint, including manual saves and job polling, charges 0 credits. **Creation modes:** - `GET /v1/identities/schema` — returns a JSON Schema Draft 2020-12 contract and example accepted for caller-authored identities. `companyName` is the only required top-level field; all seven arrays have typed item properties and required fields, and brand voice and filter objects are typed. - `POST /v1/identities` with `{url, identity: {...}}` — skips crawling and AI generation, persists the supplied identity immediately, and returns the full identity with `201 Created`. - `POST /v1/identities` with `{url, outreach_context?, dry_run?}` and no `identity` — preserves the website crawl flow. Returns `202` with `{job_id, status: "queued", status_url}`; it does not hold the request open for website/AI processing. The price is reserved on acceptance (`meta.credits_reserved`, `meta.credits_charged: 0`), charged when the job completes and released when it fails or times out. `dry_run: true` validates and returns `estimated_credits` (200) without saving, queueing or reserving. - In both modes `url` must be an absolute `http://` or `https://` URL (max 2048 characters) on a public host. Other schemes, user names or passwords in the URL, `localhost`, private, loopback, link-local, metadata and `.internal`/`.local` hosts return `400 VALIDATION_ERROR` with `details[0].field: "url"` and `issue` `unsupported_scheme`, `non_public_host`, `invalid_url`, `too_long` or `required`. Generation also rejects host names that resolve to a non-public address (`non_public_host`) or do not resolve (`host_unresolvable`). Validation runs before any credit is reserved. - `GET /v1/identity-generation-jobs/:job_id` — returns `queued|running|completed|failed`, non-decreasing progress events, and the full persisted `identity` when completed. `wait_ms=0..5000` and optional `last_event_count` remain accepted for compatibility; snapshots return immediately. Clients should pace nonterminal polls, for example once per second. Polling is free; jobs started through the API include `billing.credits_reserved`, and finished jobs report `billing.credits_charged` (the reserved price when completed, 0 when failed) and `billing.credits_released`. Every accepted job remains readable through a terminal state, including dropped or timed-out work represented as `failed`; 404 is reserved for IDs never issued to the authenticated user. **Identity management:** - `GET /v1/identities` — list a page of owned identity-version summaries, newest first. Requires a live bearer credential with `writing:read`. Only `page` (zero-based, default 0) and `page_size` (1–100, default 50) are accepted. Unknown, repeated, blank, malformed and out-of-range parameters return `400 VALIDATION_ERROR`. The response has `data` and `meta: {page, page_size, returned, total_count, has_more, credits_charged: 0}`. Increment `page` while `has_more`; concurrent edits may shift offset pages. MCP: `identities` with `{action: "list", input: {page: 0, page_size: 50}}`, metadata at `result.meta`. Summary fields use `companyName` and `versionName`; version names include a `· vN` suffix and `updated_at` is included. - `GET /v1/identities/:id` — complete identity JSON plus a strong `ETag` response header for later updates. - `PATCH /v1/identities/:id` — merge `{data: {...}}` or a direct identity-field object into an owned identity. Object fields (`brandVoice`, `geoFilter`, `industryFilter`) merge key by key: unsent keys are kept and a key set to `null` is removed. Arrays are full replacements and require the current `ETag` in `If-Match`; missing and stale preconditions return `428 PRECONDITION_REQUIRED` and `412 PRECONDITION_FAILED`. No-op updates preserve `updated_at`. - Identity proof points are canonical in `proofPoints`; legacy `caseStudies` entries with `entryType: "proof-point"` are promoted and de-duplicated automatically. - `POST /v1/identities/:id/duplicate` — create and return a new owned version with its normalized `· vN` version-name suffix. - `DELETE /v1/identities/:id` — delete the identity and invalidate its share links. - `POST /v1/identities/:id/share` — create or return the active public link for this exact version. Links expire 7 days after creation; call again for a new link. - `DELETE /v1/identities/:id/share` — revoke every active share link for the identity; returns `{identity_id, revoked}`. Revoked links return `NOT_FOUND`. - `GET /v1/identity-shares/:token` — public identity read without the owner's AI `usage`; no Authorization header. Treat the token as a secret; unknown, expired or revoked tokens return `NOT_FOUND`. **Personal writing plays:** - `GET /v1/writing-plays` — list active plays owned by the authenticated user. - `POST /v1/writing-plays` — create one `{name, subject?, body}` or up to 100 atomically with `{plays: [...]}`. A single create returns `data` as an object; explicit bulk creation returns an array with `meta.bulk: true`. Text is sanitized and source is `manual`. - `PATCH /v1/writing-plays/:id` — partially update an owned active play with any non-empty subset of `{name, subject, body}`. Subject may be cleared; name and body cannot be empty. - `DELETE /v1/writing-plays/:id` — soft-delete an owned play and clear it from active writing preferences when selected. --- ## /docs/api/writing (Writing) Canonical: https://api.hillwinds.ai/docs/api/writing `GET /v1/writing/temperature` requires `writing:read` and returns `global_temperature`, `personal_play_temperature_override`, `effective_temperature`, and `temperature_source`. `POST` and `PATCH /v1/writing/temperature` have identical setter behavior, require `writing:write`, accept only `{temperature: number (0..2) | null}`, and cost 0 credits. `null` clears the override and restores the global value. The credential's linked user is always targeted; no user ID is accepted, and every key linked to that user shares the setting. The effective value applies to Personal Plays in both personalization and contextualization modes; template plays retain their prompt-configured temperature. `POST /v1/writing-jobs` requires a live bearer credential with `writing:generate` and generates email, LinkedIn connection requests, or LinkedIn messages using `saved`, `inline`, or `hybrid` context. Top-level, `sender`, `target`, and `writing` field names are case-sensitive snake_case and reject unknown fields; nested `identity` intentionally retains the casing from `GET /v1/identities/schema`. When supplied, `identity`, `sender`, `target`, and `writing` must be JSON objects; fallback applies only when a value is omitted. Resolution is saved base followed by inline overrides: nested objects merge and arrays replace. `GET /v1/writing/options` returns personal resources and identity-derived choices. Without `identity_id`, identity-derived lists are empty and `warnings` contains `IDENTITY_ID_REQUIRED` with the affected fields. Placeholder content, incomplete case studies, duplicate IDs, and testimonial quotes without a customer name are excluded from selectable pools. Set `dry_run: true` on `POST /v1/writing-jobs` to execute the same automatic context selection and personal-play preference resolution as a real job without generating prose, persisting a job or usage operation, reserving credits, or charging credits. The response includes `resolved_context` and `job_created: false`. A structured `identity.brandVoice` may include `avoid: string[]`. Listed phrases and punctuation styles are hard generation constraints and are checked against raw output; `em dash` and `em dashes` also prohibit the Unicode em dash character. Canonical `sender` fields are `full_name`, `title`, `company_name`, and optional multiline `signature`; `full_name` is required when `sender` is present. A valid explicit sender replaces the account owner throughout generated context and the completed artifact. If `sender` is omitted, fallback uses the authenticated user's saved email signature, then full name, then the local part of the email address. Applied sender data is exposed under `output.resolved_context.sender` with `source: explicit|account_default`. Deprecated `sender.name` and `sender.company` compatibility aliases remain accepted, but `fullName` and `companyName` do not. Canonical direct selectors are `writing.personal_play_id`, `writing.value_prop_id`, `writing.case_study_id`, `writing.content_angle_id`, and `writing.cta_id`. A personal play also requires `writing.play_source=personal`. Value proposition, case study, and content angle accept a specific owned identity item ID, `auto`, or `none`: a specific ID forces the item, `auto` leaves the category available, and `none` removes it from resolved context. Equivalent `{selection: auto|specific|none, selected_ids: [...]}` objects are supported, but a direct selector and its equivalent object cannot be combined. A non-empty `writing.cta` string or object takes precedence over `cta_id`. Structural, enum, existence, ownership, and input-length validation runs synchronously before model execution, job persistence, and billing. `writing.instructions` must be a string of at most 4,000 characters. Unknown or incorrectly cased fields, invalid IDs, cross-organization references, and oversized instructions return `400 VALIDATION_ERROR` with `error.details: [{field, issue}]`, `meta.credits_charged: 0`, and `X-Credits-Charged: 0`; invalid references use the same non-disclosing `invalid_reference` result. Accepted requests return `202`, the exact hold in `meta.credits_reserved`, and `meta.credits_charged: 0`. Email and LinkedIn rates come from the `writing-email` and `writing-linkedin` credit configuration, currently 5 and 3 credits by default. Only completed jobs finalize the charge; terminal non-success releases the reservation. Reusing an `Idempotency-Key` returns the original job with `200`, `meta.idempotency_reused: true`, and zero additional reservation or charge. Poll `GET /v1/writing-jobs/:id` until `status` is `completed` or `failed`; `202` alone is not completion. Optional `wait_ms=0..5000` and `last_event_count` are accepted for compatibility; snapshots return immediately. Clients should pace nonterminal polls, for example once per second. `GET /v1/writing-jobs` and the detail route expose matching persisted output, resolved selections, sender, target context, channel, terminal status, and billing reconciliation. Completed jobs are retained for 30 days by default across restarts; legacy channel filters derive missing metadata from persisted output. `GET /v1/usage/writing` groups channel-attributed create and zero-credit worker execution rows separately so charges are not double-counted. Example: ```json { "source_mode": "inline", "channel": "email", "identity": { "companyName": "Acme Bennies", "valueProps": [{ "id": "vp-renewals", "feature": "Renewal cleanup" }], "caseStudies": [{ "id": "case-renewals", "result": "Saved 15 hours" }], "contentAngles": [{ "id": "angle-ops", "headline": "Cleaner renewal handoffs" }] }, "sender": { "full_name": "Dana Whitfield", "title": "Head of Sales", "company_name": "Acme Bennies", "signature": "Dana Whitfield\nHead of Sales\nAcme Bennies" }, "target": { "first_name": "Jordan", "company_name": "Example Benefits" }, "writing": { "value_prop_id": "vp-renewals", "case_study_id": "none", "content_angle_id": "angle-ops", "content_mode": "contextualization" } } ``` --- ## /docs/api/dynamic-tags (Dynamic Tags) Canonical: https://api.hillwinds.ai/docs/api/dynamic-tags `/v1/dynamic-tags` provides owned CRUD for saved Smart Filter definitions. Reads require `tags:read`; writes require `tags:write`. These definitions are separate from static entity tag assignments. - Renaming a dynamic tag referenced by another dynamic tag's `filters.tags` returns 409 `CONFLICT` with one `{"field": "name", "issue": "referenced_by_dynamic_tag", "tag", "id"}` item per referencing tag; remove the reference first. - A saved filter referencing a tag that does not exist returns 400 `VALIDATION_ERROR` (`field: filters.tags`, `issue: unknown_tag`); invalid saved settings return 400 with `details[].field` naming the setting. - A personnel dynamic tag requested with the other `lead_type` returns 400 `VALIDATION_ERROR` (`field: lead_type`, `issue: mismatched_value`, `expected`, `received`). - `filters.search` can be saved; its member count matches the direct `search=` query. `GET /v1/dynamic-tags` pages and searches before counting, so `member_count` is computed only for the returned page; a count may be reused for up to 5 minutes. It is keyed by the saved filter, so editing a definition starts a fresh count and identical filters share one; a filter that uses `tags`, CRM status or outbound status is also recounted after your own tag changes. A count that does not finish in time returns `member_count: null` with `member_count_error.code` `COUNT_TIMEOUT` while the rest of the page is returned, and lists skip that count for up to 5 minutes; `GET /v1/dynamic-tags/{id}` computes it without that limit and caches it for the next list. `include_counts=false` omits `member_count` and runs no count. --- ## /docs/api/filter-options (Filter Options) Canonical: https://api.hillwinds.ai/docs/api/filter-options Four shapes, all free: - `GET /v1/filter-options` — full enum dump for every named filter. - `GET /v1/filter-options/{key}` — single key as a flat array (e.g. `/filter-options/employee_bands` → `["Small Employers", ...]`). Covers `industries`, `signals`, `job_function`, `funding_status` (which aren't in the top-level dump). - `GET /v1/filter-options/{resource}` — resource-scoped schema (`{endpoint, filters: {: {type, description, options}}}`). Resources: `companies`, `personnel`, `brokers`, `broker-offices`. - `GET /v1/filter-options/{resource}/{filter}` — single filter values within one resource. - `GET /v1/filter-options/industries?with_counts=true` — optional `with_counts` (boolean, default false, `industries` only, also on `/v1/filter-options/{companies|personnel}/industries`) returns `[{name, count, deprecated}]`, where `count` is the number of companies with that label. - `GET /v1/filter-options/industry_categories` — plain-English categories mapped to NAICS prefixes: `[{id, name, kind, naics_codes, count}]`, with `meta.companies_without_naics_code`. `kind` is `sector` or `group`, and a company can match both. Pass `naics_codes` to the companies `naics_codes` filter. Also on `/v1/filter-options/companies/industry_categories`. - Industry labels match exactly. `Manufacturing` and `Mfg` spellings are separate labels, apart from a few legacy aliases. `Manufacturing` and `Healthcare` are also accepted as legacy broad categories on companies and personnel, with the same result as a dynamic tag saved with that label. --- ## /docs/api/tags (Tags) Canonical: https://api.hillwinds.ai/docs/api/tags Scoped to the authenticated API user/API-key owner. Reads require `tags:read`; writes require `tags:write`. Test/sandbox keys cannot create or delete tags. All free. **Body schema for write endpoints:** `{entity_id, entity_type, tag}`. Alias: `resource` for `entity_type`. Responses always return `entity_type`. - `GET /v1/tags?tag=...&entity_type=...&exclude_internal=true&page=&page_size=` — list private user-owned (entity, tag) pairs by default; `tag_scope=organization` selects shared assignments. `exclude_internal` defaults to false; true excludes internal pool assignments before counts and SQL pagination. Invalid booleans return 400. Both `target_pool` and `target-pool` select internal pool assignments. `page` is zero-based (default 0); `page_size` defaults to 25 (maximum 500). Pages are ordered by tag, creation time descending, and row ID. The response retains `data` assignments and `meta.returned`, `total_count`, `has_more`, `page`, `page_size`, and `credits_charged=0`. The MCP `tags` tool with `action=list` forwards these parameters from `input`. - `POST /v1/tags` — single tag; idempotent. - Filtering a list with `tags=` returns 404 `NOT_FOUND` with `details: [{"field": "tags", "issue": "unknown_tag", "received": }]` (0 credits) when the name is none of your static, dynamic, or organization tags. A known tag with no members for that resource still returns 200 with zero rows. - `DELETE /v1/tags` — removes exactly one assignment, identified by both `entity_id` and `tag` (add `entity_type` when the same entity id is tagged under more than one type). Selectors may be sent in the JSON body, the query string, or both; they are merged, and a selector sent in both must match. Without an `id`, a missing `entity_id` or `tag` returns 400 `VALIDATION_ERROR` naming the missing fields and deletes nothing; selectors matching more than one assignment return 400; no match returns 404. Same rules for `tag_scope=organization`. - `DELETE /v1/tags/{id}` — by tag-record UUID. - `POST /v1/tags/bulk` — body `{entity_type, entity_ids: [...], tag}`; up to 100 entities; returns `{created, matched, rejected, tags}`; `rejected` lists ids that match no entity (`issue: not_found`) and nothing is written for them. `POST /v1/tags` returns 404 for an id that matches no entity. Company ids are stored in canonical EIN form. Listings leave out assignments whose entity no longer exists and report them in `meta.unresolved_count`; `include_unresolved=true` returns them flagged `resolved: false`. - `POST /v1/tags/bulk-delete` — body `{entity_type, entity_ids: [...], tag, tag_scope?}`, all but `tag_scope` required; removes that tag from up to 100 entities in one transaction (only the caller's own, or the organization's with `tag_scope=organization`); returns `{deleted, deleted_entity_ids, not_found}`. MCP `tags` `action=remove_bulk`. - `GET /v1/tags/entities?tag=...|tag_id=...` — reverse lookup: every entity sharing a tag. - `GET /v1/{companies|personnel|broker-offices|brokers}/:id/tags` — private tags attached to one entity by default; `tag_scope=organization` selects shared assignments. **Organization tag scope:** Tag assignments default to `tag_scope=private`, preserving existing user-owned tags. Set `tag_scope=organization` in GET/DELETE query parameters or POST JSON bodies on `/v1/tags`, `/v1/tags/bulk`, `/v1/tags/{id}`, `/v1/tags/entities`, per-entity tag reads, and entity list queries using `tags`. The organization is derived from authentication; `org_id`, `organization_id`, and `user_id` overrides are rejected. Active membership (or account ownership without a membership record), active account, active linked user, and `tags:read` or `tags:write` are required. An explicitly revoked membership denies access, including for the owner. Other organizations cannot read or delete these assignments. Private tags are not copied or converted; dynamic saved-query tags remain private. Organization assignment responses include `tag_scope` and `org_id`; list summaries keep their existing shape. MCP `tags` actions forward `input.tag_scope`, including removal. Test keys cannot mutate tags. Tag operations cost zero credits. --- ## /docs/api/review-flags (Review Flags) Canonical: https://api.hillwinds.ai/docs/api/review-flags Any live API key with `data-flags:write` can submit and list review/data flags owned by that API user. Customer API keys cannot approve, reject, or delete flags; moderation and deletion are reserved for Hillwinds reviewers. Test/sandbox keys cannot manage flags. **Canonical path: `/v1/data-flags`.** The former `/v1/review-flags` paths were removed in November 2026 and return 404. All free. **Body schema:** `{entity_id, entity_type, entity_name?, field_key, reason, suggested_value?, corrections?: [{field, current_value, suggested_value, source?}]}`. Aliases: `resource` for `entity_type`, `field` for `field_key`, `issue` for `reason`. - `POST /v1/data-flags` — simple or structured (with `corrections[]`). - `GET /v1/data-flags` — filter by `status` and `entity_type`; supports `page` and `page_size`. - `PATCH /v1/data-flags/{flag_id}` — internal Hillwinds reviewer workflow; customer API keys receive `403 FORBIDDEN`. - `PATCH /v1/data-flags/bulk` — internal Hillwinds reviewer workflow for up to 100 `flag_ids`; customer API keys receive `403 FORBIDDEN`. - `DELETE /v1/data-flags/{flag_id}` — internal Hillwinds reviewer workflow; customer API keys receive `403 FORBIDDEN`. --- ## /docs/api/api-keys (API Keys) Canonical: https://api.hillwinds.ai/docs/api/api-keys Requires a live API key attached to an API-key account context plus the relevant scope (`keys:read` or `keys:write`). Internal bearer tokens and sandbox-only keys are not a provisioning path. Endpoints: `GET /v1/api-keys`, `POST /v1/api-keys`, `DELETE /v1/api-keys/:id`, `POST /v1/api-keys/:id/rotate`. Create + rotate return the full key once — store it securely. --- ## /docs/api/credits (Credits) Canonical: https://api.hillwinds.ai/docs/api/credits Requires a real key. `GET /v1/credits` returns current balance + grants + usage today/month. `GET /v1/credits/usage` returns daily usage last 90 days, groupable by day/endpoint/api_key. `GET /v1/credits/usage/by-endpoint` and `GET /v1/credits/usage/by-key` roll usage up per endpoint or per key (`credits_used`, `rows_returned`, `queries`) with optional `from`/`to`; they require `usage:read`. --- ## /docs/api/reports (Reports) Canonical: https://api.hillwinds.ai/docs/api/reports `POST /v1/reports` — file an API bug report. Body: `{title, description, severity?, endpoint?, logs?}`. Free. `severity` is a string; common labels are `low`, `medium`, `high`, and `critical`, but the OpenAPI schema does not enforce an enum. Use when you hit unexpected 500s, filter behavior that differs from docs, or obvious data inconsistencies. Routes directly to the API team. --- ## /docs/errors (Errors Reference) Canonical: https://api.hillwinds.ai/docs/errors **What does error code X mean?** Error code X means the request failed for the machine-readable reason returned in `error.code`; replace X with the returned code and use this reference for the required action. Standard envelope: `{ok: false, error: {code, message, details[], request_id}}`. Codes you'll hit: - `400 EXPORT_TOO_LARGE` (not retryable): A CSV export without `page_size` matches more rows than the export limit (2,000; 100 for test keys). `details[0]` carries `received` (the match count) and `limit`. Narrow the filters, or pass `page_size` and `page` to export in parts. Nothing is charged. - `400 FILTER_REQUIRED` (not retryable): The request needs at least one filter. - `400 HTTPS_REQUIRED` (not retryable): The request was sent over plain HTTP. The load balancer rejects it before it reaches the API, so the response has no `request_id`. Resend over `https://`, and rotate any API key that was sent over HTTP. Nothing is charged. - `400 PRODUCTION_KEY_REQUIRED` (not retryable): A test key called an endpoint outside the sandbox read set. Per-company paths such as `/companies/{id}/history` and `/companies/{id}/401k-history` also require a production key. - `400 VALIDATION_ERROR` (not retryable): A parameter, body field, or filter value is invalid, or the request body is not valid JSON (`issue: invalid_json`). `details[]` entries carry `field`, `issue`, and `received`; when the accepted values are known they are listed in `expected`, a single numeric bound is given in `limit`, and a range in `minimum` and `maximum`. A `dry_run=true` request fails with the same error as the real call. - `401 UNAUTHORIZED` (not retryable): The bearer credential is missing or invalid. - `402 INSUFFICIENT_CREDITS` (not retryable): The organization does not have enough credits for the request. - `403 FIELD_NOT_ALLOWED` (not retryable): A requested field is not granted by the key's field tier, or is not offered as a response field. - `403 FORBIDDEN` (not retryable): The key lacks the required scope or plan level, or the organisation does not have this endpoint enabled (details issue `endpoint_not_enabled`; contact Hillwinds rather than retrying). - `403 ORGANIZATION_ACCESS_DENIED` (not retryable): The caller has no active membership in the organization or lacks the required tag permission. - `403 USER_CONTEXT_UNAVAILABLE` (not retryable): The key is not tied to a user context that this endpoint needs. - `404 NOT_FOUND` (not retryable): The resource does not exist or is not visible to the caller. - `404 NO_MATCHES` (not retryable): The request matched no records. - `405 METHOD_NOT_ALLOWED` (not retryable): The HTTP method is not allowed for this route. - `409 ACCOUNT_ALREADY_EXISTS` (not retryable): An account already exists for the supplied identity. - `409 CONFLICT` (not retryable): The request conflicts with the current state of the resource. - `409 CREATION_RESULT_UNAVAILABLE` (not retryable): The result of an earlier creation request is no longer available. - `409 CREDIT_LIMIT_EXCEEDED` (not retryable): The charge is above `X-Hillwinds-Max-Credits`; nothing was charged. Request a new quote with `dry_run=true`. `details[]` carries `requested_maximum` and `estimated_credits`. - `409 IDEMPOTENCY_CONFLICT` (not retryable): The idempotency key was already used with a different request. - `409 IDEMPOTENCY_KEY_REUSE` (not retryable): The `Idempotency-Key` was reused with a different canonical payload. - `409 KEY_LIMIT_REACHED` (not retryable): The account already has the maximum number of active API keys (default 25). Revoke one before creating another. - `409 SYNC_BASELINE_REQUIRED` (not retryable): The `since` cutoff predates the change-tracking baseline; run a new full sync. - `412 PRECONDITION_FAILED` (not retryable): The `If-Match` precondition did not match the current version. - `413 RESPONSE_TOO_LARGE` (not retryable): The company history response would exceed 2 MB. Narrow `years`, `since_year`, or `include` and retry. - `422 INVALID_SEED` (not retryable): One or more lookalike seeds are unavailable; `details[]` identifies each in `received`. - `428 PRECONDITION_REQUIRED` (not retryable): The request must include a precondition header. - `429 CRAWL_DETECTED` (retryable): Bulk-crawl pattern detected. Do not retry blindly; add filter diversity. - `429 DAILY_ROW_LIMIT` (retryable): The daily row quota is used up. Wait until the next UTC day. - `429 RATE_LIMIT_EXCEEDED` (retryable): Per-key request rate exceeded. Wait for `Retry-After`. - `500 CONFIGURATION_ERROR` (not retryable): The API is misconfigured. Contact support with the request ID. - `500 INTERNAL_ERROR` (retryable): An unexpected server failure. Retry with backoff and include the request ID in support requests. - `500 LOOKALIKE_FAILED` (retryable): A lookalike job failed. Retry later. - `503 API_SCHEMA_NOT_READY` (retryable): The API data schema is not ready. Retry later. - `503 CHANGE_TRACKING_NOT_READY` (retryable): Durable change tracking is not initialized for `since`. Retry later. - `503 METADATA_TABLE_MISSING` (retryable): Required metadata is not available yet. Retry later. - `503 QUERY_UNAVAILABLE` (retryable): The query backend is temporarily unavailable. Retry with backoff. - `503 RATE_LIMIT_UNAVAILABLE` (retryable): Request rate limiting is temporarily unavailable, so the request was refused. Wait for `Retry-After` and retry. - `503 UNAVAILABLE` (retryable): The service is temporarily unavailable. Retry with backoff. - `504 LOOKALIKE_TIMEOUT` (retryable): A lookalike query timed out. Narrow the request and retry. - `504 TIMEOUT` (retryable): The request exceeded the maximum execution time. Add filters or reduce `page_size`, then retry. --- ## /docs/guides/clay (Clay Integration) Canonical: https://api.hillwinds.ai/docs/guides/clay HTTP API enrichment in Clay using `format=flat`. Company enrichment by `{{company_domain}}`, contact enrichment by `{{enriched_ein}}`. Tips: use `format=flat`, prefer `mode=basic` to save credits, `eb[website]=true` to skip blanks, use lookup for single enrichment without signals; resolve the ID and use detail with `mode=full` when signals are needed, or full-mode batch for multiple companies. --- ## /docs/guides/crm-enrichment (CRM Enrichment) Canonical: https://api.hillwinds.ai/docs/guides/crm-enrichment Enrich HubSpot / Salesforce records by domain or EIN. Recipe: `POST /v1/companies/batch` with `{domains: [...]}` (up to 100), then write `primary_broker`, `signals`, `employee_band` back to the CRM for each `matched` entry in `data.results`. For each refused domain, pick from its `suggestions` or search autocomplete by company name. CRM connections are user-scoped. The `crm_status` filter requires an API key owned by a user with CRM context; otherwise the API returns `400 VALIDATION_ERROR` with issue `crm_context_required` rather than an unfiltered result. --- ## /docs/guides/prospecting (Building a Prospecting List) Canonical: https://api.hillwinds.ai/docs/guides/prospecting Filter + size + tag flow: pick narrowing filter combinations (states + employee_bands + industries + signals), validate with `count_only=true`, paginate with `include_count=false`, bulk-tag matches with `POST /v1/tags/bulk` (up to 100 entities per call). --- ## /docs/guides/form-5500 (Form 5500 Data) Canonical: https://api.hillwinds.ai/docs/guides/form-5500 Form 5500 is an annual benefit-plan filing, not a current company profile. Hillwinds maps sponsor EIN, sponsor identity, participant counts, premium amounts, plan assets, and supported plan-year dates into normalized company fields. It extends filings with canonical company identity, benefits decision makers, resolved broker and carrier relationships, tenure, renewal timing, and change signals. Preserve response attribution so reported historical facts remain distinguishable from normalized or derived fields. --- ## /docs/form-5500-api (Form 5500 API) Canonical: https://api.hillwinds.ai/docs/form-5500-api Hillwinds provides a commercial Form 5500 data API that converts raw DOL filings into searchable company records enriched with broker relationships, insurance carriers, benefits personnel, and change signals. Sandbox request (set `HILLWINDS_TEST_API_KEY` to an `ss_test_` key first): ```bash curl --fail-with-body \\ -H "Authorization: Bearer $HILLWINDS_TEST_API_KEY" \\ "https://api.hillwinds.ai/v1/companies/946157413?mode=full" ``` Raw DOL EFAST files provide bulk filing records and schedules. Hillwinds adds canonical company identity, normalized filing fields, resolved broker firms and offices, carrier relationships, benefits personnel, and derived broker, carrier, administrator, renewal, and growth signals. Supported sandbox reads use synthetic data and charge zero credits. --- ## /docs/compare/benefits-intelligence-vs-benefits-administration (Benefits Intelligence vs. Benefits Administration APIs) Canonical: https://api.hillwinds.ai/docs/compare/benefits-intelligence-vs-benefits-administration Benefits intelligence APIs answer market questions such as which broker or carrier serves an employer. Benefits administration APIs operate enrollment, eligibility, plan, payroll, and member-data workflows. Hillwinds is a benefits-intelligence API: it exposes employers, brokers, carriers, personnel, relationships, and change signals. The categories are complementary rather than interchangeable. --- ## /docs/compare/hillwinds-vs-dol-form-5500 (Hillwinds vs. Raw DOL Form 5500 Data) Canonical: https://api.hillwinds.ai/docs/compare/hillwinds-vs-dol-form-5500 Raw DOL Form 5500 data is the authoritative filing source and is distributed as public bulk datasets with forms, schedules, CSV files, and data dictionaries. Hillwinds turns historical filings into searchable company records and adds canonical identity, resolved broker firms and offices, normalized carriers, benefits personnel, and derived change signals. Filed facts and Hillwinds enrichments remain distinct. --- ## /docs/compare/hillwinds-vs-benefits-administration-apis (Hillwinds vs. Zywave, Ideon, and Employee Navigator) Canonical: https://api.hillwinds.ai/docs/compare/hillwinds-vs-benefits-administration-apis Hillwinds is built primarily for employer-benefits relationship intelligence. Zywave publicly spans insurance data, broker quoting, proposals, and related distribution workflows; Ideon provides plan and rate data plus enrollment and carrier connectivity; Employee Navigator runs benefits administration, enrollment, HR, payroll integration, and ACA reporting workflows. The page uses source-linked tables and treats these as different primary jobs, not as a quality or feature-parity ranking. --- ## /docs/compare/broker-intelligence-api (Broker Intelligence API Evaluation) Canonical: https://api.hillwinds.ai/docs/compare/broker-intelligence-api Compare stable broker and office resolution, employer relationships, benefits personnel coverage, tenure, renewal timing, and broker-change signals. Hillwinds exposes brokers, broker offices, companies, and personnel as linked resources with filters, lookalikes, tags, and flat-file output. --- ## /docs/changelog (Changelog) Canonical: https://api.hillwinds.ai/docs/changelog Latest: **November 2026** — 35 more signal keys (22 company P&C, PEO and plan-design keys, the P&C ones behind the P&C data option and the PEO ones behind the PEO data option; 13 broker general-agent, licence and website keys): 98 company, 63 broker and 64 broker-office keys; identity generation costs 1 credit (reserved on acceptance, charged on completion, released on failure; `dry_run` quotes; public http(s) URLs only); the deprecated alias paths (`/v1/review-flags`, `/v1/usage/by-*`, `/v1/credits/by-*`, `/v1/bug-reports`) removed, now 404; company history limited to 10 years (`years` 1–10; 11–20 and `since_year` more than 10 years back return 400); company history sections (`include=plans,contracts,events`, `kind=all`, up to 10 years, event paging); the expanded Signals pack (76 company, 50 broker and 51 broker-office keys, per-resource lists); broker IDs accepted in either form for tags and reads. **October 2026** — company welfare history (`/companies/{ein}/history`) and 401(k) history (`/companies/{ein}/401k-history`); signals priced as two flat bundles (1.00 basic, 5.00 predicted intent per row); one error-code registry for the API, docs and OpenAPI; EIN normalization on lookup, batch and record reads; `writing:write` required for identity writes; explicit basic mode rejects advanced fields; organization-shared tags (`tag_scope=organization`); identity list pagination; `meta.signal_pricing`; autocomplete read scopes; self-hosted Swagger UI; `/v1/llms-full.txt` and `/v1/changelog` redirect to this site. **September 2026** — MCP server with OAuth delegation; stricter filter validation; lookalike filter parity. **August 2026** — Personal Play temperature controls for API users plus monotonic progress, bounded long polling, terminal-state retention, timeout recovery, ownership checks, and persisted-output guarantees for asynchronous identity jobs. **July 2026** — dynamic tags and Copywriter API parity, cursor-optional bounded long polling, monotonic identity progress, terminal identity-job retention, and charge-on-success billing for writing jobs. **June 2026** — docs audit + AI-agent improvements. **April 2026** — v1 launch. --- ## OpenAPI spec snapshot Live spec: https://api.hillwinds.ai/v1/openapi.json Coverage is generated from every published OpenAPI operation at build time; query parameter names + types + enums are authoritative. Response schemas (`components.schemas`) are largely empty — see per-resource pages above for response shapes. Additional live health ping outside the public spec: `/v1/health` (200 ok). For the canonical machine-readable endpoint index used by AI agents, see https://api.hillwinds.ai/docs/for-ai-agents/endpoint-index.