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

> Search documents using hybrid search (full-text + semantic)



## OpenAPI

````yaml https://api.arcsolutionsteam.workers.dev/openapi post /api/v1/documents/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/documents/search:
    post:
      tags:
        - Documents
      summary: Search documents
      description: Search documents using hybrid search (full-text + semantic)
      operationId: postApiV1DocumentsSearch
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                query:
                  type: string
                language:
                  type: string
                page:
                  type: number
                  default: 1
                limit:
                  type: number
                  default: 10
              required:
                - query
      responses:
        '200':
          description: Documents retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                        title:
                          type: string
                        type:
                          type: string
                        uploadDate:
                          type: string
                        size:
                          type: string
                        quizCount:
                          type: number
                        processingStatus:
                          type: string
                          enum:
                            - pending
                            - extracting_text
                            - chunking
                            - embedding
                            - completed
                            - failed
                      required:
                        - id
                        - title
                        - type
                        - uploadDate
                        - size
                        - quizCount
                        - processingStatus
                  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

````