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

# GET /api/v1/jobs/{id}/log

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

## Path parameters

- `id` integer, required

## Query parameters

- `search` string
- `sortBy` string
- `descending` boolean
- `index` integer
- `pageLength` integer
- `severity` string[]

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- JobLogRecordsPage
  - `index` integer — Starting index of the current page.
  - `isComplete` boolean — Boolean indicating if more data is available.
  - `totalNumResults` integer — Total number of results.
  - `first` string — URL to first page in results set.
  - `next` string — URL to next page in results set.
  - `prev` string — URL to last page in results set.
  - `data` JobLogRecordDump[]
    - `loggerName` string, required — The name of the logger that emitted the log message.
    - `message` string, required — The logged message.
    - `createdOn` string, date-time — Server timestamp for when the job log was received.

---

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