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

# Generate Dataset Compliance Report



## OpenAPI

````yaml /api-reference/openapi.json post /api/datasets/{dataset_id}/compliance-report
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: []
tags:
  - name: Authentication
  - name: Single sign-on
  - name: Social sign-in
  - name: SCIM provisioning
  - name: Projects
  - name: Datasets
  - name: Uploads and imports
  - name: Scans
  - name: Schedules
  - name: Healing
  - name: RAG corpora
  - name: Custom rules
  - name: Playground
  - name: Search and activity
  - name: Apps
  - name: Devices and agents
  - name: Discovery
  - name: DLP policy
  - name: DLP installation
  - name: Compliance
  - name: Audit trail
  - name: Reports
  - name: Export templates
  - name: Workspaces
  - name: Users
  - name: Invitations
  - name: API keys
  - name: Settings
  - name: Directory sync
  - name: Integrations
  - name: Pending actions
  - name: License
  - name: Onboarding
  - name: Support
  - name: Platform operations
  - name: Webhooks
paths:
  /api/datasets/{dataset_id}/compliance-report:
    post:
      tags:
        - Datasets
      summary: Generate Dataset Compliance Report
      operationId: >-
        generate_dataset_compliance_report_api_datasets__dataset_id__compliance_report_post
      parameters:
        - name: dataset_id
          in: path
          required: true
          schema:
            type: string
            title: Dataset Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ComplianceReportRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplianceReportResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ComplianceReportRequest:
      properties:
        format:
          $ref: '#/components/schemas/ComplianceReportFormat'
        depth:
          $ref: '#/components/schemas/ComplianceReportDepth'
        compliance_standard:
          $ref: '#/components/schemas/ComplianceStandard'
        time_range:
          anyOf:
            - $ref: '#/components/schemas/ComplianceTimeRange'
            - type: 'null'
      additionalProperties: false
      type: object
      required:
        - format
        - depth
        - compliance_standard
      title: ComplianceReportRequest
    ComplianceReportResponse:
      properties:
        report_id:
          type: string
          title: Report Id
        dataset_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Dataset Id
        dataset_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Dataset Name
        format:
          $ref: '#/components/schemas/ComplianceReportFormat'
        depth:
          $ref: '#/components/schemas/ComplianceReportDepth'
        compliance_standard:
          $ref: '#/components/schemas/ComplianceStandard'
        status:
          type: string
          enum:
            - queued
            - ready
          title: Status
        generated_at:
          type: string
          format: date-time
          title: Generated At
        time_range:
          $ref: '#/components/schemas/ComplianceTimeRange'
        bytes_estimate:
          type: integer
          title: Bytes Estimate
          default: 0
        download_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Download Url
        preview:
          additionalProperties: true
          type: object
          title: Preview
      type: object
      required:
        - report_id
        - format
        - depth
        - compliance_standard
        - status
        - generated_at
        - time_range
      title: ComplianceReportResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ComplianceReportFormat:
      type: string
      enum:
        - json
        - pdf
        - csv
      title: ComplianceReportFormat
    ComplianceReportDepth:
      type: string
      enum:
        - summary
        - detailed
        - exhaustive
      title: ComplianceReportDepth
    ComplianceStandard:
      type: string
      enum:
        - soc2
        - iso27001
        - hipaa
        - gdpr
        - fadp
        - eu_ai_act
      title: ComplianceStandard
    ComplianceTimeRange:
      properties:
        start:
          type: string
          format: date-time
          title: Start
        end:
          type: string
          format: date-time
          title: End
      type: object
      required:
        - start
        - end
      title: ComplianceTimeRange
    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

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.