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

# Get all events based on filters



## OpenAPI

````yaml /openapi-components.json get /api/v1/usage-analyst/events
openapi: 3.0.0
info:
  title: StudyFetch API
  description: API documentation for StudyFetch
  version: '1.0'
  contact: {}
servers:
  - url: https://studyfetchapi.com
    description: Production API Server
security: []
tags: []
paths:
  /api/v1/usage-analyst/events:
    get:
      tags:
        - Usage Analyst
      summary: Get all events based on filters
      operationId: getAllEvents
      parameters:
        - name: eventType
          required: true
          in: query
          description: Type of usage event to filter
          schema:
            enum:
              - material_created
              - material_uploaded
              - material_processed
              - material_deleted
              - component_created
              - component_accessed
              - component_deleted
              - component_usage
              - chat_message_sent
              - chat_session_started
              - chat_session_ended
              - chat_feedback
              - test_created
              - test_started
              - test_completed
              - test_question_answered
              - test_retaken
              - audio_recap_create
              - assignment_grader_create
              - api_call
              - cache_hit
              - sso_login
              - sso_logout
              - student_performance
            type: string
        - name: startDate
          required: true
          in: query
          description: Start date for filtering (ISO 8601)
          schema:
            type: string
        - name: endDate
          required: true
          in: query
          description: End date for filtering (ISO 8601)
          schema:
            type: string
        - name: userIds
          required: false
          in: query
          description: Array of user IDs to filter
          schema:
            example:
              - user123
              - user456
            type: array
            items:
              type: string
        - name: groupIds
          required: false
          in: query
          description: Array of group IDs to filter
          schema:
            example:
              - class-101
              - class-102
            type: array
            items:
              type: string
      responses:
        '200':
          description: Events retrieved successfully
      security:
        - x-api-key: []
components:
  securitySchemes:
    x-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API Key for server-to-server authentication. Resolves to the owning
        organization.

````