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

# Set Compliance Frameworks

> Replace the workspace's framework selection (admin only).



## OpenAPI

````yaml /api-reference/openapi.json put /api/compliance/frameworks
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/compliance/frameworks:
    put:
      tags:
        - compliance
      summary: Set Compliance Frameworks
      description: Replace the workspace's framework selection (admin only).
      operationId: set_compliance_frameworks_api_compliance_frameworks_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComplianceFrameworksUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplianceFrameworksRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ComplianceFrameworksUpdate:
      properties:
        frameworks:
          items:
            $ref: '#/components/schemas/ComplianceStandard'
          type: array
          maxItems: 16
          title: Frameworks
      additionalProperties: false
      type: object
      title: ComplianceFrameworksUpdate
      description: Replace the workspace's framework selection (empty list clears it).
    ComplianceFrameworksRead:
      properties:
        frameworks:
          items:
            type: string
          type: array
          title: Frameworks
        available:
          items:
            $ref: '#/components/schemas/ComplianceFrameworkInfo'
          type: array
          title: Available
      type: object
      required:
        - frameworks
        - available
      title: ComplianceFrameworksRead
      description: The workspace's selected frameworks plus the full catalog.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ComplianceStandard:
      type: string
      enum:
        - soc2
        - iso27001
        - hipaa
        - gdpr
        - fadp
        - eu_ai_act
      title: ComplianceStandard
    ComplianceFrameworkInfo:
      properties:
        id:
          type: string
          title: Id
        label:
          type: string
          title: Label
        baseline:
          type: string
          title: Baseline
        applicability:
          type: string
          title: Applicability
          default: ''
      type: object
      required:
        - id
        - label
        - baseline
      title: ComplianceFrameworkInfo
      description: One selectable reporting standard (id matches ComplianceStandard).
    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

````