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

# List self-healing repair episodes



## OpenAPI

````yaml /api-reference/workflows.yaml get /flows/{flowId}/repairs
openapi: 3.1.0
info:
  title: Workflows
  version: v1
servers:
  - url: https://api.mobilerun.ai
    description: Droidrun Cloud API
security:
  - bearerAuth: []
paths:
  /flows/{flowId}/repairs:
    get:
      tags:
        - Flows
      summary: List self-healing repair episodes
      operationId: listWorkflowRepairs
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: flowId
          in: path
      responses:
        '200':
          description: Workflow repair episodes
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/WorkflowRepairEpisode'
                required:
                  - data
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
components:
  schemas:
    WorkflowRepairEpisode:
      type: object
      properties:
        id:
          type: string
          format: uuid
        flowId:
          type: string
          format: uuid
        sourceExecutionId:
          type: string
          format: uuid
        deviceId:
          type:
            - string
            - 'null'
          format: uuid
        episode:
          type: integer
          exclusiveMinimum: 0
        failedStepIndex:
          type: integer
          minimum: 0
        attempt:
          type: integer
          exclusiveMinimum: 0
        maxAttempts:
          type: integer
          exclusiveMinimum: 0
        status:
          type: string
          enum:
            - pending
            - running
            - canary
            - promoting
            - repaired
            - failed
            - escalated
        originalSlug:
          type: string
        candidateSlug:
          type: string
        agentRunId:
          type:
            - string
            - 'null'
        chatSessionId:
          type:
            - string
            - 'null'
          format: uuid
        verdict:
          type:
            - object
            - 'null'
          properties:
            outcome:
              type: string
              enum:
                - ok
                - flaky
                - broken
            summary:
              type: string
            reason:
              type: string
          required:
            - outcome
            - summary
        error:
          type:
            - string
            - 'null'
        startedAt:
          type:
            - string
            - 'null'
        finishedAt:
          type:
            - string
            - 'null'
        createdAt:
          type:
            - string
            - 'null'
        updatedAt:
          type:
            - string
            - 'null'
      required:
        - id
        - flowId
        - sourceExecutionId
        - deviceId
        - episode
        - failedStepIndex
        - attempt
        - maxAttempts
        - status
        - originalSlug
        - candidateSlug
        - agentRunId
        - chatSessionId
        - verdict
        - error
        - startedAt
        - finishedAt
        - createdAt
        - updatedAt
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Opaque
      description: Bearer token via Authorization header

````