> ## 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 (POST)

> Start a scan by sending the domain (and optional mode) in a form-encoded body.

# Start scan (POST)

Starts a new scan for the provided `domain`.

## Body

`application/x-www-form-urlencoded`:

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


## OpenAPI

````yaml openapi/senthrex.json POST /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:
    post:
      summary: Start Scan Post
      description: Start a new security scan for the specified domain.
      operationId: start_scan_post_scan_post
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Body_start_scan_post_scan_post'
      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:
    Body_start_scan_post_scan_post:
      properties:
        domain:
          type: string
          title: Domain
        mode:
          type: string
          title: Mode
          default: full
      type: object
      required:
        - domain
      title: Body_start_scan_post_scan_post
    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

````