---
title: "Retrieve flow template statistics"
method: GET
path: "/flowTemplates"
tags: ["dashboard"]
---

# Retrieve flow template statistics

`GET /flowTemplates`

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

## Query parameters

- `from` string
- `until` string
- `timeframe` string

## Response `200`

An object containing a list of flow template stat objects

- object
  - `data` FlowTemplateData[]
    - `flowTemplateId` string
    - `flowTemplateName` string
    - `steps` string
    - `usage` string[]
    - `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** `1b61d2ef773b` — 1 warning, 1 info
  - deleted the `query` request parameter `interval`
  - added the new optional `query` request parameter `timeframe`
- **2022-07-20** `19ce74049ba9` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openintegrationhub/apis/analytics-service/changes/flowTemplates/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)
