latestOpenAPI 3.0.42026-08-19355873993.7 KB

fdb89a6eb2fb

Workflow

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

The entries of winCounter are ordered by compared side: the first is the first compared side, the second is the second, and so on. That order is the order of the workflow's compare blueprint, which is also the order the sides' assets appear in on every rapid returned by /workflow/simple/{workflowId}/results — so rendering the entries as they arrive lines up with the individual rapids. Sides that have not won a rapid yet are present with a count of 0.

get/workflow/{workflowId}/compare-ab-summary

Path parameters

workflowIdstring required

The ID of the workflow to get the summary for.

Query parameters

useUserScoreboolean

Whether to use the user score to determine the winner.

Response

OK

winCounterobject required

The number of times each side was the winner, keyed by the side's name and ordered by compared side rather than by wins.

allTargetGroupsCompletedboolean required

Whether all target groups for this workflow are completed.