Trust Centers
Update the agent memory body for a (trust center, kind) pair
Discriminated body: { body } replaces the memory with new Markdown (re-runs scanForInjection, rejects 400 on unsafe content); { targetVersion } reverts to a prior version from history. Both paths bump version + append the prior body to history (cap 10).
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
Format
uuidprojectId*string
Format
uuidkind*string
Value in
- "chat"
- "questionnaire"
- "rfp"
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/chat" \ -H "Content-Type: application/json" \ -d '{}'{ "trustCenterId": "f9cf2051-b17e-4a4d-88ed-a991b8a0fb98", "kind": "chat", "body": "string", "version": 0, "lastEditedBy": "string", "lastEditedAt": "2019-08-24T14:15:22Z"}