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

# Get Division Policy Leaderboard



## OpenAPI

````yaml https://softmax.com/api/observatory/openapi.json get /v2/divisions/{division_id}/policy-leaderboard
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/divisions/{division_id}/policy-leaderboard:
    get:
      tags:
        - v2
        - v2
      summary: Get Division Policy Leaderboard
      operationId: >-
        get_division_policy_leaderboard_v2_divisions__division_id__policy_leaderboard_get
      parameters:
        - name: division_id
          in: path
          required: true
          schema:
            type: string
            pattern: ^div_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            title: Division Id
        - name: window_minutes
          in: query
          required: false
          schema:
            type: integer
            default: 60
            title: Window Minutes
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                anyOf:
                  - type: array
                    items:
                      $ref: '#/components/schemas/PolicyLeaderboardEntryPublic'
                  - type: 'null'
                title: >-
                  Response Get Division Policy Leaderboard V2 Divisions 
                  Division Id  Policy Leaderboard Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    PolicyLeaderboardEntryPublic:
      properties:
        rank:
          type: integer
          title: Rank
        policy_version_id:
          type: string
          format: uuid
          title: Policy Version Id
        policy_label:
          type: string
          title: Policy Label
        player_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Player Id
        player_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Player Name
        score:
          type: number
          title: Score
        rounds_played:
          type: integer
          title: Rounds Played
        wins:
          type: integer
          title: Wins
        episodes_played:
          type: integer
          title: Episodes Played
        win_rate:
          type: number
          title: Win Rate
      type: object
      required:
        - rank
        - policy_version_id
        - policy_label
        - score
        - rounds_played
        - wins
        - episodes_played
        - win_rate
      title: PolicyLeaderboardEntryPublic
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````