Trust Centers

Bulk-mutate approved answers in the Knowledge Base corpus

PATCH
/organizations/{organizationId}/projects/{projectId}/knowledge-base/approved-answers

Apply 1..N ops to approved-answer rows. Today supports archive (vector delete + flip reviewOutcome to archived; reopening the source questionnaire doesn't re-index). Triggers memory-suggestion re-synthesis with trigger=corpus_removal so the meta-LLM can update memory in light of what was removed.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid

Request 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 PATCH "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/knowledge-base/approved-answers" \  -H "Content-Type: application/json" \  -d '{    "ops": [      {        "op": "archive",        "id": "string"      }    ]  }'
{  "archived": 0,  "skipped": 0}