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

# Get a workflow run by id (full detail, no checkpoint)

> Return a persisted workflow run for history/share detail views. Checkpoint data is omitted. Non-admins may only read their own runs.



## OpenAPI

````yaml get /api/workflows/runs/{run_id}
openapi: 3.1.0
info:
  title: Apigene
  description: Apigene API
  version: 1.0.0
  contact:
    name: Apigene Support
    url: https://app.apigene.ai
    email: support@apigene.ai
servers:
  - url: https://app.apigene.ai
security:
  - BearerAuth: []
paths:
  /api/workflows/runs/{run_id}:
    get:
      tags:
        - Workflows
      summary: Get a workflow run by id (full detail, no checkpoint)
      description: >-
        Return a persisted workflow run for history/share detail views.
        Checkpoint data is omitted. Non-admins may only read their own runs.
      operationId: workflow_run_history_get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            title: Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowRunHistoryDetail'
        '404':
          description: Run not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    WorkflowRunHistoryDetail:
      allOf:
        - $ref: '#/components/schemas/WorkflowRunHistorySummary'
        - type: object
          properties:
            inputs: {}
            result: {}
            steps:
              additionalProperties: true
              type: object
            generative_ui: {}
      title: WorkflowRunHistoryDetail
      description: Full run payload for detail/share views. Checkpoint is never included.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WorkflowRunHistorySummary:
      type: object
      title: WorkflowRunHistorySummary
      description: >-
        Summary row for workflow history list (no
        steps/inputs/result/checkpoint).
      properties:
        id:
          type: string
        agent_name:
          type: string
        agent_display_name:
          type: string
        execution_agent_name:
          type: string
        workflow_id:
          type: string
        workflow_name:
          type: string
        name:
          type: string
        status:
          type: string
        created_by:
          type: string
        created_at:
          type: string
        updated_at:
          type: string
        duration_ms:
          type: integer
        failed_step_id:
          anyOf:
            - type: string
            - type: 'null'
        client_source:
          anyOf:
            - type: string
            - type: 'null'
        recording_mode:
          type: string
        has_generative_ui:
          type: boolean
        inputs_size_bytes:
          type: integer
        result_size_bytes:
          type: integer
        steps_size_bytes:
          type: integer
        payload_redacted:
          type: boolean
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        'Authorization: Bearer {token}'

````