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

# Get the status for a list of purls posted in the body



## OpenAPI

````yaml /api-reference/components-openapi.json post /v2/components/status/components
openapi: 3.0.0
info:
  title: SCANOSS Components Service
  description: Provides component intelligence services
  version: '2.0'
  contact:
    name: scanoss-components
    url: https://github.com/scanoss/components
    email: support@scanoss.com
servers:
  - url: https://api.scanoss.com
  - url: http://api.scanoss.com
security: []
tags:
  - name: Components
paths:
  /v2/components/status/components:
    post:
      tags:
        - Components
      summary: Get the status for a list of purls posted in the body
      operationId: Components_GetComponentsStatus
      requestBody:
        $ref: '#/components/requestBodies/v2ComponentsRequest'
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v2ComponentsStatusResponse'
        '404':
          description: Returned when the resource does not exist.
          content:
            application/json:
              schema:
                type: string
                format: string
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
components:
  requestBodies:
    v2ComponentsRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/v2ComponentsRequest'
      description: >-
        Represents a list of software component to be analyzed by SCANOSS API
        services.

        Allows analysis of multiple software components in a single API call,
        improving performance over individual requests.
      required: true
  schemas:
    v2ComponentsStatusResponse:
      type: object
      example:
        components:
          - purl: pkg:npm/strive-molu-axios
            name: strive-molu-axios
            requirement: ^0.0.1
            version_status:
              version: 0.0.1-beta.1
              status: deleted
              indexed_date: '2024-06-21'
              check_date: '2026-02-01'
            component_status:
              status: active
              first_indexed_date: '2022-03-01'
              last_indexed_date: '2026-02-15'
      properties:
        components:
          type: array
          items:
            $ref: '#/components/schemas/v2ComponentStatusResponse'
          title: Component status
        status:
          $ref: '#/components/schemas/v2StatusResponse'
      title: Component Statistics response data (JSON payload)
    rpcStatus:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        details:
          type: array
          items:
            $ref: '#/components/schemas/protobufAny'
    v2ComponentsRequest:
      type: object
      example:
        components:
          - purl: pkg:github/scanoss/engine@1.0.0
          - purl: pkg:github/scanoss/scanoss.py@v1.30.0
      properties:
        components:
          type: array
          items:
            $ref: '#/components/schemas/v2ComponentRequest'
          title: Array of component requests to analyze
      description: >-
        Represents a list of software component to be analyzed by SCANOSS API
        services.

        Allows analysis of multiple software components in a single API call,
        improving performance over individual requests.
      required:
        - components
    v2ComponentStatusResponse:
      type: object
      example:
        purl: pkg:npm/strive-molu-axios
        name: strive-molu-axios
        requirement: ^0.0.1
        version_status:
          version: 0.0.1-beta.1
          status: deleted
          indexed_date: '2024-06-21'
          check_date: '2026-02-01'
        component_status:
          status: active
          first_indexed_date: '2022-03-01'
          last_indexed_date: '2026-02-15'
      properties:
        purl:
          type: string
          title: Purl requested
        name:
          type: string
          title: Name of the component
        requirement:
          type: string
          description: Requirement that should be met on the response.
        version_status:
          $ref: '#/components/schemas/ComponentStatusResponseVersionStatus'
        component_status:
          $ref: '#/components/schemas/ComponentStatusResponseComponentStatus'
      title: Component lifecycle status
    v2StatusResponse:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/v2StatusCode'
        message:
          type: string
          title: Status message
        db:
          $ref: '#/components/schemas/StatusResponseDB'
        server:
          $ref: '#/components/schemas/StatusResponseServer'
      description: Detailed response details.
    protobufAny:
      type: object
      properties:
        '@type':
          type: string
      additionalProperties: {}
    v2ComponentRequest:
      type: object
      example:
        purl: pkg:github/scanoss/engine@1.0.0
      properties:
        purl:
          type: string
          description: Package URL identifying the component to analyze.
        requirement:
          type: string
          description: >-
            Version constraint for component resolution when PURL lacks explicit
            version.
      description: >-
        Represents a software component to be analyzed by SCANOSS API services.

        Combines a Package URL for component identification with optional
        version constraints for resolution.
      required:
        - purl
    ComponentStatusResponseVersionStatus:
      type: object
      properties:
        version:
          type: string
          title: Specific version name
        status:
          type: string
          title: >-
            Development status of the requested version of this component
            classified automatically
        repository_status:
          type: string
          title: Raw status reported by the registry for this version
        indexed_date:
          type: string
          title: Date that the component was indexed
        status_change_date:
          type: string
          title: Date that the status was checked
        info_message:
          type: string
          description: Status message describing the outcome of processing this component.
        info_code:
          type: string
          description: |-
            Status code identifying the outcome of processing this component.

            Possible values:
              - "NO_INFO":             No status information is available for the requested component.
              - "INVALID_SEMVER":      The provided semantic version (SemVer) is invalid or malformed.
              - "VERSION_NOT_FOUND":   The specific component version could not be found.
      title: Component version status
    ComponentStatusResponseComponentStatus:
      type: object
      properties:
        status:
          type: string
          title: >-
            Development status of the requested component classified
            automatically
        repository_status:
          type: string
          title: Raw status reported by the registry for this component
        first_indexed_date:
          type: string
          title: Date of the first time component was indexed
        last_indexed_date:
          type: string
          title: Date of the last time component was indexed
        status_change_date:
          type: string
          title: Date of the last detected change
        info_message:
          type: string
          description: Status message describing the outcome of processing this component.
        info_code:
          type: string
          description: |-
            Status code identifying the outcome of processing this component.

            Possible values:
              - "INVALID_PURL":        The provided Package URL (PURL) is invalid or malformed.
              - "COMPONENT_NOT_FOUND": The requested component could not be found in the database.
              - "NO_INFO":             No status information is available for the requested component.
      title: Component status details (ignoring version)
    v2StatusCode:
      type: string
      enum:
        - UNSPECIFIED
        - SUCCESS
        - SUCCEEDED_WITH_WARNINGS
        - WARNING
        - FAILED
      default: UNSPECIFIED
      description: Status code Enum.
    StatusResponseDB:
      type: object
      properties:
        schema_version:
          type: string
          title: Semantic schema version (e.g., 'v1.0.0')
        created_at:
          type: string
          title: When this DB was built (ISO 8601 format)
      description: Database version information.
    StatusResponseServer:
      type: object
      properties:
        version:
          type: string
          title: Semantic version (e.g., 'v1.0.0')
      description: Server information.

````