---
title: "GET /api/v1/cert-manager/discovery-jobs/{discoveryId}/scans"
method: GET
path: "/api/v1/cert-manager/discovery-jobs/{discoveryId}/scans"
tags: ["PKI Discovery"]
---

# GET /api/v1/cert-manager/discovery-jobs/{discoveryId}/scans

`GET /api/v1/cert-manager/discovery-jobs/{discoveryId}/scans`

Get scan history for a PKI discovery configuration

## Path parameters

- `discoveryId` string, uuid, required

## Query parameters

- `offset` number
- `limit` number

## Response `200`

Default Response

- object
  - `scans` object[], required
    - `id` string, uuid, required
    - `discoveryConfigId` string, uuid, required
    - `startedAt` string, date-time, required
    - `completedAt` string, date-time, nullable
    - `status` string, required
    - `targetsScannedCount` number
    - `certificatesFoundCount` number
    - `installationsFoundCount` number
    - `errorMessage` string, nullable
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `totalCount` number, required

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `422` — Default Response
- `500` — Default Response

---

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