> ## Documentation Index
> Fetch the complete documentation index at: https://densify-sync-changelog-13.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get analysis status by subscription

> Check the status of collection/analysis for a given Azure subscription.



## OpenAPI

````yaml openapi/public_cloud/Analysis_Azure_Analyze.yaml GET /analysis/azure/{subscriptionId}/status
openapi: 3.1.0
info:
  title: Kubex – Azure Analysis API
  version: 1.0.0
  description: >
    OpenAPI derived from "Analysis: Azure Analyze" documentation.

    POST `/analysis/azure/analyze` initiates the first collection+analysis,

    re-runs an existing analysis, or triggers a historical audit depending on
    payload.

    GET `/analysis/cloud/azure` lists created analyses.

    GET `/analysis/azure/{subscriptionId}/status` returns analysis status for a
    subscription.

    Sources: Analysis: Azure Analyze. 

    See also references to `/analysis/azure/{subscriptionId}/status` and list
    endpoint.
servers:
  - url: https://{host}
    description: Your Kubex API host
    variables:
      host:
        default: api.example.com
security: []
tags:
  - name: Azure Analysis
paths:
  /analysis/azure/{subscriptionId}/status:
    get:
      tags:
        - Azure Analysis
      summary: Get analysis status by subscription
      description: Check the status of collection/analysis for a given Azure subscription.
      operationId: getAzureAnalysisStatus
      parameters:
        - name: subscriptionId
          in: path
          required: true
          description: Azure subscription ID
          schema:
            type: string
      responses:
        '200':
          description: Status information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisStatus'
        '404':
          description: Analysis not found.
        '500':
          description: Internal server error.
components:
  schemas:
    AnalysisStatus:
      allOf:
        - $ref: '#/components/schemas/AnalysisItem'
      description: Same shape commonly used to report status for an analysis.
    AnalysisItem:
      type: object
      description: Entry describing an Azure analysis.
      properties:
        analysisName:
          type: string
          description: Typically the Azure subscription ID.
        href:
          type: string
          description: Link to recommendations for this analysis.
        completed:
          type: string
          description: Milliseconds timestamp when last analysis completed.
        analysisId:
          type: string
          description: Kubex-internal analysis ID.
        phase:
          type: string
          description: 'Current phase, e.g., `analyzing: 42%` or `not analyzing`.'
        message:
          type: string
        status:
          type: integer
          format: int32
      required:
        - analysisName
        - analysisId
        - status

````