Full name: projects.locations.reasoningEngines.memories.purge
Purge memories.
Endpoint
posthttps://aiplatform.googleapis.com/v1/{parent}/memories:purge
Path parameters
parentstring
Required. The resource name of the ReasoningEngine to purge memories from. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}
Request body
The request body contains data with the following structure:
filterstring
Required. The standard list filter to determine which memories to purge. More detail in AIP-160.
forceboolean
Optional. If true, the memories will actually be purged. If false, the purge request will be validated but not executed.
Optional. metadata filters that will be applied to the memories to be purged. Filters are defined using disjunctive normal form (OR of ANDs).
For example: filterGroups: [{filters: [{key: "author", value: {stringValue: "agent
123"}, op: EQUAL}]}, {filters: [{key: "label", value: {stringValue:
"travel"}, op: EQUAL}, {key: "author", value: {stringValue: "agent 321"},
op: EQUAL}]}]
would be equivalent to the logical expression: (metadata.author = "agent 123" OR (metadata.label = "travel" AND
metadata.author = "agent 321")).
Response body
If successful, the response body contains an instance of Operation.