Actions13
- Agentic Search Actions
- Company Actions
- Employee Actions
- Employee Post Actions
- Job Actions
Company → Search with Elasticsearch DSL
AI-generatedSummary
Searches Coresignal company records by sending a required Elasticsearch DSL query to the company multi-source search endpoint. Choose preview mode for one page of essential fields, or use regular search to retrieve IDs with a limit or cursor-based pagination.
Inputs
- Elasticsearch DSL Query (required) — The JSON query object to send; defaults to a match-all query. The Coresignal company API Playground can help build a query.
- Preview Mode — Defaults to false. When enabled, fetches the selected preview page, with up to 20 results per page and a maximum of 50 pages; results contain essential fields only.
- Return All — In regular search, controls whether to fetch all matching IDs or stop at the Limit. Hidden in preview mode; defaults to false.
- Limit — In regular search with Return All disabled, sets the maximum number of IDs to return; defaults to 1000.
- Options: After — In regular search, resumes from a cursor returned as nextPageAfter when Include Pagination Info is enabled.
- Options: Include Pagination Info — Returns one item containing results and pagination details. Regular search includes totalResults and nextPageAfter; preview includes totalResults, nextPage, and snapshotId.
- Options: Page — In preview mode, selects the page to fetch; defaults to 1 and accepts pages 1–50.
- Options: Snapshot — In preview mode, requests a snapshot when opening page 1, so later pages can stay consistent. The snapshot expires after 300 seconds; use Include Pagination Info to receive its ID.
- Options: Snapshot ID — In preview mode, supplies a snapshot ID from a previous run to continue fetching consistent pages.
Output shape
A list of items, each containing a company ID in regular search or an essential company record in preview mode; with Include Pagination Info enabled, a single item contains the results array and pagination details.
Regular search makes repeated requests of up to 1,000 IDs per page until it reaches the limit or the API indicates there are no more results. Preview fetches only the selected page. Pagination details are included only when requested.