---
title: "Returns the number of times each asset index won across the workflow's rapids."
method: GET
path: "/workflow/{workflowId}/compare-ab-summary"
tags: ["Workflow"]
---

# Returns the number of times each asset index won across the workflow's rapids.

`GET /workflow/{workflowId}/compare-ab-summary`

## Path parameters

- `workflowId` string, required

## Query parameters

- `useUserScore` boolean

## Response `200`

OK

- GetCompareAbSummaryEndpointOutput
  - `winCounter` object, required — The number of times each asset index was the winner.
  - `allTargetGroupsCompleted` boolean, required — Whether all target groups for this workflow are completed.

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