Close File For Agent
/v1/agents/{agent_id}/files/{file_id}/close
Closes a specific file for a given agent.
This endpoint marks a specific file as closed in the agent's file state. The file will be removed from the agent's working memory view.
Path Parameters
Close File For Agent
curl https://api.letta.com/v1/agents/$AGENT_ID/files/$FILE_ID/close \
-X PATCH \
-H "Authorization: Bearer $LETTA_API_KEY"
{}Returns Examples
{}