---
title: "Retrieve information about the current job (if there is one)."
method: GET
path: "/api/job"
---

# Retrieve information about the current job (if there is one).

`GET /api/job`

## Response `200`

OK

- object
  - `job` union
    - object
      - `filament` object, nullable
        - `length` number, nullable — Length of filament used in mm.
        - `volume` number, nullable — Volume in filament used in cm3.
      - `estimatedPrintTime` integer, nullable — Estimated print time for the file in seconds.
      - `file` object
        - `layers` integer, nullable — Total number of layers
        - `layerHeight` number
        - `exposureTime` integer, nullable
        - `exposureTimeFirst` number, nullable
        - `exposureTimeCalibration` number, nullable
        - `exposureUserProfile` number, nullable
        - `name` string, nullable — The name of the file without path.
        - `path` string, nullable — The name of the file with path.
        - `origin` 'local' | 'sdcard', nullable
        - `date` integer, nullable — Unix timestamp.
        - `size` integer, nullable — The size of the file in bytes.
        - `refs` object
          - `resource` string
          - `thumbnailBig` string, nullable
    - object
      - `resin` object, nullable
        - `remaining` number, nullable — Volume of remaining resin in the tank [ml].
        - `consumed` number, nullable — Volume of already consumed resin in the tank [ml].
      - `estimatedPrintTime` integer, nullable — Estimated print time for the file in seconds.
      - `file` object
        - `layers` integer, nullable — Total number of layers
        - `layerHeight` number
        - `exposureTime` integer, nullable
        - `exposureTimeFirst` number, nullable
        - `exposureTimeCalibration` number, nullable
        - `exposureUserProfile` number, nullable
        - `name` string, nullable — The name of the file without path.
        - `path` string, nullable — The name of the file with path.
        - `origin` 'local' | 'sdcard', nullable
        - `date` integer, nullable — Unix timestamp.
        - `size` integer, nullable — The size of the file in bytes.
        - `refs` object
          - `resource` string
          - `thumbnailBig` string, nullable
  - `progress` union
    - object
      - `pos_z_mm` number
      - `printSpeed` number
      - `flow_factor` number
      - `filament_status` string
      - `completion` number, nullable — Percentage of completion of the current job.
      - `filepos` integer, nullable — Current position in the file being printed, in bytes from the beginning. Not being used for SL1.
      - `printTime` integer, nullable — Time already spent printing in seconds.
      - `printTimeLeft` integer, nullable — Estimate of time left to print in seconds.
    - object
      - `currentLayer` integer, nullable — Number of current layer being printed.
      - `completion` number, nullable — Percentage of completion of the current job.
      - `filepos` integer, nullable — Current position in the file being printed, in bytes from the beginning. Not being used for SL1.
      - `printTime` integer, nullable — Time already spent printing in seconds.
      - `printTimeLeft` integer, nullable — Estimate of time left to print in seconds.
  - `state` 'Operational' | 'Printing' | 'Pausing' | 'Paused' | 'Cancelling' | 'Error' | 'Offline' | 'Busy'

## Other responses

- `403` — Unauthorized
- `409` — Conflict

## Changes

- **2021-09-23** `7ad880a6c0c4` — 13 info
  - added the optional property `job/file/refs` to the response with the `200` status
  - the response property `text` became required for the status `403`
  - the response property `text` became required for the status `409`
  - the response property `title` became required for the status `403`
  - …9 more
- **2021-09-01** `c56559872209` — 1 info
  - added the optional property `job/file/oneOf[#/components/schemas/JobFileSLA]/exposureUserProfile` to the response with the `200` status
- **2021-04-15** `50f55b7fa1c5` — 2 warning, 1 info
  - removed the optional property `job/file/refs` from the response with the `200` status
  - added the new `Busy` enum value to the `state` response property for the response status `200`
  - added the optional property `job/file/path` to the response with the `200` status
- **2021-02-22** `30eda14983ed` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/prusa3d/apis/prusalink-web/changes/api/job/get.md)

---

[API](https://skmtc.dev/prusa3d/apis/prusalink-web.md) · [All operations](https://skmtc.dev/prusa3d/apis/prusalink-web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prusa3d/prusalink-web/revisions/ebdce30f1db8/schema)
