Modify Passage

PATCH
/v1/agents/:agent_id/archival-memory/:memory_id

Modify a memory in the agent’s archival memory store.

Path parameters

agent_idstringRequired
memory_idstringRequired

Request

This endpoint expects an object.
idstringRequired

The unique identifier of the passage.

created_by_idstringOptional

The id of the user that made this object.

last_updated_by_idstringOptional

The id of the user that made this object.

created_atdatetimeOptional

The timestamp when the object was created.

updated_atdatetimeOptional

The timestamp when the object was last updated.

is_deletedbooleanOptionalDefaults to false

Whether this passage is deleted or not.

agent_idstringOptional

The unique identifier of the agent associated with the passage.

source_idstringOptional

The data source of the passage.

file_idstringOptional

The unique identifier of the file associated with the passage.

metadata_map from strings to anyOptional

The metadata of the passage.

textstringOptional

The text of the passage.

embeddinglist of doublesOptional

The embedding of the passage.

embedding_configobjectOptional

The embedding configuration used by the passage.

Response

Successful Response

list of objects or null

Errors

Built with