Skip to content
  • Auto
  • Light
  • Dark
DiscordForumGitHubSign up
View as Markdown
Copy Markdown

Open in Claude
Open in ChatGPT

Files

Close All Files For Agent
client.agents.files.closeAll(stringagentID, RequestOptionsoptions?): FileCloseAllResponse
patch/v1/agents/{agent_id}/files/close-all
Open File For Agent
client.agents.files.open(stringfileID, FileOpenParams { agent_id } params, RequestOptionsoptions?): FileOpenResponse
patch/v1/agents/{agent_id}/files/{file_id}/open
Close File For Agent
client.agents.files.close(stringfileID, FileCloseParams { agent_id } params, RequestOptionsoptions?): FileCloseResponse
patch/v1/agents/{agent_id}/files/{file_id}/close
List Files For Agent
client.agents.files.list(stringagentID, FileListParams { after, before, cursor, 4 more } query?, RequestOptionsoptions?): NextFilesPage<FileListResponse { id, file_id, file_name, 7 more } >
get/v1/agents/{agent_id}/files