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

# Flow runs

> Recent runs of the flow, newest first. Scope: read.

One row per person who went through the flow, newest first, with where the run stands.

## Basic Usage

```bash theme={null}
curl "https://api.flowiq.live/v1/flows/$FLOW_ID/runs?limit=20" \
  -H "Authorization: Bearer fiq_YOUR_API_KEY"
```


## OpenAPI

````yaml flowiq-api-reference/openapi-flows.json GET /v1/flows/{id}/runs
openapi: 3.1.0
info:
  title: FlowIQ Flows API
  version: 1.0.0
  description: List, read, create, change and switch on FlowIQ flows.
servers:
  - url: https://api.flowiq.live
    description: FlowIQ Production API
security:
  - BearerAuth: []
tags:
  - name: Flows
paths:
  /v1/flows/{id}/runs:
    get:
      tags:
        - Flows
      summary: Flow runs
      description: 'Recent runs of the flow, newest first. Scope: read.'
      operationId: listFlowRuns
      parameters:
        - name: id
          in: path
          required: true
          description: The flow's id
          schema:
            type: string
            format: uuid
        - name: status
          in: query
          required: false
          description: Only runs with this status, for example completed, waiting or failed
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: 1-200, default 50
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
      responses:
        '200':
          description: Runs
          content:
            application/json:
              schema:
                type: object
                properties:
                  flow_id:
                    type: string
                    format: uuid
                  runs:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        contact_id:
                          type:
                            - string
                            - 'null'
                          format: uuid
                        status:
                          type: string
                        triggered_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        scheduled_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        completed_at:
                          type:
                            - string
                            - 'null'
                          format: date-time
                        error_message:
                          type:
                            - string
                            - 'null'
                        paused_for:
                          type:
                            - string
                            - 'null'
                        dry_run:
                          type:
                            - boolean
                            - 'null'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: No flow with that id in your organisation (code not_found)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key lacks the read or write scope (code forbidden_scope)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: >-
        More than 600 reads or 60 changes a minute per key; Retry-After says
        when
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        message:
          type: string
        request_id:
          type: string
          format: uuid
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: fiq_ API key
      description: >-
        Your FlowIQ organisation API key (Settings → API Keys), sent as a bearer
        token. Format: `Bearer fiq_YOUR_API_KEY`

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.