---
title: "GET /scan-requests"
method: GET
path: "/scan-requests"
tags: ["ScanRequestController"]
---

# GET /scan-requests

`GET /scan-requests`

## Response `200`

Array of ScanRequest model instances

- ScanRequestWithRelations[]
  - `id` number
  - `dataSourceConfig` object, required
    - `connector` 'databricks' | 'postgresql', required
    - `token` string, required
    - `host` string, required
    - `path` string, required
  - `scanParameters` object
  - `logs` ScanRequestLogWithRelations[]
    - `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

## Changes

- **2022-11-28** `8517ac9eef50` — 3 breaking, 7 warning, 2 info
  - the `connector` response property const value `databricks` was removed for the status `200`
  - the `items/logs/items/modelDefinition/properties/additionalProperties/databricks/comment` response's property type/format changed from ``/`` to `string`/`` for status `200`
  - removed the required property `items/scanParameters/profile` from the response with the `200` status
  - removed the optional property `items/dataSourceConfig/anyOf[subschema #1: DatabricksConfig]/port` from the response with the `200` status
  - …8 more

[Change history](https://skmtc.dev/ohdsi/apis/data-connection/changes/scan-requests/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/8517ac9eef50/schema)
