Skip to main content
POST
/
knowledgeSource
/
filesConnector
/
folders
Create a folder
curl --request POST \
  --url https://demo.enneo.ai/api/mind/knowledgeSource/filesConnector/folders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Sales",
  "parentId": 10
}
'
{
  "success": true,
  "id": 11,
  "created": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.enneo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT-based authentication

Body

application/json
name
string
required

Folder display name

Example:

"Sales"

parentId
integer

Parent folder structure ID. Defaults to the connector root.

Example:

10

Response

Folder ensured (created or already existed)

success
boolean
Example:

true

id
integer

ID of the folder row (newly created or pre-existing)

Example:

11

created
boolean

True when a new folder row was inserted; false when a same-name folder already existed under the same parent and is being returned idempotently.

Example:

true