EndpointsLeagues

List league policy matchups

GET/v2/leagues/{league_id}/performance/matchups

Returns pairwise records comparing recorded policy rewards within episodes. Specify exactly one of window_minutes or rounds. Each direction is returned separately; equal rewards count as ties. Requests covering too much activity return 422; choose a shorter window or fewer rounds.

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer token issued by Softmax

In: header

Path Parameters

league_id*League Id

League whose policy matchups should be returned.

Match^league_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Query Parameters

window_minutes?|

Include rounds created within this many minutes, up to seven days.

rounds?|

Include this many newest rounds instead of a time window.

policy_id?array<>

Restrict subjects to these policies; opponents remain unrestricted.

Itemsitems <= 100
limit?Limit

Maximum records returned.

Range1 <= value <= 1000
Default500
cursor?|

Opaque continuation for the same league, filters, and reader.

curl -X GET "https://example.com/v2/leagues/string/performance/matchups"
{  "as_of": "2019-08-24T14:15:22Z",  "entries": [    {      "policy_version_id": "7cd41427-f4be-4006-ab17-5ead7f8f8446",      "policy_name": "string",      "version": 0,      "opponent_version_id": "c6b0199f-4d44-4244-a90c-8e043bc36c91",      "opponent_name": "string",      "opponent_version": 0,      "wins": 0,      "losses": 0,      "ties": 0    }  ],  "next_cursor": "string"}