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

# Search user's quiz history

> Search user's quiz history with optional filtering



## OpenAPI

````yaml https://api.arcsolutionsteam.workers.dev/openapi post /api/v1/history/search
openapi: 3.1.0
info:
  title: IntelliQ API
  description: API for IntelliQ
  version: 2.0.0
servers:
  - url: http://localhost:8787
    description: Local server
  - url: https://app.intelliq.dev
    description: Production server
security: []
paths:
  /api/v1/history/search:
    post:
      tags:
        - History
      summary: Search user's quiz history
      description: Search user's quiz history with optional filtering
      operationId: postApiV1HistorySearch
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                page:
                  type: number
                  default: 1
                limit:
                  type: number
                  default: 10
              required:
                - query
      responses:
        '200':
          description: Quiz history retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      oneOf:
                        - type: object
                          properties:
                            id:
                              type: string
                            title:
                              type: string
                            date:
                              type: string
                            score:
                              type:
                                - number
                                - 'null'
                            correct:
                              type:
                                - number
                                - 'null'
                            incorrect:
                              type:
                                - number
                                - 'null'
                            type:
                              type: string
                              const: singleplayer
                            isBookmarked:
                              type: boolean
                            totalTime:
                              type: string
                            passed:
                              type: boolean
                            multiplayerScore:
                              type:
                                - number
                                - 'null'
                            multiplayerCorrect:
                              type:
                                - number
                                - 'null'
                          required:
                            - id
                            - title
                            - date
                            - score
                            - correct
                            - incorrect
                            - type
                            - isBookmarked
                            - totalTime
                            - multiplayerScore
                            - multiplayerCorrect
                        - type: object
                          properties:
                            id:
                              type: string
                            title:
                              type: string
                            date:
                              type: string
                            score:
                              type:
                                - number
                                - 'null'
                            correct:
                              type:
                                - number
                                - 'null'
                            incorrect:
                              type:
                                - number
                                - 'null'
                            type:
                              type: string
                              const: document
                            isBookmarked:
                              type: boolean
                            totalTime:
                              type: string
                            passed:
                              type: boolean
                          required:
                            - id
                            - title
                            - date
                            - score
                            - correct
                            - incorrect
                            - type
                            - isBookmarked
                            - totalTime
                        - type: object
                          properties:
                            id:
                              type: string
                            title:
                              type: string
                            date:
                              type: string
                            score:
                              type:
                                - number
                                - 'null'
                            correct:
                              type:
                                - number
                                - 'null'
                            incorrect:
                              type:
                                - number
                                - 'null'
                            type:
                              type: string
                              const: multiplayer
                            isBookmarked:
                              type: boolean
                            roomId:
                              type:
                                - string
                                - 'null'
                          required:
                            - id
                            - title
                            - date
                            - score
                            - correct
                            - incorrect
                            - type
                            - isBookmarked
                            - roomId
                  pagination:
                    type: object
                    properties:
                      page:
                        type: number
                      limit:
                        type: number
                      totalItems:
                        type: number
                      totalPages:
                        type: number
                      hasNextPage:
                        type: boolean
                      hasPreviousPage:
                        type: boolean
                    required:
                      - page
                      - limit
                      - totalItems
                      - totalPages
                      - hasNextPage
                      - hasPreviousPage
                required:
                  - data
                  - pagination

````