Close All Files For Agent
PATCH/v1/agents/{agent_id}/files/close-all
Closes all currently open files for a given agent.
This endpoint updates the file state for the agent so that no files are marked as open. Typically used to reset the working memory view for the agent.
Close All Files For Agent
curl https://api.letta.com/v1/agents/$AGENT_ID/files/close-all \
-X PATCH \
-H "Authorization: Bearer $LETTA_API_KEY"[
"string"
]Returns Examples
[
"string"
]
Skip to content