> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve

> Get a PKI discovery configuration by ID



## OpenAPI

````yaml GET /api/v1/cert-manager/discovery-jobs/{discoveryId}
openapi: 3.0.3
info:
  title: Infisical API
  description: List of all available APIs that can be consumed
  version: 0.0.1
servers:
  - url: https://us.infisical.com
    description: Production server (US)
  - url: https://eu.infisical.com
    description: Production server (EU)
  - url: http://localhost:8080
    description: Local server
security: []
paths:
  /api/v1/cert-manager/discovery-jobs/{discoveryId}:
    get:
      tags:
        - PKI Discovery
      description: Get a PKI discovery configuration by ID
      operationId: getPkiDiscovery
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: discoveryId
          required: true
          description: The ID of the discovery configuration
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                  description:
                    type: string
                    nullable: true
                  discoveryType:
                    type: string
                    default: network
                  targetConfig: {}
                  isAutoScanEnabled:
                    type: boolean
                    default: false
                  scanIntervalDays:
                    type: number
                    nullable: true
                  gatewayId:
                    type: string
                    format: uuid
                    nullable: true
                  isActive:
                    type: boolean
                    default: true
                  lastScanStatus:
                    type: string
                    nullable: true
                  lastScanJobId:
                    type: string
                    nullable: true
                  lastScanMessage:
                    type: string
                    nullable: true
                  lastScannedAt:
                    type: string
                    format: date-time
                    nullable: true
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  gatewayPoolId:
                    type: string
                    format: uuid
                    nullable: true
                  linkedInstallationsCount:
                    type: number
                  gatewayName:
                    type: string
                    nullable: true
                  gatewayPoolName:
                    type: string
                    nullable: true
                  connections:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        name:
                          type: string
                        app:
                          type: string
                          enum:
                            - github
                            - github-radar
                            - aws
                            - databricks
                            - gcp
                            - azure-key-vault
                            - azure-app-configuration
                            - azure-client-secrets
                            - azure-devops
                            - azure-adcs
                            - adcs
                            - azure-dns
                            - humanitec
                            - terraform-cloud
                            - vercel
                            - postgres
                            - mssql
                            - mysql
                            - camunda
                            - windmill
                            - auth0
                            - hashicorp-vault
                            - ldap
                            - teamcity
                            - oci
                            - oracledb
                            - 1password
                            - heroku
                            - render
                            - flyio
                            - trigger-dev
                            - gitlab
                            - cloudflare
                            - dns-made-easy
                            - ultradns
                            - zabbix
                            - railway
                            - bitbucket
                            - checkly
                            - supabase
                            - digital-ocean
                            - netlify
                            - okta
                            - redis
                            - mongodb
                            - laravel-forge
                            - chef
                            - northflank
                            - octopus-deploy
                            - ssh
                            - dbt
                            - smb
                            - winrm
                            - open-router
                            - openai
                            - circleci
                            - azure-entra-id
                            - venafi
                            - venafi-tpp
                            - external-infisical
                            - doppler
                            - netscaler
                            - palo-alto-networks
                            - anthropic
                            - ovh
                            - devin
                            - ona
                            - digicert
                            - travis-ci
                            - salesforce
                            - snowflake
                            - datadog
                            - f5-big-ip
                            - godaddy
                            - convex
                            - rundeck
                            - portainer
                            - hasura-cloud
                            - qovery
                            - cloud-66
                            - litellm
                            - fireworks
                            - kemp-loadmaster
                            - imperva
                            - microsoft-intune
                            - nutanix-prism-central
                            - powerdns
                            - spacelift
                            - daytona
                            - stripe
                            - keeper
                            - hpe-ilo
                            - servicenow
                            - s3-compatible
                            - jira
                            - clickhouse
                      required:
                        - id
                        - name
                        - app
                      additionalProperties: false
                required:
                  - id
                  - name
                  - createdAt
                  - updatedAt
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 400
                  message:
                    type: string
                  error:
                    type: string
                  details: {}
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 403
                  message:
                    type: string
                  details: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 404
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 422
                  message: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 500
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.