Skip to Content
API referenceKnowledge

Update Folder

PUT
/api/v1/knowledge/folders/{folder_id}

Update a folder.

Required scope: knowledge:write

Authorization

headerAuthorizationBearer <luso8_sk_live_<40 characters>>

A workspace API key, sent as Authorization: Bearer <key>. Create keys in Settings → Developers → API keys.

Path Parameters

folder_id*Folder Id
Formatuuid

Request Body

application/json
  1. body
name?string|null
description?string|null
vector_db_config_id?|null
graph_db_config_id?|null
vector_db_config?|null
graph_db_config?|null
icon?string|null
color?string|null

Response Body

Successful Response

application/json
  1. response
name*Name
Lengthlength <= 255
description?string|null
knowledge_type*KnowledgeType
Value in"vector""graph""hybrid"
id*Id
Formatuuid
organization_id?|null
created_by?string|null
vector_db_config_id?|null
graph_db_config_id?|null
vector_db_config?|null
graph_db_config?|null
document_count?Document Count
Default0
total_chunks?Total Chunks
Default0
storage_bytes?Storage Bytes
Default0
icon?string|null
color?string|null
parent_folder_id?|null
created_at*Created At
Formatdate-time
updated_at?|null
Example Request
curl -X PUT 'https://api.luso8.rexplore.ai/api/v1/knowledge/folders/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "name": "string",  "description": "string",  "knowledge_type": "vector",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",  "created_by": "string",  "vector_db_config_id": "69948b1a-39c8-4029-8e7b-67f6f62671cb",  "graph_db_config_id": "59d1e608-223d-4239-806f-0a4779f86b7a",  "vector_db_config": {},  "graph_db_config": {},  "document_count": 0,  "total_chunks": 0,  "storage_bytes": 0,  "icon": "string",  "color": "string",  "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}