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

# Create Document

Add a new document to a specific data lake database.


## OpenAPI

````yaml POST /api/v1/datalake/{source}/databases/{db}/documents
openapi: 3.1.0
info:
  title: WaveCentric AI LooP API
  description: >-
    Comprehensive API for managing omnichannel logistics, inquiries, tasks, and
    data lake operations.
  version: 1.0.0
servers:
  - url: https://ai-loop.alpeadria.com
    description: Production server
security: []
paths:
  /api/v1/datalake/{source}/databases/{db}/documents:
    post:
      tags:
        - Data Lake
      summary: Create document
      operationId: post-datalake-documents
      parameters:
        - name: source
          in: path
          required: true
          schema:
            type: string
        - name: db
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '201':
          description: Document created successfully.
          content:
            application/json:
              schema:
                type: object
              examples:
                success:
                  value:
                    _id: 60d5ecb31f3f4a0015f8a0a1
                    field1: value1
                    field2: value2
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````