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

# Start New Scan

> Starts a BLAST chunked upload. Send `scan_type=blast` as a form field and exactly one `files` part. The archive name must use `.zip`, `.tar`, `.json`, `.fpr`, `.sarif`, or `.xml`. The part body may be empty; send archive bytes with PATCH. BLAST scanning must be enabled for your company.



## OpenAPI

````yaml /api-reference/openapi.json post /start-scan
openapi: 3.0.0
info:
  title: Corgea API
  version: 1.0.0
  description: >-
    API for interacting with Corgea's scanning and vulnerability management
    features
servers:
  - url: https://www.corgea.app/api/v1
    description: Production server
security:
  - CorgeaToken: []
  - BearerAuth: []
paths:
  /start-scan:
    post:
      tags:
        - Starting Corgea Scan
      summary: Start New Scan
      description: >-
        Starts a BLAST chunked upload. Send `scan_type=blast` as a form field
        and exactly one `files` part. The archive name must use `.zip`, `.tar`,
        `.json`, `.fpr`, `.sarif`, or `.xml`. The part body may be empty; send
        archive bytes with PATCH. BLAST scanning must be enabled for your
        company.
      operationId: startScan
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - files
              properties:
                scan_type:
                  type: string
                  enum:
                    - blast
                  default: blast
                  description: >-
                    Currently only blast scan is supported. If omitted, the
                    server defaults to blast.
                files:
                  type: array
                  minItems: 1
                  maxItems: 1
                  items:
                    type: string
                    format: binary
                  description: >-
                    Exactly one archive part for BLAST. An empty body is valid
                    when initiating a chunked upload.
      responses:
        '200':
          description: Chunked upload initiated
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Successfully initiated upload at /tmp/uploads/transfer_id
                  transfer_id:
                    type: string
                    format: uuid
                    example: c9b0a8c7-f9b4-4c10-9d58-cd4c7e1c9c52
                  status:
                    type: string
                    enum:
                      - OK
                    example: OK
        '400':
          description: Bad request - validation errors
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: >-
                      No files uploaded for blast. Please upload the required
                      files.
              examples:
                no_files:
                  summary: No files uploaded
                  value:
                    status: error
                    message: >-
                      No files uploaded for blast. Please upload the required
                      files.
                multiple_files:
                  summary: Multiple files for BLAST scan
                  value:
                    status: error
                    message: >-
                      Multiple files uploaded for blast. Please upload only one
                      file.
                scan_not_enabled:
                  summary: Scan type not enabled
                  value:
                    status: error
                    message: Only Blast scan is currently enabled by the API
                blast_not_enabled:
                  summary: BLAST scanning is not enabled for the company
                  value:
                    status: error
                    message: Blast Scan is not enabled for your account.
                file_validation_error:
                  summary: File validation failed
                  value:
                    status: error
                    message: >-
                      Invalid file type. Only ZIP, TAR, JSON, and FPR files are
                      allowed.
        '403':
          description: Permission denied
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Permission denied
components:
  securitySchemes:
    CorgeaToken:
      type: apiKey
      in: header
      name: CORGEA-TOKEN
      description: API key for authentication
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth2 access token (JWT) in the Authorization header

````