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

# Get SCA AutoFix job status

> Poll this endpoint to check the status of an SCA AutoFix job. Returns progress information and status (queued, processing, completed, failed).



## OpenAPI

````yaml get /project/{projectId}/results/sca/autofix/{jobId}/status
openapi: 3.0.0
info:
  title: Cybedefend API
  description: >-
    CybeDefend is an advanced API for application security analysis. Key
    features include OAuth 2.0 authentication, user/organization/project
    management, and REBAC-based permissions. It excels in static, dynamic, and
    IaC security analyses (SAST, DAST, IaC, etc.).
  version: '1.0'
  contact: {}
servers:
  - url: https://api-eu.cybedefend.com
    description: EU
  - url: https://api-us.cybedefend.com
    description: US
security: []
tags: []
paths:
  /project/{projectId}/results/sca/autofix/{jobId}/status:
    get:
      tags:
        - Results & Vulnerabilities
      summary: Get SCA AutoFix job status
      description: >-
        Poll this endpoint to check the status of an SCA AutoFix job. Returns
        progress information and status (queued, processing, completed, failed).
      operationId: ResultController_getScaAutoFixJobStatus
      parameters:
        - name: projectId
          required: true
          in: path
          description: Project identifier
          schema:
            format: uuid
            type: string
        - name: jobId
          required: true
          in: path
          description: Job ID returned from the startScaAutoFix endpoint
          schema:
            type: string
      responses:
        '200':
          description: Job status retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetScaAutoFixJobStatusResponseDto'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                example:
                  message: Unauthorized
                  statusCode: 401
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                example:
                  message: Forbidden
                  statusCode: 403
                  timestamp: '2025-02-18T12:31:18.491Z'
                  path: /example/path
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    GetScaAutoFixJobStatusResponseDto:
      type: object
      properties:
        jobId:
          type: string
          description: Job ID
          example: sca-autofix-550e8400-e29b-41d4-a716-446655440000-0
        projectId:
          type: string
          description: Project ID
          example: 550e8400-e29b-41d4-a716-446655440000
        status:
          type: string
          description: Job status
          enum:
            - queued
            - processing
            - completed
            - failed
          example: processing
        message:
          type: string
          description: Human-friendly status message
          example: Processing... 3 vulnerabilities analyzed.
        totalVulnerabilities:
          type: number
          description: Total number of vulnerabilities to analyze
          example: 5
        processedVulnerabilities:
          type: number
          description: Number of vulnerabilities processed so far
          example: 3
        fixableCount:
          type: number
          description: Number of vulnerabilities with fixes found
          example: 2
        unfixableCount:
          type: number
          description: Number of vulnerabilities without fixes
          example: 1
        errorCount:
          type: number
          description: Number of vulnerabilities that failed analysis
          example: 0
        progressPercent:
          type: number
          description: Progress percentage (0-100)
          example: 60
        errorMessage:
          type: string
          description: Error message if job failed
          example: Repository not found
        createdAt:
          type: string
          description: Job creation timestamp
          example: '2024-01-15T10:30:00.000Z'
        startedAt:
          type: string
          description: Processing start timestamp
          example: '2024-01-15T10:30:05.000Z'
        completedAt:
          type: string
          description: Job completion timestamp
          example: '2024-01-15T10:31:30.000Z'
      required:
        - jobId
        - projectId
        - status
        - message
        - totalVulnerabilities
        - processedVulnerabilities
        - fixableCount
        - unfixableCount
        - errorCount
        - progressPercent
        - createdAt
    ErrorDto:
      type: object
      properties:
        timestamp:
          type: string
          example: '2025-02-18T12:31:18.491Z'
          description: Timestamp of the error
        service:
          type: string
          example: AiService
          description: Name of the service where the error occurred
        method:
          type: string
          example: startConversation
          description: Method name where the error occurred
        message:
          type: string
          example: Invalid parameters provided
          description: Error message
        code:
          type: number
          example: 400
          description: HTTP status code
          minimum: 100
          maximum: 599
      required:
        - timestamp
        - service
        - method
        - message
        - code

````