cURL
curl --request PATCH \ --url https://api.timbal.ai/orgs/{org_id}/k2/{kb_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "backup_enabled": true, "backup_retention_days": 123, "backup_s3_bucket": "<string>", "backup_s3_key_prefix": "<string>", "backup_schedule_cron": "<string>", "description": "<string>", "name": "<string>" } '
{ "backup_enabled": true, "created_at": "2023-11-07T05:31:56Z", "data_size_bytes": 1, "id": 123, "index_count": 1, "name": "<string>", "row_count": 1, "table_count": 1, "uid": "<string>", "updated_at": "2023-11-07T05:31:56Z", "vector_count": 1, "backup_last_completed_at": "2023-11-07T05:31:56Z", "backup_last_error": "<string>", "backup_last_started_at": "2023-11-07T05:31:56Z", "backup_last_status": "<string>", "backup_retention_days": 123, "backup_s3_bucket": "<string>", "backup_s3_key_prefix": "<string>", "backup_schedule_cron": "<string>", "description": "<string>" }
Update a knowledge base.
Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.
Updated knowledge base
x >= 0