agents

Open File

Opens a specific file for a given agent.

This endpoint marks a specific file as open in the agent's file state. The file will be included in the agent's working memory view. Returns a list of file names that were closed due to LRU eviction.

patch/v1/agents/{agent_id}/files/{file_id}/open

Request

  • Base URL
    https://app.letta.com
  • URL
    https://app.letta.com/v1/agents/{agent_id}/files/{file_id}/open
  • Auth
    HTTP bearer

Path parameters

agent_idstring required
file_idstring required

Response

Successful Response

string[] required

Changes

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