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

# Get Application Api Endpoint



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /api/v1/org/applications/{application_id}
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
tags:
  - name: Clusters
    description: Create, inspect and manage clusters, and the stacks deployed on them.
  - name: Managed Clusters
    description: Provider-managed control planes, driven through one common surface.
  - name: Imported Clusters
    description: Clusters that already existed and were connected to Ankra.
  - name: Cluster Access
    description: Kubeconfigs, service-account tokens and per-cluster access grants.
  - name: Kubernetes
    description: Read and act on the Kubernetes objects inside a cluster.
  - name: DigitalOcean Clusters
    description: Provision and manage DigitalOcean Kubernetes clusters.
  - name: Hetzner Clusters
    description: Provision and manage Hetzner Kubernetes clusters.
  - name: OVH Clusters
    description: Provision and manage OVH Kubernetes clusters.
  - name: Scaleway Clusters
    description: Provision and manage Scaleway Kapsule clusters.
  - name: UpCloud Clusters
    description: Provision and manage UpCloud Kubernetes clusters.
  - name: Applications
    description: Deploy, configure and observe applications across the fleet.
  - name: Stack Profiles
    description: Reusable stack definitions, their versions and sharing.
  - name: Charts
    description: Browse the chart catalogue behind stacks and addons.
  - name: Helm
    description: Helm registries, credentials and the charts they expose.
  - name: Executions
    description: Long-running platform executions and their jobs.
  - name: Operations
    description: Cancel in-flight cluster operations and their jobs.
  - name: Chat
    description: Conversational sessions, plans and confirmable actions.
  - name: AI Agent Runs
    description: Autonomous agent runs and their outcomes.
  - name: AI Tickets
    description: The AI ticket board, its sync connections and settings.
  - name: AI Playbooks
    description: Reusable playbooks the AI lanes execute.
  - name: AI Conditions
    description: Conditions that gate AI autonomy.
  - name: AI Engineering Handoffs
    description: Work the AI lanes escalate to a human engineer.
  - name: AI Environment
    description: The environment and base stacks AI demos deploy into.
  - name: Security
    description: Findings, advisories, SBOMs, compliance and posture.
  - name: Cost
    description: Cluster and fleet cost, rate cards and cost settings.
  - name: Billing
    description: Subscription and spend caps.
  - name: Organisation
    description: Members, invitations, audit logs and organisation settings.
  - name: Account Tokens
    description: Personal access tokens for the API and CLI.
  - name: Credentials
    description: The shared credential store.
  - name: Azure Credentials
    description: Azure credentials and SSH keys.
  - name: DigitalOcean Credentials
    description: DigitalOcean credentials and SSH keys.
  - name: Hetzner Credentials
    description: Hetzner credentials and SSH keys.
  - name: OVH Credentials
    description: OVH credentials and SSH keys.
  - name: Scaleway Credentials
    description: Scaleway credentials.
  - name: UpCloud Credentials
    description: UpCloud credentials and SSH keys.
  - name: Data Source Credentials
    description: Credentials for metrics and log sources.
  - name: DNS Credentials
    description: Credentials for DNS providers.
  - name: DNS
    description: DNS zones and records, including custom organisation zones.
  - name: Cloudflare
    description: Cloudflare domains and the credentials behind them.
  - name: Variables
    description: Organisation- and cluster-scoped variables.
  - name: SOPS
    description: Encrypt and decrypt values with the organisation SOPS config.
  - name: Alerts
    description: Alert integrations and ingest credentials.
  - name: Notifications
    description: Notification routes and their delivery targets.
  - name: Support
    description: Support tickets.
