Skip to content
View as Markdown

Embed and store a text memory into a scoped collection (gemini-embedding-001@768, stamped with embedder id + timestam...

POST/v1/abilities/memory.save

Embed 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.

Required
Yes
Content type
  • application/json
  • inputMemorySaveInputrequired
    Show 4 properties
    • contentstringrequired

      The memory text (<= 8000 chars)

    • collectionstringoptional

      Target collection (must be in the key’s scope; defaults to the key’s first)

    • categorystringoptional

      e.g. semantic | episodic | procedural

    • metadataobjectoptional

      Extra payload fields stored alongside the memory

  • contextCallContextoptional

    Optional call context. The tenant always comes from the credential: tenantId is honoured only by a credential allowed to address sub-tenants, and then nests under the credential’s own tenant.

    Show 3 properties
    • tenantIdstringoptional

      Sub-tenant to act for (sub-tenant credentials only).

    • runIdstringoptional

      The trust run (from trust.preflight) this call executes under.

    • verticalIdstringoptional

      Vertical to attribute created records to.

Schema shown for 200 · application/json

  • result

    The ability’s return value. Its shape depends on the ability.