Download a session workspace as a zip file
Downloads the current files in a session’sDocumentation Index
Fetch the complete documentation index at: https://docs.dari.dev/llms.txt
Use this file to discover all available pages before exploring further.
/workspace directory as a zip file. Use this endpoint after a session has run when you need to retrieve files an agent created or modified during the session.
By default, the response includes the full /workspace directory. To download only specific subdirectories, repeat the path query parameter. Paths are interpreted relative to /workspace, so reports and /workspace/reports refer to the same directory.
/workspace directory.200 OK with Content-Type: application/zip. The body is the zip file bytes, and the Content-Disposition header suggests a filename like workspace-sess_123.zip.
401. If the session does not exist, the API returns 404. If the API key belongs to a different organization than the session, the API returns 403.
If the requested workspace path is invalid, does not exist, or is not a directory, the API returns 400. If the session does not have a workspace available to download yet, the API returns 409; run the session first, then retry after the agent has started work.