h2oGPTe icon

h2oGPTe

h2oGPTe is an AI-powered search assistant for your internal teams to answer questions gleaned from large volumes of documents, websites and workplace content.

Actions198

Overview

This node provides an interface to manage jobs within the H2O GPT Enterprise system. Specifically, the "Deletes Job" operation allows users to delete a job by its unique identifier. This is useful for cleaning up or cancelling jobs that are no longer needed or were created in error.

Typical use cases include:

  • Removing obsolete or failed background jobs from the system.
  • Managing job lifecycle by deleting completed or cancelled jobs.
  • Automating cleanup of jobs as part of workflow maintenance.

Example: If you have a job ID representing a data processing task that you want to cancel and remove, this node operation can be used to delete that job by specifying its ID.

Properties

Name Meaning
Job ID The unique identifier of the job to delete. This is a required string input.

Output

The output of this operation will be the full HTTP response returned by the API when attempting to delete the job. Typically, this includes status information indicating whether the deletion was successful.

  • json: Contains the response body from the API call related to the job deletion.
  • No binary data is expected from this operation.

Dependencies

  • Requires an API key credential for authentication with the H2O GPT Enterprise API.
  • The node sends a DELETE request to the endpoint /jobs/{job_id} where {job_id} is the provided job identifier.
  • The base URL for the API is configured via credentials and must be set correctly.

Troubleshooting

  • Job ID Missing or Invalid: Ensure the Job ID is provided and correctly formatted. An empty or incorrect ID will cause the API to return an error.
  • Authentication Errors: Verify that the API key credential is valid and has sufficient permissions to delete jobs.
  • Job Not Found: If the job ID does not exist, the API may return a 404 error. Confirm the job ID is correct.
  • Network Issues: Check connectivity to the API endpoint and ensure the base URL is properly configured.
  • Timeouts: Large or complex operations might time out; consider adjusting timeout settings if available.

Links and References


This summary is based on static analysis of the provided source code and property definitions for the "Job" resource and "Deletes Job" operation.

Discussion