Skip to main content
POST
/
v1
/
api
/
stores
/
{store_id}
/
document_loaders
Create Document Loader
curl --request POST \
  --url https://dev-knowledge-store.actualize.ae/v1/api/stores/{store_id}/document_loaders \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "documentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "parser": {
    "name": "<string>",
    "parserType": "pdf",
    "config": {}
  },
  "splitter": {
    "name": "<string>",
    "config": {}
  }
}
'
"<any>"

Path Parameters

store_id
string<uuid>
required

Body

application/json

Request payload to create a new document loader.

name
string
required

Name for the document loader.

Minimum length: 1
description
string
required

Description of the document loader.

Minimum length: 10
documentId
string<uuid>
required

The ID of the document this document loader will load.

parser
object
required

The loader that will load the document associated with this document loader, with its configuration.

splitter
object
required

The text splitter that will split the document, along with its required configuration.

Response

Successful Response

The response is of type any.