cURL
curl --request PATCH \ --url https://api.example.com/api/core/knowledge_sources/{use_case_id}/{knowledge_source_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "fields": {} }'
{ "knowledge_source": { "id": "<string>", "base_url": "<string>", "app_id": "<string>", "brand": "<string>", "system_prompt": "<string>", "file_source_type": "disa-agent", "permissions_type": "managed", "retrieval_k": 100, "top_k_chapters": 50, "return_original_chapters": true, "credential_id": "<string>", "product_list": [ {} ], "document_types": [ "WORKSHOP_MANUAL" ] } }
Update knowledge source fields. Validates patched values against the knowledge source model before persisting.
Bearer token authentication. Format: 'Bearer '
Successful Response
Represents a knowledge source that navigates the Disa API.
Show child attributes
Was this page helpful?