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

# Start scan (GET)

> Start a scan by sending the domain (and optional mode) as query parameters.

# Start scan (GET)

Starts a new scan for the provided `domain` query parameter.

## Query parameters

* `domain` (required): the domain to scan
* `mode` (optional): `full` (default) or `discovery`


## OpenAPI

````yaml openapi/senthrex.json GET /scan
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:
  /scan:
    get:
      summary: Start Scan Get
      description: Start a new security scan for the specified domain (GET method).
      operationId: start_scan_get_scan_get
      parameters:
        - name: domain
          in: query
          required: true
          schema:
            type: string
            description: Domain to scan
            title: Domain
          description: Domain to scan
        - name: mode
          in: query
          required: false
          schema:
            type: string
            description: 'Scan mode: ''full'' or ''discovery'''
            default: full
            title: Mode
          description: 'Scan mode: ''full'' or ''discovery'''
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScanResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ScanResponse:
      properties:
        uuid:
          type: string
          title: Uuid
        status:
          type: string
          title: Status
        message:
          type: string
          title: Message
      type: object
      required:
        - uuid
        - status
        - message
      title: ScanResponse
      description: |-
        Response returned when a scan is started.

        Attributes:
            uuid: Unique identifier assigned to the scan.
            status: Current status of the scan (e.g. ``"pending"``).
            message: Human-readable message about the scan initiation.
    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

````