Skip to main content
PUT
File knowledge documents in a folder

Authorizations

Authorization
string
header
required

API key starting with sk_. Generate one in Settings > API Keys.

Path Parameters

workspaceId
string
required

Workspace ID.

Body

application/json
knowledgeDocumentIds
string[]
required

IDs of the documents to file, 1 to 100.

Required array length: 1 - 100 elements
knowledgeFolderId
string | null
required

Target folder ID, or null for General.

Response

204 - application/json
enum<string> | null

Default Response

Available options:
null