> ## 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 run status

> Get the status of a workflow run plus a per-step summary (status counts per workflow step) and the number of distinct entities enrolled.

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



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/workflow-runs/{runId}
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-runs/{runId}:
    get:
      tags:
        - Workflows
      summary: Get workflow run status
      description: >-
        Get the status of a workflow run plus a per-step summary (status counts
        per workflow step) and the number of distinct entities enrolled.

            > **Required scope:** `WORKFLOWS_READ`
            >
            > **Rate limit:** 100 requests per minute
      parameters:
        - schema:
            type: string
          required: true
          name: runId
          in: path
      responses:
        '200':
          description: Run status retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    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'
                      distinctEntityCount:
                        type: number
                      steps:
                        type: array
                        items:
                          type: object
                          properties:
                            stepId:
                              type: number
                            stepType:
                              type: string
                            statusCounts:
                              type: object
                              additionalProperties:
                                type: number
                          required:
                            - stepId
                            - stepType
                            - statusCounts
                    required:
                      - runId
                      - status
                      - stopReason
                      - sequenceNumber
                      - startedAt
                      - finishedAt
                      - triggerType
                      - versionNumber
                      - distinctEntityCount
                      - steps
                required:
                  - status
                  - message
                  - data
        '403':
          description: >-
            Advanced workflows are not enabled for this workspace. Ask your
            workspace admin to enable the feature.
        '404':
          description: Run not found or not accessible.
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````