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

# Get workflow runs

> List the runs of a workflow, most recent first, paginated.

Responses include direct Enginy app URLs when available. The response includes an `appUrl` to the runs view. MCP agents should return those URLs to users whenever they are present in the response.

    > **Required scope:** `WORKFLOWS_READ`
    >
    > **Rate limit:** 100 requests per minute



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/workflow/{workflowId}/runs
openapi: 3.1.0
info:
  title: Enginy API
  version: 1.0.0
  description: Public API for Enginy platform
servers:
  - url: https://openapi.enginy.ai
    description: Configured server
security: []
tags:
  - name: AI Variables
    description: >-
      Manage AI variables and discover the entity fields you can reference in
      prompts and entity requests.
  - name: Inbox
    description: >-
      Inbox endpoints for listing contact threads, reading thread messages,
      managing tags, and sending manual replies.
  - name: Workflows
    description: >-
      Build, validate, publish, run, and inspect advanced (graph) workflows,
      plus the block/condition catalog needed to author a workflow plan.
paths:
  /v1/workflow/{workflowId}/runs:
    get:
      tags:
        - Workflows
      summary: Get workflow runs
      description: >-
        List the runs of a workflow, most recent first, paginated.


        Responses include direct Enginy app URLs when available. The response
        includes an `appUrl` to the runs view. MCP agents should return those
        URLs to users whenever they are present in the response.

            > **Required scope:** `WORKFLOWS_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: string
          required: true
          name: workflowId
          in: path
        - schema:
            type: string
          required: false
          name: page
          in: query
        - schema:
            type: string
            description: Page size (default 25, max 100).
          required: false
          description: Page size (default 25, max 100).
          name: pageSize
          in: query
      responses:
        '200':
          description: Runs retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        runId:
                          type: string
                        status:
                          type: string
                        stopReason:
                          type:
                            - string
                            - 'null'
                        sequenceNumber:
                          type: number
                        startedAt:
                          type: string
                          format: date-time
                        finishedAt:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        triggerType:
                          type: string
                        versionNumber:
                          type:
                            - number
                            - 'null'
                      required:
                        - runId
                        - status
                        - stopReason
                        - sequenceNumber
                        - startedAt
                        - finishedAt
                        - triggerType
                        - versionNumber
                  meta:
                    type: object
                    properties:
                      page:
                        type: number
                      pageSize:
                        type: number
                      total:
                        type: number
                    required:
                      - page
                      - pageSize
                      - total
                required:
                  - data
                  - meta
        '400':
          description: The workflow ID is not a positive integer.
        '403':
          description: >-
            Advanced workflows are not enabled for this workspace. Ask your
            workspace admin to enable the feature.
        '404':
          description: Workflow not found or not accessible.
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````