paths:
  /api/v1/org/applications/{application_id}:
    get:
      tags:
        - Applications
      summary: Get Application Api Endpoint
      operationId: >-
        get_application_api_endpoint_api_v1_org_applications__application_id__get
      parameters:
        - in: path
          name: application_id
          required: true
          schema:
            type: string
            title: Application Id
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: x-ankra-organisation-id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Ankra-Organisation-Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApplicationResponse'
          description: Successful Response
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    GetApplicationResponse:
      properties:
        analysis_ai_generated:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Analysis Ai Generated
        analysis_fallback_reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Analysis Fallback Reason
        analysis_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Analysis Status
        app_repo_branch:
          title: App Repo Branch
          type: string
        app_repo_name:
          title: App Repo Name
          type: string
        app_repo_owner:
          title: App Repo Owner
          type: string
        app_repo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: App Repo Url
        chart_oci_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Chart Oci Url
        chart_version_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Chart Version Count
        clusters_behind:
          anyOf:
            - type: integer
            - type: 'null'
          title: Clusters Behind
        clusters_up_to_date:
          anyOf:
            - type: integer
            - type: 'null'
          title: Clusters Up To Date
        components:
          anyOf:
            - items:
                $ref: '#/components/schemas/ApplicationComponent'
              type: array
            - type: 'null'
          title: Components
        container_image_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Container Image Url
        created_at:
          type: string
          title: Created At
        creation_progress:
          anyOf:
            - items:
                $ref: '#/components/schemas/CreationProgressStepResponse'
              type: array
            - type: 'null'
          title: Creation Progress
        cve_summary:
          anyOf:
            - additionalProperties:
                type: integer
              type: object
            - type: 'null'
          title: Cve Summary
        deployment_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Deployment Count
        deployment_state:
          description: >-
            Whether the application is running: running, degraded, failed,
            deploying, not_deployed or unknown. Distinct from state, which is
            the application record's own lifecycle.
          title: Deployment State
          type: string
        deployment_state_message:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Why deployment_state is what it is, when there is something to say:
            the re-checked failure reason, or what could not be established.
            Null when the state needs no explanation.
          title: Deployment State Message
        detected_framework:
          anyOf:
            - type: string
            - type: 'null'
          title: Detected Framework
        detected_language:
          anyOf:
            - type: string
            - type: 'null'
          title: Detected Language
        error_message:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Message
        file_dispositions:
          anyOf:
            - items:
                $ref: '#/components/schemas/FileDispositionItem'
              type: array
            - type: 'null'
          title: File Dispositions
        generated_files:
          anyOf:
            - items:
                $ref: '#/components/schemas/GeneratedFileItem'
              type: array
            - type: 'null'
          title: Generated Files
        healthy_deployment_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Healthy Deployment Count
        helm_repo_add_command:
          anyOf:
            - type: string
            - type: 'null'
          title: Helm Repo Add Command
        id:
          title: Id
          type: string
        latest_chart_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Latest Chart Version
        latest_delivery_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Latest Delivery Status
        latest_workflow_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Latest Workflow At
        latest_workflow_conclusion:
          anyOf:
            - type: string
            - type: 'null'
          title: Latest Workflow Conclusion
        latest_workflow_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Latest Workflow Status
        name:
          title: Name
          type: string
        parameters:
          anyOf:
            - items:
                $ref: '#/components/schemas/ApplicationParameterItem'
              type: array
            - type: 'null'
          title: Parameters
        publish_readiness:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Publish Readiness
        pull_request_merged_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Pull Request Merged At
        pull_request_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Pull Request Url
        state:
          title: State
          type: string
        updated_at:
          title: Updated At
          type: string
      required:
        - id
        - name
        - state
        - app_repo_owner
        - app_repo_name
        - app_repo_branch
        - created_at
        - updated_at
        - deployment_state
        - deployment_state_message
      title: GetApplicationResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ApplicationComponent:
      properties:
        app_subdir:
          title: App Subdir
          type: string
        container_port:
          title: Container Port
          type: integer
        image_repository:
          title: Image Repository
          type: string
        is_primary:
          title: Is Primary
          type: boolean
        name:
          title: Name
          type: string
        registry_credential_name:
          description: Registry credential Ankra reads the component's images with.
          title: Registry Credential Name
          type: string
        registry_declared:
          description: >-
            True when the component publishes to a registry the organisation
            operates.
          title: Registry Declared
          type: boolean
        workflow_path:
          title: Workflow Path
          type: string
      required:
        - name
        - app_subdir
        - image_repository
        - workflow_path
        - container_port
        - is_primary
        - registry_declared
        - registry_credential_name
      title: ApplicationComponent
      type: object
    CreationProgressStepResponse:
      properties:
        key:
          type: string
          title: Key
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
        status:
          type: string
          title: Status
      required:
        - key
        - status
      title: CreationProgressStepResponse
      type: object
    FileDispositionItem:
      properties:
        disposition:
          title: Disposition
          type: string
        path:
          title: Path
          type: string
      required:
        - path
        - disposition
      title: FileDispositionItem
      type: object
    GeneratedFileItem:
      properties:
        content:
          title: Content
          type: string
        path:
          title: Path
          type: string
      required:
        - path
        - content
      title: GeneratedFileItem
      type: object
    ApplicationParameterItem:
      properties:
        default:
          anyOf:
            - type: string
            - type: 'null'
          title: Default
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        name:
          title: Name
          type: string
        required:
          default: false
          title: Required
          type: boolean
        type:
          default: string
          title: Type
          type: string
      required:
        - name
      title: ApplicationParameterItem
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````