Skip to main content
POST
Create File 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

multipart/form-data
file
file
required

Documentation that the agent will have access to in order to interact with users.

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.