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

# Cancel Reporter Run



## OpenAPI

````yaml https://softmax.com/api/observatory/openapi.json post /v2/reporters/runs/{reporter_run_id}/cancel
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/{reporter_run_id}/cancel:
    post:
      tags:
        - v2
        - v2
      summary: Cancel Reporter Run
      operationId: cancel_reporter_run_v2_reporters_runs__reporter_run_id__cancel_post
      parameters:
        - name: reporter_run_id
          in: path
          required: true
          schema:
            type: string
            pattern: >-
              ^rrun_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
            title: Reporter Run Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReporterRunResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - BearerAuth: []
components:
  schemas:
    ReporterRunResponse:
      properties:
        id:
          type: string
          title: Id
        status:
          $ref: '#/components/schemas/ReporterRunStatus'
        reporter_version_id:
          type: string
          title: Reporter Version Id
        subject:
          additionalProperties: true
          type: object
          title: Subject
        status_url:
          type: string
          title: Status Url
        output_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Output Url
        trace_url:
          type: string
          title: Trace Url
        usage:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Usage
        output_parts:
          anyOf:
            - items:
                $ref: '#/components/schemas/ReporterOutputPublic'
              type: array
            - type: 'null'
          title: Output Parts
        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
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
      type: object
      required:
        - id
        - status
        - reporter_version_id
        - subject
        - status_url
        - output_url
        - trace_url
        - usage
        - output_parts
        - created_at
        - running_at
        - completed_at
        - error
      title: ReporterRunResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ReporterRunStatus:
      type: string
      enum:
        - pending
        - running
        - completed
        - failed
        - cancelled
      title: ReporterRunStatus
    ReporterOutputPublic:
      properties:
        id:
          type: string
          title: Id
        reporter_id:
          type: string
          title: Reporter Id
        reporter_run_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Reporter Run Id
        name:
          type: string
          title: Name
        type:
          type: string
          title: Type
        size_bytes:
          type: integer
          title: Size Bytes
        content_hash:
          type: string
          title: Content Hash
        media_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Media Type
        created_at:
          type: string
          format: date-time
          title: Created At
        url:
          type: string
          title: Url
      type: object
      required:
        - id
        - reporter_id
        - reporter_run_id
        - name
        - type
        - size_bytes
        - content_hash
        - media_type
        - created_at
        - url
      title: ReporterOutputPublic
    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

````