---
title: "Retrieves the pairwise vote matrix for a completed flow item."
method: GET
path: "/flow/ranking/item/{flowItemId}/vote-matrix"
tags: ["RankingFlowItem"]
---

# Retrieves the pairwise vote matrix for a completed flow item.

`GET /flow/ranking/item/{flowItemId}/vote-matrix`

Returns 409 Conflict if the flow item is not completed or has no associated workflow.

## Path parameters

- `flowItemId` string, required

## Response `200`

OK

- GetRankingFlowItemVoteMatrixEndpointOutput
  - `index` string[], required — Row labels of the vote matrix.
  - `columns` string[], required — Column labels of the vote matrix.
  - `data` array[], required — The vote counts as a two-dimensional matrix where Data[i][j] is the number of times row i was preferred over column j.
    - number[]

## Other responses

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

---

[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/revisions/fdb89a6eb2fb/schema)
