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

# Purge Custom Extractor Findings

> Retire every finding a custom extractor has produced, keeping the extractor itself. Use this to clear the output of an extractor that ran with the wrong criteria before re-running custom-extractor/backfill/start against the corrected definition. Requires the custom-extractors entitlement.



## OpenAPI

````yaml post /api/v2/custom-extractor/purge-findings
openapi: 3.0.0
info:
  version: 5.4.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/custom-extractor/purge-findings:
    post:
      tags:
        - Custom Extractors
      summary: Purge Custom Extractor Findings
      description: >-
        Retire every finding a custom extractor has produced, keeping the
        extractor itself. Use this to clear the output of an extractor that ran
        with the wrong criteria before re-running
        custom-extractor/backfill/start against the corrected definition.
        Requires the custom-extractors entitlement.
      operationId: purgeCustomExtractorFindings
      requestBody:
        description: The extractor whose findings to clear
        content:
          application/json:
            schema:
              type: object
              properties:
                oId:
                  type: string
                  minLength: 1
              required:
                - oId
      responses:
        '200':
          description: How many findings were retired
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    $ref: '#/components/schemas/CustomExtractorFindingPurge'
                required:
                  - _metadata
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  message:
                    type: string
                required:
                  - _metadata
                  - message
        '404':
          description: Extractor not found
          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
    CustomExtractorFindingPurge:
      type: object
      nullable: true
      properties:
        oId:
          type: string
        name:
          type: string
        findingsDeleted:
          type: number
      required:
        - oId
        - name
        - findingsDeleted
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````