> ## 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 Compliance Activity Timeline



## OpenAPI

````yaml /api-reference/openapi.json get /api/compliance/activity-timeline
openapi: 3.1.0
info:
  title: Blindsight API
  version: 0.1.0
servers: []
security: []
paths:
  /api/compliance/activity-timeline:
    get:
      tags:
        - compliance
      summary: Get Compliance Activity Timeline
      operationId: get_compliance_activity_timeline_api_compliance_activity_timeline_get
      parameters:
        - name: dataset_ids
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: >-
              Optional dataset UUIDs to scope the timeline to a subset of
              datasets.
            title: Dataset Ids
          description: >-
            Optional dataset UUIDs to scope the timeline to a subset of
            datasets.
        - name: domain_start
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: >-
              Optional ISO timestamp marking the beginning of the timeline
              domain.
            title: Domain Start
          description: Optional ISO timestamp marking the beginning of the timeline domain.
        - name: domain_end
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: Optional ISO timestamp marking the end of the timeline domain.
            title: Domain End
          description: Optional ISO timestamp marking the end of the timeline domain.
        - name: timezone
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: IANA timezone name used to bucket events by local day.
            default: UTC
            title: Timezone
          description: IANA timezone name used to bucket events by local day.
        - 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
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplianceActivityTimelineResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ComplianceActivityTimelineResponse:
      properties:
        generated_at:
          type: string
          format: date-time
          title: Generated At
        timezone:
          type: string
          title: Timezone
        domain_start:
          type: string
          format: date-time
          title: Domain Start
        domain_end:
          type: string
          format: date-time
          title: Domain End
        days:
          items:
            $ref: '#/components/schemas/ComplianceActivityTimelineDay'
          type: array
          title: Days
      type: object
      required:
        - generated_at
        - timezone
        - domain_start
        - domain_end
      title: ComplianceActivityTimelineResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ComplianceActivityTimelineDay:
      properties:
        date:
          type: string
          title: Date
        highest_severity:
          type: string
          enum:
            - critical
            - high
            - medium
            - low
            - none
          title: Highest Severity
          default: none
        critical_count:
          type: integer
          title: Critical Count
          default: 0
        high_count:
          type: integer
          title: High Count
          default: 0
        total_count:
          type: integer
          title: Total Count
          default: 0
        affected_dataset_count:
          type: integer
          title: Affected Dataset Count
          default: 0
      type: object
      required:
        - date
      title: ComplianceActivityTimelineDay
    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

````