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

# List scan jobs

> Return scanner connectors for the current project and environment, including recent jobs and findings.

List scanner connectors for the current project and environment. Each connector includes recent scan **jobs** and their **findings** — use this to read the data of a scan after [Run scan](/latest/openlit/developer-resources/api-reference/endpoint/scanners/scan).

Secrets are never returned.

See [Scanner connectors](/latest/openlit/connectors/scanner) for setup.


## OpenAPI

````yaml GET /api/scanners
openapi: 3.0.3
info:
  title: Scanner API
  description: Run Trustabl scanner jobs and retrieve scan findings.
  version: 1.0.0
servers:
  - url: http://localhost:3000
security: []
paths:
  /api/scanners:
    get:
      summary: List scanner connectors and scan jobs
      description: >-
        Return scanner connectors for the current project and environment,
        including recent jobs and findings.
      operationId: listScannerJobs
      parameters:
        - name: x-openlit-organisation-id
          in: header
          required: false
          schema:
            type: string
        - name: x-openlit-project-id
          in: header
          required: true
          schema:
            type: string
        - name: x-openlit-environment
          in: header
          required: true
          schema:
            type: string
            example: production
      responses:
        '200':
          description: Scanner connectors with recent jobs.
          content:
            application/json:
              schema:
                type: object
                properties:
                  connectors:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        type:
                          type: string
                        environment:
                          type: string
                        jobs:
                          type: array
                          items:
                            $ref: '#/components/schemas/ScannerJob'
        '401':
          description: Unauthorized.
components:
  schemas:
    ScannerJob:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          enum:
            - queued
            - running
            - succeeded
            - failed
            - runtime-missing
        target:
          type: string
        ref:
          type: string
        cliVersion:
          type: string
          description: Trustabl CLI version used for this job.
          example: v0.1.8
        startedAt:
          type: string
          format: date-time
        finishedAt:
          type: string
          format: date-time
        findingCount:
          type: integer
        mediumPlusCount:
          type: integer
        findings:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              ruleId:
                type: string
              severity:
                type: string
              path:
                type: string
              title:
                type: string
        error:
          type: string

````