agents
Read a text file from the agent workspace.
Changed onget/api/agent/{agentName}/fs/file
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/agent/{agentName}/fs/file
- Auth: HTTP bearer
Path parameters
agentNamestring required
Agent name.
Query parameters
pathstring required
Path relative to the agent workspace root.
Response
File content and metadata.
Changes
- info
endpoint added
- info