Workflows
Jobs

Jobs

Get all information about a job run

A run is an specific execution of job containing details of the execution.

📖

See the full documentation here.

API

You can get a job run through the API.

This is a GraphQL API so you can fetch as much or as little information as desired from the different queries and mutations.

Queries

workflows > getWorkflows > job_runs > find_one($id)

Use this query to get a specific job run.

Query
query GetJobRun($id: String!) {
  getWorkflows {
    job_runs {
      find_one(id: $id) {
        created_at
        finished_at
        id
        job_id
        job_name
        status
        step_status_count {
          count
          id
          status
        }
        steps {
          created_at
          finished_at
          id
          input {
            id
            payment_request
            pubkey
            pubkey_info {
              alias
              id
              pubkey
            }
            type
          }
          run {
            id
            status
          }
          step_index
          type
        }
        type
        workflow_run_id
      }
    }
  }
}