Skip to main content
Partially updates an agent’s memory settings in a workspace. Fields you leave out stay unchanged. The change applies to this workspace only. A new fact_instruction replaces the current one whole; it is not appended to. It takes effect the next time facts are extracted into the agent’s memory. Facts already recorded stay as they are. If the agent has been deleted, its settings can still be read but no longer changed: the request returns 404 with NOT_FOUND.

Path Parameters

string
required
Workspace identifier
string
required
Agent identifier

Request Body

string
What this memory is about and what it is not, in Markdown, at most 2,000 characters. Send an empty string to clear it and put the built-in default back in effect. Draft Agent Fact Instruction can write one for you.

Response

Returns the memory settings after the update.
object