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

> Results per step and per split path: sent, delivered, read or opened, clicked, orders and revenue. Scope: read.

What each step and each split path did over the last `days`: sent, delivered, read (WhatsApp) or opened (email), clicked, and the orders and revenue that followed a click.

## Basic Usage

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


## OpenAPI

````yaml flowiq-api-reference/openapi-flows.json GET /v1/flows/{id}/report
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}/report:
    get:
      tags:
        - Flows
      summary: Flow report
      description: >-
        Results per step and per split path: sent, delivered, read or opened,
        clicked, orders and revenue. Scope: read.
      operationId: getFlowReport
      parameters:
        - name: id
          in: path
          required: true
          description: The flow's id
          schema:
            type: string
            format: uuid
        - name: days
          in: query
          required: false
          description: Look-back in days, 1-365, default 30
          schema:
            type: integer
            minimum: 1
            maximum: 365
            default: 30
      responses:
        '200':
          description: The report
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Report'
        '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:
  schemas:
    Report:
      type: object
      title: Flow report
      properties:
        flow_id:
          type: string
          format: uuid
        name:
          type: string
        days:
          type: integer
        currency:
          type: string
          example: ZAR
        steps:
          type: object
          description: Keyed by step id. read = WhatsApp read or email opened.
          additionalProperties:
            type: object
            properties:
              sent:
                type: number
              delivered:
                type: number
              read:
                type: number
              failed:
                type: number
              clicked:
                type: number
              orders:
                type: number
              revenue:
                type: number
        paths:
          type: object
          description: Keyed by <split step id>:<path id>.
          additionalProperties:
            type: object
            properties:
              entered:
                type: number
              sent:
                type: number
              read:
                type: number
              clicked:
                type: number
              orders:
                type: number
              revenue:
                type: number
        totals:
          type: object
          properties:
            sent:
              type: number
            clicked:
              type: number
            orders:
              type: number
            revenue:
              type: number
      example:
        flow_id: b8ce9c3f-d028-4da8-9fb2-9573cf413856
        name: Abandoned checkout
        days: 30
        currency: ZAR
        steps:
          m1:
            sent: 412
            delivered: 401
            read: 356
            failed: 11
            clicked: 88
            orders: 19
            revenue: 21450
        paths:
          s1:pa:
            entered: 160
            sent: 158
            read: 120
            clicked: 31
            orders: 6
            revenue: 6800
        totals:
          sent: 731
          clicked: 140
          orders: 27
          revenue: 30120
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        message:
          type: string
        request_id:
          type: string
          format: uuid
  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'
  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.