Get Knowledge Base Settings
Returns the knowledge base’s embedding model, retrieval settings, readiness, and the revision to send in Update Knowledge Base Settings.
For when models can be set over the API, see Change Models or Retrieval Settings.
Authorization
Path parameters
…/knowledge-fs/spaces/<knowledge base ID>), and the segment after /datasets/new/ in the address bar.Responses
true when both an embedding model and retrieval settings are live, which happens after the first document is indexed.null until the first document is indexed. Once a profile is active, a change through Update Knowledge Base Settings runs as a migration.Readiness of the published settings. Three flags stand for retrieval depths, with query standing for fast.
To check readiness for a specific depth, send that depth explicitly as mode and check its flag. Do not use a pending retrieval.default_mode to identify the depth of a query that omits mode.
active when an embedding model and complete retrieval settings (with an enabled rerank model) are stored. setup-required when either is missing. validation-failed when the pending settings failed validation while the first document was indexed. issues names the settings that failed.Embedding model. The pending selection when one is stored, otherwise the live model. A pending selection can differ from the model queries use now. null when none is set.
Its dimension, revision, and vector_space_id are informational, and no operation takes them.
null when none is set.expectedRevision in Update Knowledge Base Settings. The other revision fields in this response are not that value.