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

# List scans

> List scans and summary counts.

# List scans

Returns an array of scans along with `total_scans` and `active_scans`.

## Query parameters

* `limit` (optional): max scans to return (default: `50`)
* `status_filter` (optional): filter scans by status


## OpenAPI

````yaml openapi/senthrex.json GET /scans
openapi: 3.1.0
info:
  title: Senthrex Simulation API
  description: >-
    API for running comprehensive security assessments including subdomain
    enumeration, port scanning, vulnerability scanning, OSINT reconnaissance,
    and security exposure detection
  version: 2.0.0
servers:
  - url: https://rts-senthrex.slayers.tech
    description: Production server
security: []
paths:
  /scans:
    get:
      summary: List Scans
      description: List scans with optional filtering. API keys only see their own scans.
      operationId: list_scans_scans_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            description: Maximum number of scans to return
            default: 50
            title: Limit
          description: Maximum number of scans to return
        - name: status_filter
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by status
            title: Status Filter
          description: Filter by status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScanListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ScanListResponse:
      properties:
        scans:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Scans
        total_scans:
          type: integer
          title: Total Scans
        active_scans:
          type: integer
          title: Active Scans
      type: object
      required:
        - scans
        - total_scans
        - active_scans
      title: ScanListResponse
      description: |-
        Response for the scan listing endpoint.

        Attributes:
            scans: List of scan summary dictionaries.
            total_scans: Total number of scans tracked by the API.
            active_scans: Number of scans currently running or pending.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````