Close All Files For Agent
/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.
Path Parameters
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"
]