Skip to main content
POST
/
v1
/
knowledge
/
folders
Crear una carpeta en la base de conocimientos.
curl --request POST \
  --url https://api.keebai.com/v1/knowledge/folders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "Soporte",
  "parent_id": "<string>"
}
'
{
  "id": "<string>",
  "title": "<string>",
  "position": 123,
  "path_cache": "<string>",
  "parent_id": {},
  "created_at": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Body

application/json
title
string
required

Título de la carpeta.

Maximum string length: 200
Example:

"Soporte"

parent_id
string

ObjectId de la carpeta padre. Omitir para crear en la raíz.

Response

201 - application/json
id
string
required
title
string
required
node_type
enum<string>
required
Available options:
folder,
document
position
number
required
path_cache
string
required
parent_id
object
created_at
string
updated_at
string