Skip to main content
POST
Create Text Document

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Body

application/json
text
string
required

Text content to be added to the knowledge base.

name
string | null

A custom, human-readable name for the document.

Minimum string length: 1
parent_folder_id
string | null

If set, the created document or folder will be placed inside the given folder.

Response

Successful Response

id
string
required
name
string
required
folder_path
KnowledgeBaseFolderPathSegmentSummaryResponseModel · object[]

The folder path segments leading to this entity, from root to parent folder.