memory management

Create Memory

Create a new memory entry for the caller (or, for admins, any scope).

post/v1/memory

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/v1/memory
  • Auth: API key in header x-litellm-api-key

Request body

keystring required

Memory key (acts as the namespace in the URL).

valuestring required

Memory content. Typically markdown/text for LLM context.

metadataunknown
user_idstring nullable

Scope to this user. Defaults to the caller's user_id.

team_idstring nullable

Scope to this team. Defaults to the caller's team_id.

Response

Successful Response

memory_idstring required
keystring required
valuestring required
metadataunknown
user_idstring nullable
team_idstring nullable
created_atstring date-time nullable
created_bystring nullable
updated_atstring date-time nullable
updated_bystring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.