---
title: "Retrieve global flow statistics"
method: GET
path: "/flowStats"
tags: ["dashboard"]
---

# Retrieve global flow statistics

`GET /flowStats`

This will return a JSON object showing flow statistics across the designated time period.

## Query parameters

- `interval` string, required
- `from` string
- `until` string

## Response `200`

An object containing a list of flow stat objects

- object
  - `data` FlowStats[]
    - `active` number
    - `inactive` number
    - `bucketStartAt` string
  - `meta` Meta
    - `page` integer — Current page (1-based numbering)
    - `perPage` integer — Number of objects per page
    - `total` integer — Total number of objects
    - `totalPages` integer — Total number of pages

## Other responses

- `500` — Something went wrong

## Changes

- **2022-07-20** `0b81d657d141` — 1 info
  - added the media type `application/json` for the response with the status `200`
- **2022-07-20** `19ce74049ba9` — 1 info
  - the endpoint scheme security `Bearer` was added to the API
- **2022-06-30** `4fe1a8bfac87` — 2 info
  - api tag `dashboard` added
  - api tag `healthcheck` removed
- **2022-06-20** `f48df456dc06` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openintegrationhub/apis/analytics-service/changes/flowStats/get.md)

---

[API](https://skmtc.dev/openintegrationhub/apis/analytics-service.md) · [All operations](https://skmtc.dev/openintegrationhub/apis/analytics-service/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openintegrationhub/analytics-service/revisions/0b81d657d141/schema)
