Hosted agents have session-scoped files on the hosted agent sandboxes. Add support to the azd ai agent extension so developers can access the files, upload, download, etc. This is necessary for debugging, seeding data, setup of an agent, and more.
-
azd ai agent files upload <local-path> --path <remote-path> -n <name> -v <version> -s <session>
PUT /agents/{agent_name}/versions/{agent_version}/sessions/{session_id}/files?path=
-
azd ai agent files download <remote-path> -o <local-path> -n <name> -v <version> -s <session>
GET /agents/{agent_name}/versions/{agent_version}/sessions/{session_id}/files?path=
-
azd ai agent files list [remote-path] -n <name> -v <version> -s <session>
GET /agents/{agent_name}/versions/{agent_version}/sessions/{session_id}/files/list?path=
-
azd ai agent files remove <remote-path> [--recursive] -n <name> -v <version> -s <session>
DELETE /agents/{agent_name}/versions/{agent_version}/sessions/{session_id}/files?path=&recursive=
Reference Azure/azure-rest-api-specs#41157
Hosted agents have session-scoped files on the hosted agent sandboxes. Add support to the azd ai agent extension so developers can access the files, upload, download, etc. This is necessary for debugging, seeding data, setup of an agent, and more.
azd ai agent files upload <local-path> --path <remote-path> -n <name> -v <version> -s <session>PUT /agents/{agent_name}/versions/{agent_version}/sessions/{session_id}/files?path=azd ai agent files download <remote-path> -o <local-path> -n <name> -v <version> -s <session>GET /agents/{agent_name}/versions/{agent_version}/sessions/{session_id}/files?path=azd ai agent files list [remote-path] -n <name> -v <version> -s <session>GET /agents/{agent_name}/versions/{agent_version}/sessions/{session_id}/files/list?path=azd ai agent files remove <remote-path> [--recursive] -n <name> -v <version> -s <session>DELETE /agents/{agent_name}/versions/{agent_version}/sessions/{session_id}/files?path=&recursive=Reference Azure/azure-rest-api-specs#41157