Dalil AI icon

Dalil AI

Consume Dalil AI API

Task Relation → Get

AI-generated

Overview

This node operation retrieves a specific Task Relation (referred to as Task Target) from the Dalil AI API using its unique Task Relation ID. It allows specifying the depth of nested related objects to include in the response, enabling users to fetch just the primary task relation or include its direct and indirect related objects. This is useful for workflows that need detailed information about task relations and their context within a project or task management system.

Use Case Examples

  1. Retrieve a task relation by its UUID to get detailed information about the relation and its connected entities.
  2. Fetch a task relation with depth level 1 to include direct related objects for comprehensive data analysis.

Properties

Name Meaning
Task Relation ID UUID string of the task relation to retrieve, used to identify the specific task relation to fetch.
Depth Name or ID Level of nested related objects to include in the response: 0 returns only the task relation, 1 includes direct relations, and 2 includes relations of those relations.

Output

JSON

  • json - The retrieved task relation object with nested related objects according to the specified depth.

Dependencies

  • Dalil AI API key credential

Troubleshooting

  • Ensure the Task Relation ID is a valid UUID string; invalid IDs will cause API errors.
  • Check API credentials and network connectivity if requests fail.
  • If the depth parameter is set too high, the response might be large and slow to return; adjust depth as needed.

Discussion