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

# Process a document

> Process a document



## OpenAPI

````yaml https://api.arcsolutionsteam.workers.dev/openapi post /api/v1/admin/documents/process
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/admin/documents/process:
    post:
      tags:
        - Documents
      summary: Process a document
      description: Process a document
      operationId: postApiV1AdminDocumentsProcess
      responses:
        '200':
          description: Document processed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  documentId:
                    type: number
                  pageCount:
                    type: number
                  textLength:
                    type: number
                  chunkCount:
                    type: number
                  embeddingType:
                    type: string
                required:
                  - success
                  - message
                  - documentId
                  - pageCount
                  - textLength
                  - chunkCount
                  - embeddingType

````