Update a knowledge source
Update a knowledge source
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
id of the knowledge source to update
Request
This endpoint expects an object.
external_id
A unique identifier for the knowledge source
name
The name of the knowledge source
metadata
A dictionary of arbitrary key,value pairs. This data is not used by Ada, but can be used by the client to store additional information about the knowledge source.
sync_frequency
The sync frequency for web scraper knowledge sources. Controls how often the source URLs are re-crawled.
Allowed values:
availability_rules
Replace the source’s availability-rule template. Articles created after the change get the new template. Existing articles keep their own rules. Send null to remove the template. Omit to leave it unchanged.
Response
Knowledge source updated
id
A unique identifier for the knowledge source
name
The name of the knowledge source
availability_rules
The source’s availability-rule template. Each new article created under the source whose request omits availability_rules gets it. null when the source has none.
external_id
An external identifier for the knowledge source
metadata
A dictionary of arbitrary key,value pairs. This data is not used by Ada, but can be used by the client to store additional information about the knowledge source.
created
The date the knowledge source was created
updated
The date the knowledge source was last updated
last_sync
The date the knowledge source was last synchronized
status
Deletion lifecycle status of the knowledge source: deleting while an asynchronous deletion is in progress, delete_failed if the deletion failed. null when no deletion is in progress.
Allowed values:
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error