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

# Get Filter Contract

> Retrieval-time filter contract the customer must enforce for quarantine.

Quarantine only excludes a document from Blindsight's *own* reads. A vector
store that ignores metadata on unfiltered queries (Pinecone) still returns
quarantined vectors to the customer's application queries unless those
queries carry the exclude filter. This returns, per write-capable
vector-store source, the exact filter + a copy-paste retrieval snippet so the
customer's retrieval path actually enforces quarantine.



## OpenAPI

````yaml /api-reference/openapi.json get /api/rag-corpus/{corpus_uuid}/filter-contract
openapi: 3.1.0
info:
  title: Blindsight API
  version: 0.1.0
  description: >-
    The full Blindsight REST surface, generated from the running application.
    Replace the server host with your own deployment.


    For the Runtime Security integration surface (scan, proxy, tool calls) see
    the Runtime Security spec, which is hand written and carries worked
    examples.
servers:
  - url: https://api.your-blindsight.com
    description: Your Blindsight deployment
security: []
paths:
  /api/rag-corpus/{corpus_uuid}/filter-contract:
    get:
      tags:
        - rag-corpus
      summary: Get Filter Contract
      description: >-
        Retrieval-time filter contract the customer must enforce for quarantine.


        Quarantine only excludes a document from Blindsight's *own* reads. A
        vector

        store that ignores metadata on unfiltered queries (Pinecone) still
        returns

        quarantined vectors to the customer's application queries unless those

        queries carry the exclude filter. This returns, per write-capable

        vector-store source, the exact filter + a copy-paste retrieval snippet
        so the

        customer's retrieval path actually enforces quarantine.
      operationId: get_filter_contract_api_rag_corpus__corpus_uuid__filter_contract_get
      parameters:
        - name: corpus_uuid
          in: path
          required: true
          schema:
            type: string
            title: Corpus Uuid
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: >-
                  Response Get Filter Contract Api Rag Corpus  Corpus Uuid 
                  Filter Contract Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````