knowledge
knowledge

Add File To Prompt Auto Collection

Add a file to a prompt's auto-collection. Creates the auto-collection if needed.

post/api/knowledge/prompts/{prompt_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/prompts/{prompt_id}/files
  • Auth: none declared

Path parameters

prompt_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.