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

# Search Reporter Runs

> Search reporter-run metadata without exposing principals, params, raw errors, traces, or report bodies.



## OpenAPI

````yaml https://softmax.com/api/observatory/openapi.json post /v2/reporters/runs/search
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/reporters/runs/search:
    post:
      tags:
        - v2
        - v2
      summary: Search Reporter Runs
      description: >-
        Search reporter-run metadata without exposing principals, params, raw
        errors, traces, or report bodies.
      operationId: search_reporter_runs_v2_reporters_runs_search_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReporterRunSearchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReporterRunSearchResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    ReporterRunSearchRequest:
      properties:
        scope:
          type: string
          enum:
            - mine
            - all
          title: Scope
          default: mine
        audit_reason:
          anyOf:
            - type: string
              maxLength: 500
            - type: 'null'
          title: Audit Reason
        query:
          anyOf:
            - type: string
              maxLength: 500
              minLength: 1
            - type: 'null'
          title: Query
        where:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Where
        include:
          items:
            type: string
            enum:
              - usage
              - outputs
              - subject
          type: array
          uniqueItems: true
          title: Include
        page:
          $ref: '#/components/schemas/ReporterRunSearchPage'
        include_total:
          type: boolean
          title: Include Total
          default: false
      additionalProperties: false
      type: object
      title: ReporterRunSearchRequest
    ReporterRunSearchResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ReporterRunSearchItem'
          type: array
          title: Items
        page:
          $ref: '#/components/schemas/ReporterRunSearchPageResponse'
        total_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Count
      type: object
      required:
        - items
        - page
        - total_count
      title: ReporterRunSearchResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ReporterRunSearchPage:
      properties:
        size:
          type: integer
          maximum: 100
          minimum: 1
          title: Size
          default: 20
        cursor:
          anyOf:
            - type: string
              maxLength: 4096
            - type: 'null'
          title: Cursor
      additionalProperties: false
      type: object
      title: ReporterRunSearchPage
    ReporterRunSearchItem:
      properties:
        id:
          type: string
          title: Id
        status:
          $ref: '#/components/schemas/ReporterRunStatus'
        reporter:
          $ref: '#/components/schemas/ReporterRunSearchReporter'
        subject_summary:
          additionalProperties: true
          type: object
          title: Subject Summary
        subject:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Subject
        binding:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Binding
        publish_post:
          type: boolean
          title: Publish Post
        usage:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Usage
        outputs:
          anyOf:
            - items:
                $ref: '#/components/schemas/ReporterRunSearchOutput'
              type: array
            - type: 'null'
          title: Outputs
        matched_outputs:
          items:
            $ref: '#/components/schemas/ReporterRunSearchOutput'
          type: array
          title: Matched Outputs
        created_at:
          type: string
          format: date-time
          title: Created At
        running_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Running At
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
        has_error:
          type: boolean
          title: Has Error
      type: object
      required:
        - id
        - status
        - reporter
        - subject_summary
        - binding
        - publish_post
        - matched_outputs
        - created_at
        - running_at
        - completed_at
        - has_error
      title: ReporterRunSearchItem
    ReporterRunSearchPageResponse:
      properties:
        size:
          type: integer
          title: Size
        has_next_page:
          type: boolean
          title: Has Next Page
        end_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: End Cursor
      type: object
      required:
        - size
        - has_next_page
        - end_cursor
      title: ReporterRunSearchPageResponse
    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
    ReporterRunStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
        - cancelled
      title: ReporterRunStatus
    ReporterRunSearchReporter:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        display_name:
          type: string
          title: Display Name
        version_id:
          type: string
          title: Version Id
        version:
          type: integer
          title: Version
      type: object
      required:
        - id
        - name
        - display_name
        - version_id
        - version
      title: ReporterRunSearchReporter
    ReporterRunSearchOutput:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        type:
          type: string
          title: Type
        size_bytes:
          type: integer
          title: Size Bytes
        media_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Media Type
        url:
          type: string
          title: Url
      type: object
      required:
        - id
        - name
        - type
        - size_bytes
        - media_type
        - url
      title: ReporterRunSearchOutput
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token issued by Softmax

````