Skip to content
Navigation

Warm the user's memory cache

Prefetch the user's memory into cache so the next chat turn skips the lookup.

Deprecated — use POST /memories/graph/{user_id}/warm, which does the same work and is scoped to the user rather than an agent.

POST
https://truememory-api.mvstg.com/context/{agent_id}
View as Markdown

Authorization

  • HTTPBearerHTTPrequired

Path parameters

  • agent_idstringrequired

Header parameters

  • X-On-Behalf-Ofoptional

    One of the following:

    • string
    • null
  • X-External-User-Idoptional

    One of the following:

    • string
    • null
  • X-App-Idoptional

    One of the following:

    • string
    • null

Returns

200

Successful Response

JSON
  • entitiesarray ofobjectrequired

    Up to 15 entities.

    • namestringrequired
    • summarystringrequired
  • factsarray ofstringrequired

    Up to 15 facts.

422

Validation Error
JSON
  • detailoptionalarray ofobject
    • locarray ofrequired

      One of the following:

      • string
      • integer
    • msgstringrequired
    • typestringrequired
    • inputoptionalunknown
    • ctxoptionalobject

Type to search…

↑↓ navigate↵ selectEsc close