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

> Retrieve logs for a scan UUID.

# Get scan logs

Returns detailed log data including the log file path, full log content, and size metadata.


## OpenAPI

````yaml openapi/senthrex.json GET /logs/{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:
  /logs/{scan_uuid}:
    get:
      summary: Get Scan Logs
      description: Get the detailed execution logs for a scan.
      operationId: get_scan_logs_logs__scan_uuid__get
      parameters:
        - name: scan_uuid
          in: path
          required: true
          schema:
            type: string
            title: Scan Uuid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    LogsResponse:
      properties:
        scan_uuid:
          type: string
          title: Scan Uuid
        log_file_path:
          type: string
          title: Log File Path
        log_content:
          type: string
          title: Log Content
        log_size_bytes:
          type: integer
          title: Log Size Bytes
      type: object
      required:
        - scan_uuid
        - log_file_path
        - log_content
        - log_size_bytes
      title: LogsResponse
      description: |-
        Response containing scan execution logs.

        Attributes:
            scan_uuid: Scan identifier.
            log_file_path: Filesystem path to the log file.
            log_content: Full text of the execution log.
            log_size_bytes: Size of the log content in bytes.
    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

````