UNPKG

@apify/n8n-nodes-apify

Version:
22 lines 1.32 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.properties = exports.option = exports.name = void 0; const properties_1 = require("./properties"); const hooks_1 = require("./hooks"); exports.name = 'Get list of task runs'; const rawOption = { name: 'Get List of Task Runs', value: 'Get list of task runs', action: 'Get list of task runs', description: 'Get a list of runs of a specific task The response is a list of objects where each object contains essential information about a single task run The endpoint supports pagination using the limit and offset parameters and it does not return more than a 1000 array elements By default the records are sorted by the startedAt field in ascending order therefore you can use pagination to incrementally fetch all records while new ones are still being created To sort the records in descending order use the desc 1 parameter You can also filter runs by status available statuses', routing: { request: { method: 'GET', url: '=/v2/actor-tasks/{{$parameter["actorTaskId"]}}/runs', }, }, }; const { properties, option } = (0, hooks_1.runHooks)(rawOption, properties_1.properties); exports.properties = properties; exports.option = option; //# sourceMappingURL=index.js.map