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

# Get Flow Run

> Retrieve detailed information about a specific flow run by its UID

Retrieve detailed information about a specific flow run using its unique identifier (UID).
This endpoint provides complete status information, timing details, error messages, and workflow metadata for a single flow run.

**Use Cases**:

* Check the current status of a flow run you started
* Monitor progress of long-running flows
* Retrieve error details when a flow fails
* Get timing information (started\_at, finished\_at) for performance analysis

<Warning>
  **We recommend using callbacks instead of polling this endpoint.** Callbacks are highly available, have higher success rates, and are rate-limited for reliability. Polling is not super efficient and can be rate-limited.

  When you create a flow run, configure a `callback` URL to receive results automatically. You can monitor callback delivery using the [List Callbacks endpoint](https://docs.edges.run/v1/api/callbacks/list) if you need additional monitoring.
</Warning>


## OpenAPI

````yaml GET /flows/runs/{flow_run_uid}
openapi: 3.1.0
info:
  title: ED Automation Flows API
  description: This is the Flows API documentation for ED Automation
  version: dev
servers:
  - url: https://api.edges.run/v1
security:
  - XApiKeyAuth: []
paths:
  /flows/runs/{flow_run_uid}:
    get:
      tags:
        - flows
      summary: Get flow run by UUID
      operationId: getFlowRun
      parameters:
        - schema:
            type: boolean
            default: false
          in: query
          name: with_run_step_status
          required: false
          description: Whether to include the run step status in the response
        - schema:
            type: string
            format: uuid
          in: path
          name: flow_run_uid
          required: true
          description: Flow Run UUID
      responses:
        '200':
          description: Returns the flow run
          content:
            application/json:
              schema:
                description: Returns the flow run
                type: object
                properties:
                  uid:
                    type: string
                    format: uuid
                    description: Flow Run UUID
                  user_uid:
                    type: string
                    format: uuid
                    description: Member/User UUID
                  workspace_uid:
                    type: string
                    format: uuid
                    description: Workspace UUID
                  last_error:
                    type: object
                    description: Last error message
                    properties:
                      label:
                        type: string
                        description: Label
                      message:
                        type: string
                        description: Message
                    nullable: true
                  callback:
                    type: object
                    description: Callback
                    properties:
                      url:
                        type: string
                        description: Callback URL
                    nullable: true
                  status:
                    type: string
                    description: Flow Run status
                    enum:
                      - CREATED
                      - INVALID
                      - QUEUED
                      - SCHEDULED
                      - BLOCKED
                      - STOPPED
                      - RUNNING
                      - FAILED
                      - PARTIAL_SUCCEEDED
                      - SUCCEEDED
                    nullable: true
                  output_count:
                    type: integer
                    description: >-
                      Number of outputs generated by the flow run (only
                      available when the flow run is finished)
                    default: 0
                    nullable: true
                  scheduled_flow_run_uid:
                    type: string
                    format: uuid
                    description: >-
                      If the flow run is scheduled, this field indicates the
                      scheduled flow run UUID.
                    nullable: true
                  workflow:
                    type: object
                    description: Workflow schema
                    properties:
                      uid:
                        type: string
                      metadata:
                        type: object
                        properties:
                          account_rotation:
                            type: boolean
                            default: true
                            nullable: true
                        additionalProperties: false
                      steps:
                        type: array
                        description: Workflow steps
                        items:
                          type: object
                          properties:
                            uid:
                              type: string
                              format: uuid
                              description: Step UUID
                            name:
                              type: string
                              description: Step name
                            status:
                              type: string
                              description: Step status
                              enum:
                                - CREATED
                                - INVALID
                                - QUEUED
                                - SCHEDULED
                                - BLOCKED
                                - STOPPED
                                - RUNNING
                                - FAILED
                                - PARTIAL_SUCCEEDED
                                - SUCCEEDED
                            started_at:
                              type: string
                              description: Step started at
                              nullable: true
                            finished_at:
                              type: string
                              description: Step finished at
                              nullable: true
                            error:
                              type: object
                              description: Last error message
                              properties:
                                label:
                                  type: string
                                  description: Label
                                message:
                                  type: string
                                  description: Message
                              nullable: true
                          additionalProperties: false
                    nullable: true
                    additionalProperties: false
                  started_at:
                    type: string
                    description: Started at
                    nullable: true
                  finished_at:
                    type: string
                    description: Finished at
                    nullable: true
                  created_at:
                    type: string
                    description: Created at
                  updated_at:
                    type: string
                    description: Updated at
                    nullable: true
                additionalProperties: false
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-0'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/def-0'
components:
  schemas:
    def-0:
      title: APIError
      description: >-
        Represents an error returned by the API. This schema defines the
        standard structure of error messages to ensure consistent error handling
        across the application.
      type: object
      properties:
        error_label:
          type: string
          nullable: true
        error_scope:
          type: string
          enum:
            - input
            - integ
            - param
            - config
          nullable: true
        error_ref:
          type: string
          nullable: true
          example: ERR-12345
        message:
          type: string
        status_code:
          type: integer
          nullable: true
        params:
          type: object
          additionalProperties:
            anyOf:
              - type: string
              - type: number
              - type: boolean
              - type: 'null'
              - type: array
                items:
                  type: string
          nullable: true
        data:
          type: object
          nullable: true
          additionalProperties: true
          description: Additional data about the error
      additionalProperties: false
  securitySchemes:
    XApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````