Knowledge Sources

Get Knowledge Source

Changed on

Fetch one knowledge source including its full text content and current revision number.

get/v1/agent/knowledge-sources/{source_id}

Request

  • Base URL
    https://api.fish.audio
  • URL
    https://api.fish.audio/v1/agent/knowledge-sources/{source_id}
  • Auth
    HTTP bearer

Path parameters

source_idstring required

Response

Request fulfilled, document follows

knowledge_source_idstring required
workspace_idstring required
namestring required
descriptionstring
file_namestring required
size_bytesinteger required
chunk_countinteger required
revision_numberinteger required

Increments every time the content is replaced. Drafts always use the newest revision; published versions pin the revision current at publish time.

created_atstring date-time required
updated_atstring date-time required
contentstring required

The full current text content.

Changes