knowledge
knowledge

Add File To Collection

Add a file to a collection.

post/api/knowledge/collections/{collection_id}/files

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/knowledge/collections/{collection_id}/files
  • Auth: none declared

Path parameters

collection_idinteger required

Request body

file_idinteger required
priorityinteger

Response

Successful Response

file_idinteger required
titlestring nullable
original_filenamestring nullable
mime_typestring nullable
byte_sizeinteger nullable
statusstring required
chunk_countinteger
priorityinteger
is_enabledboolean
is_pinnedboolean
added_atstring date-time required
thumbnail_urlstring nullable
web_urlstring nullable

Changes

No recorded changes to this operation across all 5 revisions of this API.