Fuzzy search → the single closest company (hydrated like /full)
Per-field fuzzy search returning the single closest company, fully hydrated exactly like /entities/full (entity, identity links, traits, contacts, plus paginated events / raw payloads / conversations / files) — plus a matchedOn block explaining the hit. The fuzzy sibling of /entities/full and the company analog of /contacts/search: send whichever field(s) you're searching — q (across name + all identity links), name, domain, identity (any identity-link value, optionally pinned with identityType); at least one required, all ANDed. Ranked case-insensitive substring per field (exact > prefix > contains, score = sum of per-field tiers) and returns exactly one company. No match → 404. Accepts the same collection controls as /entities/full (eventsLimit, rawLimit, conversationsLimit, filesLimit + their filters, contacts=false, conversationSummary=false, and *Limit=0 to omit a collection).
Request
- Base URLhttp://localhost:3009
- AuthHTTP bearer
Query parameters
Free text to match against the entity name + all identity-link values (domain, slack_channel_id, stripe_customer_id, …). Case-insensitive substring; the closest single company is returned.
Match against the company name only.
Match against the company's domain identity links only.
Match against any identity-link value (Stripe customer ID, Slack channel ID, CRM account ID, …). Combine with identityType to pin one link type.
Restrict identity to one identity-link type (e.g. stripe_customer_id, slack_channel_id, crm_account_id). Only meaningful together with identity.
Cap on nested contacts (0–1000). Omit to return all (the /full default). When set, the response also includes contactCount (total active contacts) so callers know whether there are more.
Response
The closest company, hydrated like GET /entities/full, plus a matchedOn block.
Changes
No recorded changes to this operation across all 1 revision of this API.