> ## 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.

# Get scan results

> Retrieve structured JSON results for a scan UUID.

# Get scan results

Returns consolidated JSON findings for a scan, with optional filtering by scanner/tool type.

## Query parameters

* `tool` (optional): filter returned findings by scanner category


## OpenAPI

````yaml openapi/senthrex.json GET /results/{scan_uuid}
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:
  /results/{scan_uuid}:
    get:
      summary: Get Scan Results
      description: |-
        Get scan results as JSON.

        Returns the full scan findings in structured JSON format. For completed
        scans this reads the mega.json file. For in-progress scans it reads
        whatever tyr output files have been produced so far.

        Use the optional ``tool`` query parameter to filter results by scanner
        type (e.g. ``vulnerability_scanner``, ``port_scanner``,
        ``reconnaissance_scanner``, ``ssl_scanner``, ``subdomain_scanner``,
        ``wordpress_scanner``).
      operationId: get_scan_results_results__scan_uuid__get
      parameters:
        - name: scan_uuid
          in: path
          required: true
          schema:
            type: string
            title: Scan Uuid
        - name: tool
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Filter results by tool type (e.g. 'vulnerability_scanner',
              'port_scanner', 'reconnaissance_scanner')
            title: Tool
          description: >-
            Filter results by tool type (e.g. 'vulnerability_scanner',
            'port_scanner', 'reconnaissance_scanner')
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScanResultsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ScanResultsResponse:
      properties:
        uuid:
          type: string
          title: Uuid
        domain:
          type: string
          title: Domain
        status:
          type: string
          title: Status
        mode:
          anyOf:
            - type: string
            - type: 'null'
          title: Mode
        start_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Start Time
        end_time:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: End Time
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
        results:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Results
          default: []
        summary:
          additionalProperties: true
          type: object
          title: Summary
          default: {}
      type: object
      required:
        - uuid
        - domain
        - status
      title: ScanResultsResponse
      description: |-
        Full JSON results for a completed or in-progress scan.

        Attributes:
            uuid: Scan identifier.
            domain: Target domain.
            status: Current scan status.
            mode: Scan mode (``"full"`` or ``"discovery"``).
            start_time: Scan start timestamp.
            end_time: Scan end timestamp (if finished).
            url: Resolved URL for the target domain.
            results: List of individual scanner result objects.
            summary: High-level counts and metadata.
    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

````