> ## 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 all container packages of a project

> Retrieves all packages detected in container images for a project



## OpenAPI

````yaml get /project/{projectId}/results/container/packages
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/container/packages:
    get:
      tags:
        - Results & Vulnerabilities
      summary: Get all container packages of a project
      description: Retrieves all packages detected in container images for a project
      operationId: ResultController_findAllContainerPackages
      parameters:
        - name: projectId
          required: true
          in: path
          description: Project identifier
          schema:
            format: uuid
            type: string
        - name: sort
          required: false
          in: query
          schema:
            type: string
        - name: order
          required: false
          in: query
          schema:
            type: string
        - name: severity
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: status
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: priority
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: classType
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: imageId
          required: false
          in: query
          description: Filter results by a specific container image ID.
          schema:
            format: uuid
            type: string
        - name: searchQuery
          required: false
          in: query
          schema:
            type: string
        - name: page
          required: false
          in: query
          schema:
            type: number
        - name: limit
          required: false
          in: query
          schema:
            type: number
        - name: branch
          required: false
          in: query
          description: Filter by branch name (e.g. main, develop, feature/xyz)
          schema:
            type: string
        - name: hasAutofix
          required: false
          in: query
          description: >-
            Filter by autofix status: true = only with autofix, false = only
            without autofix, omit = all
          schema:
            type: boolean
      responses:
        '200':
          description: Container packages retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProjectPackagesResponseDto'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
        '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
components:
  schemas:
    GetProjectPackagesResponseDto:
      type: object
      properties:
        projectId:
          type: string
          description: Project unique identifier
        page:
          type: number
          description: Current page number
        limit:
          type: number
          description: Number of items per page
        total:
          type: number
          description: Total number of packages
        totalPages:
          type: number
          description: Total number of pages
        packages:
          type: array
          items:
            $ref: '#/components/schemas/ScaDetectedPackageDto'
      required:
        - projectId
        - page
        - limit
        - total
        - totalPages
        - packages
    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
    ScaDetectedPackageDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the detected package
        projectId:
          type: string
          description: Project unique identifier
        packageName:
          type: string
          description: Name of the package
        packageVersion:
          type: string
          description: Version of the package
        fileName:
          type: string
          description: File name where the package was detected
        ecosystem:
          type: string
          description: Ecosystem (npm, maven, etc.)
        createdAt:
          type: string
          description: Date when the record was created
        updatedAt:
          type: string
          description: Date when the record was updated
      required:
        - id
        - projectId
        - packageName
        - packageVersion
        - fileName
        - ecosystem
        - createdAt
        - updatedAt

````