> ## 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 the evaluation status for a scan

> Check if a policy evaluation has been triggered for this scan, and if so, what its current status is. Used by the CLI to poll for completion before checking compliance results.



## OpenAPI

````yaml get /projects/{projectId}/scans/{scanId}/evaluation-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:
  /projects/{projectId}/scans/{scanId}/evaluation-status:
    get:
      tags:
        - Policy
      summary: Get the evaluation status for a scan
      description: >-
        Check if a policy evaluation has been triggered for this scan, and if
        so, what its current status is. Used by the CLI to poll for completion
        before checking compliance results.
      operationId: PolicyController_getScanEvaluationStatus
      parameters:
        - name: projectId
          required: true
          in: path
          schema:
            format: uuid
            type: string
        - name: scanId
          required: true
          in: path
          schema:
            format: uuid
            type: string
      responses:
        '200':
          description: Evaluation status for the scan
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScanEvaluationStatusResponseDto'
      security:
        - bearer: []
components:
  schemas:
    ScanEvaluationStatusResponseDto:
      type: object
      properties:
        hasEvaluation:
          type: boolean
          description: Whether an evaluation exists for this scan
          example: true
        evaluationId:
          type: string
          description: Evaluation ID (if exists)
          example: 550e8400-e29b-41d4-a716-446655440000
        status:
          type: string
          description: Current status of the evaluation
          enum:
            - PENDING
            - IN_PROGRESS
            - COMPLETED
            - FAILED
            - NOT_STARTED
          example: COMPLETED
        progress:
          type: number
          description: Progress percentage (0-100)
          example: 75
        message:
          type: string
          description: Status message or error details
          example: Evaluating 3 policies...
        startedAt:
          type: string
          description: When the evaluation started
          example: '2024-01-15T10:30:00Z'
        completedAt:
          type: string
          description: When the evaluation completed (if done)
          example: '2024-01-15T10:31:00Z'
      required:
        - hasEvaluation
        - status
        - progress
        - message
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
      description: JWT access token.

````