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

# Save Hypotheses

> Persist a set of hypothesized bias correlations against a session.

Hypotheses survive session lifetime and are auto-promoted to
ShortcutClassGuidance records when the session is published with a
`carry_hypotheses=true` flag.



## OpenAPI

````yaml /api-reference/openapi.json post /api/playground/sessions/{session_id}/hypotheses
openapi: 3.1.0
info:
  title: Blindsight API
  version: 0.1.0
servers: []
security: []
paths:
  /api/playground/sessions/{session_id}/hypotheses:
    post:
      tags:
        - playground-integrations
      summary: Save Hypotheses
      description: |-
        Persist a set of hypothesized bias correlations against a session.

        Hypotheses survive session lifetime and are auto-promoted to
        ShortcutClassGuidance records when the session is published with a
        `carry_hypotheses=true` flag.
      operationId: save_hypotheses_api_playground_sessions__session_id__hypotheses_post
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
        - name: blindsight_session
          in: cookie
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Blindsight Session
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SaveHypothesesRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SaveHypothesesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    SaveHypothesesRequest:
      properties:
        hypotheses:
          items:
            $ref: '#/components/schemas/HypothesisDraft'
          type: array
          maxItems: 100
          minItems: 1
          title: Hypotheses
      type: object
      required:
        - hypotheses
      title: SaveHypothesesRequest
    SaveHypothesesResponse:
      properties:
        session_id:
          type: string
          title: Session Id
        saved:
          type: integer
          title: Saved
        hypothesis_ids:
          items:
            type: string
          type: array
          title: Hypothesis Ids
      type: object
      required:
        - session_id
        - saved
        - hypothesis_ids
      title: SaveHypothesesResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    HypothesisDraft:
      properties:
        protected_column:
          type: string
          title: Protected Column
        target_column:
          type: string
          title: Target Column
        target_class:
          anyOf:
            - type: string
            - type: 'null'
          title: Target Class
        association:
          anyOf:
            - type: number
            - type: 'null'
          title: Association
        note:
          anyOf:
            - type: string
            - type: 'null'
          title: Note
      type: object
      required:
        - protected_column
        - target_column
      title: HypothesisDraft
    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
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````