agents
Close File
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.
patch/v1/agents/{agent_id}/files/{file_id}/close
Request
- Base URLhttps://app.letta.com
- URLhttps://app.letta.com/v1/agents/{agent_id}/files/{file_id}/close
- AuthHTTP bearer
Path parameters
agent_idstring required
file_idstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 36 revisions of this API.