Dalil AI icon

Dalil AI

Consume Dalil AI API

Task → Get Many

AI-generated

Overview

This node operation retrieves multiple task records from the Dalil AI API. It supports fetching all tasks 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 you need to list tasks with specific criteria, such as tasks due after a certain date or tasks with a particular status.

Use Case Examples

  1. Retrieve all tasks without limit to get a complete list of tasks.
  2. Fetch up to 50 tasks sorted by creation date in descending order.
  3. Filter tasks to only those with status 'TODO' and due date greater than or equal to a specific date.

Properties

Name Meaning
Return All Whether to return all task results or only up to a given limit.
Limit Maximum number of task results to return when 'Return All' is false.
Options Additional options to customize the task retrieval, including sorting order, filtering conditions, and depth of nested related objects.

Output

JSON

  • json - The task records retrieved from the API, each containing task details and optionally nested related objects based on the depth parameter.

Dependencies

  • Dalil AI API with an API key credential

Troubleshooting

  • Ensure the API credentials are correctly configured and valid to avoid authentication errors.
  • Verify that the 'limit' parameter is a positive integer when 'Return All' is false to prevent request errors.
  • Check the format of 'Order By' and 'Filter' options to match the expected API syntax to avoid query errors.
  • If no tasks are returned, confirm that the filter criteria are correct and that tasks exist matching those criteria.

Discussion