Dalil AI icon

Dalil AI

Consume Dalil AI API

Company → Get Many

AI-generated

Overview

This node operation retrieves multiple company records from the Dalil AI API. It supports fetching all companies or limiting the number of results returned. Users can apply sorting, filtering, and specify the depth of nested related objects to include in the response. This operation is useful for scenarios where bulk company data is needed, such as generating reports, syncing company data with other systems, or performing batch analysis.

Use Case Examples

  1. Fetch all companies without limit to get a complete dataset.
  2. Retrieve up to 50 companies sorted by creation date and name in descending order.
  3. Filter companies by name and employee count, e.g., companies named 'CompanyName' with more than 50 employees.
  4. Include related objects up to two levels deep to get comprehensive company data including related entities.

Properties

Name Meaning
Return All Whether to return all company results or only up to a given limit.
Limit Maximum number of company results to return when 'Return All' is false.
Options Additional options to customize the query such as ordering, filtering, and depth of nested related objects.

Output

JSON

  • json - The JSON response containing company records retrieved from the API.

Dependencies

  • Dalil AI API key credential for authentication

Troubleshooting

  • Ensure the API key credential is correctly configured and has necessary permissions to access company data.
  • Verify that the filter and orderBy strings are correctly formatted as per the API requirements.
  • If the node returns no data, check if the filter conditions are too restrictive or if the limit is set too low.
  • For nested related objects, ensure the depth parameter is set appropriately; higher depth may increase response size and latency.

Links

Discussion