tasks
Read one task file, or its history [read]
Changed onReturns the file's bytes. With versions=true returns instead every recorded write of that path, newest first, including writes to a path that has since been deleted.
get/tasks/{id}/files/{path}
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/tasks/{id}/files/{path}
- AuthHTTP bearer
Path parameters
idstring required
The task id: the id of its root session (sess_…)
pathstring required
The file's path inside the task's file space, such as report.md or data/rows.csv
Query parameters
versions'true'
Response
The bytes, or the version list
Changes
- info
added the optional property
/to the response with the status
- info