Webagent icon

Webagent

Interact with Webagent

Actions3

Task Run → Get Run

AI-generated

Overview

This node interacts with the Webagent API to retrieve details of a specific task run by its Run ID. It is useful for scenarios where you need to fetch the execution details of a particular task run, such as monitoring task status, debugging, or extracting output files from the run.

Use Case Examples

  1. Retrieve a task run by its ID to check its status and results.
  2. Optionally extract files downloaded during the task execution for further processing.

Properties

Name Meaning
Run ID The ID of the run to retrieve, required to specify which task run to fetch.
Extract Downloaded Files Whether to extract files downloaded during the task execution, useful for accessing output files.
Request Options Advanced HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to customize the API request behavior.

Output

JSON

  • run
    • id - The unique identifier of the retrieved task run.
    • status - The current status of the task run (e.g., completed, running, failed).
    • startTime - Timestamp when the task run started.
    • endTime - Timestamp when the task run ended.
    • downloadedFiles - Files downloaded during the task execution, if extraction was enabled.

Dependencies

  • Webagent API authentication credential

Troubleshooting

  • Ensure the Run ID is correct and exists in the Webagent system to avoid 'not found' errors.
  • Check network connectivity and proxy settings if the request fails to reach the Webagent API.
  • If SSL errors occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Timeout errors can be resolved by increasing the timeout setting in Request Options.

Links

  • Webagent API Documentation - Official API documentation for Webagent, useful for understanding available endpoints and request parameters.

Discussion