Update a Knowledge Source
Updates a knowledge source.
title, description, or the content, sourceUrl, or blobPath it points at.
indexStatus on the response.Authorizations
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Path Parameters
The ID of the knowledge source.
Body
The knowledge source details to save.
Request model for creating or updating a knowledge source.
The title of the knowledge source.
The description of what the knowledge source covers.
Where the content comes from: text you send, an uploaded file, or a URL.
0, 1, 2, 3, 4, 5 The text of the knowledge source, when the content is sent inline.
The path returned by Upload a Knowledge Source File, when the content comes from a file.
The URL to index, when the content comes from a website.
Response
OK
Response model for a knowledge source.
The unique identifier of the knowledge source.
The title of the knowledge source.
The description of what the knowledge source covers.
Where the content comes from: text you send, an uploaded file, or a URL.
0, 1, 2, 3, 4, 5 The text of the knowledge source, when the content is sent inline.
The path returned by Upload a Knowledge Source File, when the content comes from a file.
The URL to index, when the content comes from a website.
How far along indexing the source is, such as Pending, Indexed, or Failed.
0, 1, 2 The UTC date and time the source was last indexed.
The reason indexing failed, when indexStatus is a failure.
Whether the knowledge source is active and used for generation.
The UTC date and time the knowledge source was created.
The UTC date and time the knowledge source was last modified.