> ## 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.

# List workflow run history (org-wide, summary projection)

> Paginated workflow history. Admins see all; members see their own runs.

Returns summary rows (no steps/inputs/result/checkpoint). Prefer `agent_display_name` / `workflow_name` for UI labels.



## OpenAPI

````yaml post /api/workflows/runs/list
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/list:
    post:
      tags:
        - Workflows
      summary: List workflow run history (org-wide, summary projection)
      description: >-
        Paginated workflow history. Admins see all; members see their own runs.


        Returns summary rows (no steps/inputs/result/checkpoint). Prefer
        `agent_display_name` / `workflow_name` for UI labels.
      operationId: workflow_runs_history_list
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            default: 1
            title: Page
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 500
            default: 50
            title: Limit
        - name: sort_by
          in: query
          required: false
          schema:
            type: string
            default: created_at
            title: Sort By
        - name: sort_order
          in: query
          required: false
          schema:
            type: string
            default: desc
            title: Sort Order
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkflowRunHistoryListRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WorkflowRunHistoryListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    WorkflowRunHistoryListRequest:
      properties:
        filters:
          anyOf:
            - $ref: '#/components/schemas/WorkflowRunHistoryFilters'
            - type: 'null'
      type: object
      title: WorkflowRunHistoryListRequest
    WorkflowRunHistoryListResponse:
      type: object
      title: WorkflowRunHistoryListResponse
      properties:
        runs:
          type: array
          items:
            $ref: '#/components/schemas/WorkflowRunHistorySummary'
        total:
          type: integer
        page:
          type: integer
        limit:
          type: integer
      required:
        - runs
        - total
        - page
        - limit
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WorkflowRunHistoryFilters:
      properties:
        agent_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Agent Name
          description: Filter by agent storage key or display name
        workflow_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workflow Id
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        created_by:
          anyOf:
            - type: string
            - type: 'null'
          title: Created By
        start_date:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Start Date
        end_date:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: End Date
        search:
          anyOf:
            - type: string
            - type: 'null'
          title: Search
          description: Substring match on run id, workflow name, or agent display name
      type: object
      title: WorkflowRunHistoryFilters
    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}'

````