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

# Check Document Processing Status

> Checks the processing status of a website document. This endpoint is useful for monitoring
the progress of website crawling and vectorization.



## OpenAPI

````yaml /api-reference/openapi.json get /v2/knowledge-bases/{kb_id}/documents/{document_id}/status
openapi: 3.1.0
info:
  title: Verbex Platform API
  description: API for managing AI agents, calls, phone numbers, and more.
  version: 1.0.0
servers: []
security: []
paths:
  /v2/knowledge-bases/{kb_id}/documents/{document_id}/status:
    get:
      tags:
        - Knowledge Bases v2
      summary: Check Document Processing Status
      description: >-
        Checks the processing status of a website document. This endpoint is
        useful for monitoring

        the progress of website crawling and vectorization.
      operationId: >-
        check_document_processing_status_v2_knowledge_bases__kb_id__documents__document_id__status_get
      parameters:
        - name: kb_id
          in: path
          required: true
          schema:
            type: string
            title: Kb Id
        - name: document_id
          in: path
          required: true
          schema:
            type: string
            title: Document Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProcessingStatus'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ProcessingStatus:
      properties:
        status:
          type: string
          enum:
            - processing
            - completed
            - failed
          title: Status
          description: >-
            Current status of document processing: 'processing' while in
            progress, 'completed' when finished successfully, or 'failed' on
            error.
        message:
          anyOf:
            - type: string
            - type: 'null'
          title: Message
          description: >-
            Optional message providing more details about the current processing
            status or any errors encountered.
        document_ids:
          items:
            type: string
          type: array
          title: Document Ids
          description: List of document IDs that were processed or are being processed.
          default: []
      type: object
      required:
        - status
      title: ProcessingStatus
      description: Model for document processing status.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````