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

# Recompute Opportunity Watch

> Manually trigger an Opportunity Watch regeneration run for one enrolled deal, right now — bypassing the normal schedule sweep and evidence-volume gate. Queues the run asynchronously; poll Get Opportunity Watch Detail afterward for the refreshed outputs. Fails if the opportunity isn't enrolled in Opportunity Watch, or is currently excluded.



## OpenAPI

````yaml post /api/v2/opportunity-watch/recompute
openapi: 3.0.0
info:
  version: 5.1.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/opportunity-watch/recompute:
    post:
      tags:
        - Opportunity Watch
      summary: Recompute Opportunity Watch
      description: >-
        Manually trigger an Opportunity Watch regeneration run for one enrolled
        deal, right now — bypassing the normal schedule sweep and
        evidence-volume gate. Queues the run asynchronously; poll Get
        Opportunity Watch Detail afterward for the refreshed outputs. Fails if
        the opportunity isn't enrolled in Opportunity Watch, or is currently
        excluded.
      operationId: recomputeOpportunity
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                opportunityOId:
                  type: string
                  description: >-
                    The oId of a CRM opportunity currently enrolled in
                    Opportunity Watch.
              required:
                - opportunityOId
      responses:
        '200':
          description: Recompute published
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: object
                    properties:
                      published:
                        type: boolean
                        description: >-
                          Whether the recompute job was published. The run
                          happens asynchronously — poll Get Opportunity Watch
                          Detail afterward for the refreshed outputs.
                    required:
                      - published
                required:
                  - _metadata
                  - data
        '400':
          description: Bad request — opportunity not enrolled or excluded
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
        '404':
          description: Opportunity is not enrolled in Opportunity Watch
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
      deprecated: false
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          example: 0
          description: API usage
        requestId:
          type: string
          example: requestId
          description: Request ID
        message:
          type: string
          example: message
          description: Message
        timestamp:
          type: string
          example: '2021-01-01T00:00:00.000Z'
          description: Timestamp
      required:
        - requestId
        - timestamp
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````