cURL
Files
Create Directory
Create a virtual directory in the knowledge base
POST
cURL
Folders appear in file listings with
content_type set to application/vnd.timbal.k2-directory. Creating a folder that already exists is idempotent and returns 200.
Folders and files share the same namespace: creating folder reports under docs/ returns 409 if a file named reports already exists there.Authorizations
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Body
application/json
Folder path, same format as the directory field on file upload (e.g. docs/reports).