> ## 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 execution detail



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /api/v1/org/executions/{execution_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/executions/{execution_id}:
    get:
      tags:
        - Executions
      summary: Get execution detail
      operationId: get_execution_endpoint_api_v1_org_executions__execution_id__get
      parameters:
        - in: path
          name: execution_id
          required: true
          schema:
            format: uuid4
            title: Execution Id
            type: string
        - 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/ExecutionDetail'
          description: Successful Response
        '401':
          description: Unauthorized
        '404':
          description: Not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    ExecutionDetail:
      properties:
        execution:
          $ref: '#/components/schemas/ExecutionSummary'
        step_summary:
          $ref: '#/components/schemas/StepSummary'
        steps:
          items:
            $ref: '#/components/schemas/ExecutionStep'
          title: Steps
          type: array
      required:
        - execution
        - steps
      title: ExecutionDetail
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ExecutionSummary:
      properties:
        cluster_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Cluster Id
        cluster_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Cluster Name
        created_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Created At
        display_name:
          title: Display Name
          type: string
        error_excerpt:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Excerpt
        id:
          format: uuid
          type: string
          title: Id
        name:
          title: Name
          type: string
        organisation_id:
          format: uuid
          title: Organisation Id
          type: string
        outcome:
          anyOf:
            - $ref: '#/components/schemas/ExecutionOutcome'
            - type: 'null'
        scope:
          $ref: '#/components/schemas/ExecutionScope'
        status:
          $ref: '#/components/schemas/OperationStatus'
        step_summary:
          $ref: '#/components/schemas/StepSummary'
        type:
          title: Type
          type: string
        updated_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Updated At
      required:
        - id
        - scope
        - organisation_id
        - name
        - display_name
        - type
        - status
      title: ExecutionSummary
      type: object
    StepSummary:
      properties:
        failed:
          default: 0
          title: Failed
          type: integer
        pending:
          default: 0
          title: Pending
          type: integer
        running:
          default: 0
          title: Running
          type: integer
        succeeded:
          default: 0
          title: Succeeded
          type: integer
        total:
          default: 0
          title: Total
          type: integer
      title: StepSummary
      type: object
    ExecutionStep:
      properties:
        chart_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Chart Name
        chart_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Chart Version
        created_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Created At
        error_excerpt:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Excerpt
        iac_from_file_path:
          anyOf:
            - type: string
            - type: 'null'
          title: Iac From File Path
        id:
          format: uuid
          type: string
          title: Id
        in_flight_task:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: In Flight Task
        in_flight_task_started_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: In Flight Task Started At
        name:
          title: Name
          type: string
        namespace:
          anyOf:
            - type: string
            - type: 'null'
          title: Namespace
        registry_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Registry Name
        resource_kind:
          anyOf:
            - type: string
            - type: 'null'
          title: Resource Kind
        scheduler_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Scheduler Name
        stack_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Stack Name
        stack_resource_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Stack Resource Id
        start_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Start At
        status:
          $ref: '#/components/schemas/JobStatus'
        stop_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Stop At
        target_resource_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          title: Target Resource Id
        target_resource_kind:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Resource Kind
        target_resource_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Resource Name
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
        updated_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Updated At
      required:
        - id
        - name
        - status
      title: ExecutionStep
      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
    ExecutionOutcome:
      enum:
        - unknown
        - noop
        - mutated
        - failed
        - cancelled
      title: ExecutionOutcome
      type: string
    ExecutionScope:
      enum:
        - cluster
        - platform
      title: ExecutionScope
      type: string
    OperationStatus:
      enum:
        - running
        - stopping
        - success
        - cleanup
        - failed
        - critical
        - cancelled
      title: OperationStatus
      type: string
    JobStatus:
      enum:
        - running
        - success
        - failed
        - timeout
        - pending
        - blocked
        - cancelling
        - cancelled
      title: JobStatus
      type: string

````