Trust Centers

Apply or dismiss a pending memory suggestion

PATCH
/organizations/{organizationId}/projects/{projectId}/memory/suggestions/{suggestionId}

Body { status: 'applied' } installs the suggestion body as the current memory for the matching (trust center, kind), bumps version + appends prior body to history, and marks the suggestion applied. Body { status: 'dismissed' } only flips the suggestion's status. Re-runs scanForInjection on apply — rejects with 400 + auto-dismisses when content is unsafe.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid
suggestionId*string

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/memory/suggestions/string" \  -H "Content-Type: application/json" \  -d '{    "status": "applied"  }'
{  "status": "applied",  "trustCenterId": "f9cf2051-b17e-4a4d-88ed-a991b8a0fb98",  "kind": "chat",  "body": "string",  "version": 0,  "appliedSuggestionId": "string"}