tasks

Read one task file, or its history [read]

Changed on

Returns 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 URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/tasks/{id}/files/{path}
  • Auth
    HTTP 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