---
title: "GET /scan-requests/{id}/scan-request-logs"
method: GET
path: "/scan-requests/{id}/scan-request-logs"
tags: ["ScanRequestLogController"]
---

# GET /scan-requests/{id}/scan-request-logs

`GET /scan-requests/{id}/scan-request-logs`

## Path parameters

- `id` number, required

## Response `200`

Array of ScanRequest has many ScanRequestLog

- ScanRequestLog[]
  - `id` number
  - `scanRequestId` number, required
  - `status` 'complete' | 'in progress', required
  - `modelDefinition` object
    - `name` string
    - `properties` object
    - `settings` object
      - `databricks` object
        - `catalog` string
        - `database` string
        - `tableName` string
        - `isTemporary` boolean
  - `modelProfile` object
    - `rowCount` number, required
    - `propertyProfiles` object[]
      - `frequencyDistribution` object[], required
        - `bucketName` string, required
        - `bucketCount` number, required
      - `distinctValues` number, required
      - `databricks` object
        - `col_name` string
    - `settings` object, required
      - `databricks` object
        - `catalog` string
        - `database` string
        - `tableName` string
        - `isTemporary` boolean

## Changes

> 5 revisions in range; 1 could not be searched.

- **2022-12-15** `17f92620449e` — 1 info
  - added the optional property `items/modelProfile` to the response with the `200` status
- **2022-11-29** `f9eb0e2fcd7e` — 1 breaking
  - the `items/modelDefinition/properties/additionalProperties/databricks/comment` response's property type/format changed from `string`/`` to ``/`` for status `200`
- **2022-11-28** `8517ac9eef50` — 1 breaking, 1 warning
  - the `items/modelDefinition/properties/additionalProperties/databricks/comment` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - removed the optional property `items/modelProfile` from the response with the `200` status

[Change history](https://skmtc.dev/ohdsi/apis/data-connection/changes/scan-requests/:id/scan-request-logs/get.md)

---

[API](https://skmtc.dev/ohdsi/apis/data-connection.md) · [All operations](https://skmtc.dev/ohdsi/apis/data-connection/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ohdsi/data-connection/revisions/b5ead99a1d44/schema)
