NinjaPipe icon

NinjaPipe

Production-ready NinjaPipe node with one action interface, safer validation, Databin webhook support, and update-friendly UX

Task → Get Task

AI-generated

Summary

Retrieves a task by its ID, optionally overriding the endpoint path and controlling advanced options.

Inputs

  • id (required) — Task ID to retrieve
  • resourcePathOverride — Custom endpoint path for the task resource
  • showAdvanced — Display advanced options such as raw JSON fields
  • flattenCustomFields — Flatten custom fields into cf_* keys in the output

Output shape

A single task object

If flattenCustomFields is true, custom fields are also provided as cf_* keys; otherwise they appear under custom_fields.

Examples

Example 1: Basic retrieval of a task by ID

Resource = Task, Operation = Get Task, ID = 12345, other fields default

Example 2: Override endpoint path for a custom workspace

Set Resource Path Override to '/custom/tasks' while keeping Operation = Get Task

Example 3: Enable flattening of custom fields

Enable Flatten Custom Fields and optionally turn on Show Advanced Options

Links

Discussion