agents

Close All Open Files

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.

patch/v1/agents/{agent_id}/files/close-all

Request

  • Base URL
    https://app.letta.com
  • URL
    https://app.letta.com/v1/agents/{agent_id}/files/close-all
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Response

Successful Response

string[] required

Changes

No recorded changes to this operation across all 36 revisions of this API.