GET jobs details

Changed on
get/api/v1/jobs/{id}/details

Request

  • Base URL
    https://app.onecodex.com
  • URL
    https://app.onecodex.com/api/v1/jobs/{id}/details
  • Auth
    API key in header X-API-Key

Path parameters

idstring required

Response

OK

autorun_on_org_sample_uploadboolean required

Whether this job runs automatically on every newly uploaded sample in the user's organization.

cpunumber nullable

The number of CPU cores used for this job, set only for shell script jobs

descriptionstring nullable

The human-readable description of the job. Supports markdown

image_uristring required

Fully qualified OCI image URI used to run the job. Empty for Nextflow jobs.

inject_bearer_tokenboolean required

Whether the user's One Codex bearer token is injected into the analysis job as $ONE_CODEX_BEARER_TOKEN.

job_type'shell_script' | 'nextflow' required

Whether this is a shell script or a Nextflow job.

nextflow_versionstring required

The Nextflow version this job runs with. Empty for shell script jobs.

ram_gbnumber nullable

The amount of RAM used for this job in GB, set only for shell script jobs

scriptstring required

The script that is executed when the job runs.

storage_gbnumber nullable

The amount of storage used for this job in GB, set only for shell script jobs

Example response

{
  "assets": [
    {
      "__DOLLAR_REF__": "/api/v1/assets/a1b2c3d4e5f67890"
    }
  ],
  "dependencies": [
    {
      "job": {
        "__DOLLAR_REF__": "/api/v1/jobs/a1b2c3d4e5f67890"
      }
    }
  ]
}

Changes