---
title: "Returns the distribution of total votes per completed flow item."
method: GET
path: "/flow/ranking/{flowId}/response-count-histogram"
tags: ["Flow"]
---

# Returns the distribution of total votes per completed flow item.

`GET /flow/ranking/{flowId}/response-count-histogram`

## Path parameters

- `flowId` string, required

## Query parameters

- `from` string, date-time
- `to` string, date-time
- `bucketCount` integer

## Response `200`

OK

- GetResponseCountHistogramEndpointOutput
  - `buckets` GetResponseCountHistogramEndpointOutputBucket[], required — The histogram buckets.
    - `lowerBound` number, double, required
    - `upperBound` number, double, required
    - `count` integer, required

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/versions/e42ec51c7b88/schema)
