v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132661,4471.5 MB
projects

Ingests events for a Memory Bank.

post/v1/{+parent}/memories:ingestEvents

Path parameters

parentstring required

Required. The resource name of the ReasoningEngine to ingest events to. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}

Request body

revisionTtlstring google-duration

Optional. The TTL for the revision. The expiration time is computed: now + TTL.

disableMemoryRevisionsboolean

Optional. If true, no revisions will be created for this request.

metadataMergeStrategy'METADATA_MERGE_STRATEGY_UNSPECIFIED' | 'OVERWRITE' | 'MERGE' | 'REQUIRE_EXACT_MATCH'

Optional. The strategy to use when applying metadata to existing memories.

scopeobject

Required. The scope of the memories that should be generated from the stream. Memories will be consolidated across memories with the same scope. Scope values cannot contain the wildcard character '*'.

metadataobject

Optional. User-provided metadata for the generated memories. This is not generated by Memory Bank.

revisionLabelsobject

Optional. Labels to be applied to the generated memory revisions. For example, you can use this to label a revision with its data source.

revisionExpireTimestring google-datetime

Optional. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.

forceFlushboolean

Optional. Forces a flush of all pending events in the stream and triggers memory generation immediately bypassing any conditions configured in the generation_trigger_config.

streamIdstring

Optional. The ID of the stream to ingest events into. If not provided, a new one will be created.

Response

Successful response