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

# Check Upload Status

> Return the current upload offset for a transfer. This path requires a trailing slash. Does not return `scan_id`.



## OpenAPI

````yaml /api-reference/openapi.json head /start-scan/{transfer_id}/
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/{transfer_id}/:
    head:
      tags:
        - Starting Corgea Scan
      summary: Check Upload Status
      description: >-
        Return the current upload offset for a transfer. This path requires a
        trailing slash. Does not return `scan_id`.
      operationId: checkUploadStatus
      parameters:
        - name: transfer_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: The transfer ID to check
      responses:
        '200':
          description: >-
            Upload offset retrieved. An unknown or empty transfer returns
            Upload-Offset: 0.
          headers:
            Upload-Offset:
              schema:
                type: integer
              description: Current upload offset in bytes
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - ok
                    example: ok
                  message:
                    type: string
                    example: Offset calculated
        '400':
          description: >-
            Chunk storage could not be read. Unknown transfer IDs return 200
            with Upload-Offset: 0, not this error.
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: error
                  message:
                    type: string
                    example: Transfer not found or error accessing chunks
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

````