Trust Centers
Replace the RAG knowledge base document set
Replaces the trust center’s ragKnowledgeBaseDocumentIds with the provided set in one atomic write. New ids are enqueued for indexing; removed ids fall out of retrieval scope immediately (vector cleanup is deferred).
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Format
uuidprojectId*string
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/knowledge-base" \ -H "Content-Type: application/json" \ -d '{ "documents": [ { "documentId": "4704590c-004e-410d-adf7-acb7ca0a7052" } ] }'{ "trustCenterId": "string", "included": [ "string" ], "added": [ "string" ], "removed": [ "string" ], "enqueuedCount": 0}