> ## 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 Campaign Board



## OpenAPI

````yaml https://softmax.com/api/observatory/openapi.json get /v2/leagues/{league_id}/campaign
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/leagues/{league_id}/campaign:
    get:
      tags:
        - v2
        - v2
      summary: Get Campaign Board
      operationId: get_campaign_board_v2_leagues__league_id__campaign_get
      parameters:
        - name: league_id
          in: path
          required: true
          schema:
            type: string
            pattern: >-
              ^league_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            title: League Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CampaignBoardResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
        - {}
components:
  schemas:
    CampaignBoardResponse:
      properties:
        league_id:
          type: string
          title: League Id
        enabled:
          type: boolean
          title: Enabled
        config:
          additionalProperties: true
          type: object
          title: Config
        players:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Players
        viewer_player_ids:
          items:
            type: string
          type: array
          title: Viewer Player Ids
        map_refs:
          items:
            type: string
          type: array
          title: Map Refs
        modes:
          items:
            type: string
          type: array
          title: Modes
        map_seeds:
          items:
            anyOf:
              - type: integer
              - type: 'null'
          type: array
          title: Map Seeds
        map_sizes:
          items:
            anyOf:
              - type: string
              - type: 'null'
          type: array
          title: Map Sizes
        champions:
          items:
            anyOf:
              - type: integer
              - type: 'null'
          type: array
          title: Champions
        agents:
          items:
            anyOf:
              - type: integer
              - type: 'null'
          type: array
          title: Agents
        blob_ids:
          anyOf:
            - items:
                type: integer
              type: array
            - type: 'null'
          title: Blob Ids
        preview_urls:
          items:
            anyOf:
              - type: string
              - type: 'null'
          type: array
          title: Preview Urls
        round:
          type: integer
          title: Round
        frames:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Frames
        events:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Events
        pending_round:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Pending Round
        color_prefs:
          additionalProperties:
            type: integer
          type: object
          title: Color Prefs
        perks:
          additionalProperties:
            items:
              type: string
            type: array
          type: object
          title: Perks
      type: object
      required:
        - league_id
        - enabled
        - config
        - players
        - viewer_player_ids
        - map_refs
        - modes
        - map_seeds
        - map_sizes
        - champions
        - agents
        - preview_urls
        - round
        - frames
        - events
      title: CampaignBoardResponse
    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

````