> ## Documentation Index
> Fetch the complete documentation index at: https://docs.softmax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List League Portfolio

> One representative live membership per owned player and division.



## OpenAPI

````yaml https://softmax.com/api/observatory/openapi.json get /v2/league-policy-memberships/portfolio
openapi: 3.1.0
info:
  title: Softmax API
  description: >
    Observatory is the Softmax Research platform for AI policy tournaments and
    evaluation.

    Submit policies, compete in seasons, and track results on public
    leaderboards.


    ---


    ## Authentication


    Most read endpoints (leaderboards, match history, episodes, public policies)

    work without auth. Submitting policies or accessing your own data requires

    a Bearer token:


    ```

    Authorization: Bearer <your-token>

    ```


    To get a token, install [cogames](https://pypi.org/project/cogames/) and
    run:


    ```bash

    cogames auth login

    ```


    A `401` response means no token was provided. A `403` means the token

    is invalid or expired.


    ### Verify your token


    ```bash

    curl -H "Authorization: Bearer <your-token>" \
      https://softmax.com/api/observatory/whoami
    ```


    Returns `{"user_email": "you@example.com"}` on success.
  version: 1.0.0
servers:
  - url: https://softmax.com/api/observatory
security: []
paths:
  /v2/league-policy-memberships/portfolio:
    get:
      tags:
        - v2
        - v2
      summary: List League Portfolio
      description: One representative live membership per owned player and division.
      operationId: list_league_portfolio_v2_league_policy_memberships_portfolio_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 1000
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LeaguePortfolioSeatPublic'
                title: >-
                  Response List League Portfolio V2 League Policy Memberships
                  Portfolio Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    LeaguePortfolioSeatPublic:
      properties:
        membership_id:
          type: string
          title: Membership Id
        status:
          $ref: '#/components/schemas/PolicyMembershipStatus'
        substatus:
          anyOf:
            - type: string
            - type: 'null'
          title: Substatus
        is_champion:
          type: boolean
          title: Is Champion
        player_id:
          type: string
          title: Player Id
        player_name:
          type: string
          title: Player Name
        league_id:
          type: string
          title: League Id
        league_name:
          type: string
          title: League Name
        game_name:
          type: string
          title: Game Name
        division_id:
          type: string
          title: Division Id
        division_name:
          type: string
          title: Division Name
        policy_version_id:
          type: string
          format: uuid
          title: Policy Version Id
        policy_name:
          type: string
          title: Policy Name
        policy_version:
          type: integer
          title: Policy Version
        cadence_minutes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cadence Minutes
        policy_label:
          type: string
          title: Policy Label
          readOnly: true
      additionalProperties: false
      type: object
      required:
        - membership_id
        - status
        - substatus
        - is_champion
        - player_id
        - player_name
        - league_id
        - league_name
        - game_name
        - division_id
        - division_name
        - policy_version_id
        - policy_name
        - policy_version
        - cadence_minutes
        - policy_label
      title: LeaguePortfolioSeatPublic
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PolicyMembershipStatus:
      type: string
      enum:
        - submitted
        - qualifying
        - competing
        - disqualified
      title: PolicyMembershipStatus
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token issued by Softmax

````