---
title: "Gets a Job resource"
method: GET
path: "/api/v1/jobs/{id}"
tags: ["Job"]
---

# Gets a Job resource

`GET /api/v1/jobs/{id}`

## Path parameters

- `id` integer, required

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- JobDump
  - `id` integer — ID for the Job resource.
  - `snapshot` integer — ID for the underlying Job snapshot.
  - `group` GroupRef
    - `id` integer — ID for the Group resource.
    - `name` string — Name of the Group resource.
    - `url` string — URL for accessing the full Group resource.
  - `user` UserRefDump
    - `id` integer — ID for the User resource.
    - `username` string — Username of the User resource.
    - `url` string — URL for accessing the full User resource.
  - `createdOn` string, date-time — Timestamp when the Job resource was created.
  - `snapshotCreatedOn` string, date-time — Timestamp when the Job resource snapshot was created.
  - `lastModifiedOn` string, date-time — Timestamp when the Job resource was last modified.
  - `latestSnapshot` boolean — Whether or not the Job resource is the latest version.
  - `hasDraft` boolean — Whether a draft exists for the Job resource.
  - `tags` TagRefDump[]
    - `id` integer — ID for the Tag.
    - `name` string — Name of the Tag.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Tag.
  - `description` string — Description of the Job resource.
  - `queue` QueueSnapshotRef
    - `id` integer — ID for the Queue resource.
    - `snapshotId` integer — Snapshot ID for the Queue resource.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Queue resource.
    - `name` string — Name of the Queue resource.
  - `experiment` ExperimentSnapshotRef
    - `id` integer — ID for the Experiment resource.
    - `snapshotId` integer — Snapshot ID for the Experiment resource.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Experiment resource.
    - `name` string — Name of the Experiment resource.
  - `entrypoint` EntrypointSnapshotRef
    - `id` integer — ID for the Entrypoint resource.
    - `snapshotId` integer — Snapshot ID for the Entrypoint resource.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Entrypoint resource.
    - `name` string — Name of the Entrypoint resource.
  - `values` object — A dictionary of keyword arguments to pass to the Job's Entrypoint.
  - `artifactValues` object — A dictionary of artifacts to pass to the Job's Entrypoint.
  - `timeout` string — The maximum alloted time for a job before it times out and is stopped. If omitted, the job timeout will default to 24 hours.
  - `status` string — The current status of the job. The allowed values are: queued, started, deferred, finished, failed.
  - `artifacts` ArtifactRefDump[]
    - `id` integer — ID for the Artifact resource.
    - `group` GroupRef
      - `id` integer — ID for the Group resource.
      - `name` string — Name of the Group resource.
      - `url` string — URL for accessing the full Group resource.
    - `url` string — URL for accessing the full Artifact Resource.

## Changes

- **2026-07-17** `a73101579c5c` — 7 info
  - added the optional property `artifactValues` to the response with the `200` status
  - added the optional property `entrypoint/allOf[#/components/schemas/EntrypointSnapshotRef]/id` to the response with the `200` status
  - added the optional property `experiment/allOf[#/components/schemas/ExperimentSnapshotRef]/id` to the response with the `200` status
  - added the optional property `queue/allOf[#/components/schemas/QueueSnapshotRef]/id` to the response with the `200` status
  - …3 more
- **2024-07-24** `9a36b9043379` — 5 warning, 2 info
  - removed the optional property `artifactValues` from the response with the `200` status
  - removed the optional property `entrypoint/allOf[#/components/schemas/EntrypointSnapshotRef]/id` from the response with the `200` status
  - removed the optional property `experiment/allOf[#/components/schemas/ExperimentSnapshotRef]/id` from the response with the `200` status
  - removed the optional property `queue/allOf[#/components/schemas/QueueSnapshotRef]/id` from the response with the `200` status
  - …3 more

[Change history](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/changes/api/v1/jobs/:id/get.md)

---

[API](https://skmtc.dev/usnistgov/apis/dioptra-rest-api.md) · [All operations](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usnistgov/dioptra-rest-api/revisions/a73101579c5c/schema)
