Embed and store a text memory into a scoped collection (gemini-embedding-001@768, stamped with embedder id + timestam...
/v1/abilities/memory.saveEmbed and store a text memory into a scoped collection (gemini-embedding-001@768, stamped with embedder id + timestamp; collection auto-created). Auth-required; collection must be in the caller key’s scope.
Request body
Section titled “Request body”inputMemorySaveInputrequiredShow 4 properties
contentstringrequiredThe memory text (<= 8000 chars)
collectionstringoptionalTarget collection (must be in the key’s scope; defaults to the key’s first)
categorystringoptionale.g. semantic | episodic | procedural
metadataobjectoptionalExtra payload fields stored alongside the memory
contextCallContextoptionalOptional call context. The tenant always comes from the credential:
tenantIdis honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.Show 3 properties
tenantIdstringoptionalSub-tenant to act for (sub-tenant credentials only).
runIdstringoptionalThe trust run (from trust.preflight) this call executes under.
verticalIdstringoptionalVertical to attribute created records to.
Returns
Section titled “Returns”Schema shown for 200 · application/json
resultThe ability’s return value. Its shape depends on the ability.