---
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`

## Request

- Base URL: `https://us.infisical.com`
- URL: `https://us.infisical.com/api/v1/cert-manager/discovery-jobs/{discoveryId}/scans`
- Auth: none declared

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.dev/infisical/apis/infisical-api.md) - [All operations](https://skmtc.dev/infisical/apis/infisical-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infisical/apis/infisical-api/revisions/7f940199c899?raw)
