Runrunit

Interact with the Runrunit API

Documents → List by Task

AI-generated

Summary

Retrieve a paginated and optionally sorted list of documents associated with a specific task in Runrunit.

Inputs

  • Task ID (required) — The ID of the task whose documents you want to list.
  • Limit — Maximum number of documents to return, between 1 and 100 (default 50).
  • Page — Page number for pagination (1-based, default 1).
  • Sort — Field name to sort the documents by.
  • Sort Direction — Direction to sort the results: ascending or descending (default ascending).
  • Mode — Choose to either execute the API request or only preview the corresponding curl command (default 'execute').

Output shape

a paginated list of document items associated with the specified task

The response contains up to the specified limit of document records per page, respecting pagination and optional sorting parameters. The 'Mode' input can toggle between performing the actual request or previewing the curl command. Errors are returned as per standard API error envelopes.

Links

Discussion