Skip to main content
Documentation

Jobs API

Actions in the jobs namespace of the Nexigon Hub API.

jobs_Query

POST/api/v1/actions/invoke/jobs_Query

Query the jobs of the instance.

Request QueryJobsAction

No fields.

Response QueryJobsOutput

  • jobsrequired

    List of jobs.

    array<Job>
    Job
    • jobId(from job_id)required

      Job ID.

      JobIdstring
    • statusrequired

      Status of the job.

      JobStatus
      • Pending

        Job is pending.

        Value: "Pending"

      • Completed

        Job has been completed successfully.

        Value: "Completed"

      • Failed

        Job has failed.

        Value: "Failed"

      • Expired

        Job has expired and is no longer valid.

        Value: "Expired"

      • Cancelled

        Job has been cancelled.

        Value: "Cancelled"

    • jobrequired

      Type of the job.

      string
    • queuedrequired

      Indicates whether the job is currently queued for execution.

      boolean
    • attemptsrequired

      Attempts of executing the job.

      integer
    • retryLimit(from retry_limit)optional

      Maximum number of retries for the job.

      integer
    • retryDelay(from retry_delay)required

      Delay in seconds for retrying the job.

      integer
    • timeoutrequired

      Timeout for an individual execution of the job (defaults to 30 minutes).

      integer
    • createdAt(from created_at)required

      Timestamp indicating when the job was created.

      Timestampstring
    • finishedAt(from finished_at)optional

      Timestamp indicating when the job has finished (if applicable).

      Timestampstring