---
title: "Get session archive download URL"
method: POST
path: "/agents/session/getFileArchiveUrl"
tags: ["Agents"]
---

# Get session archive download URL

`POST /agents/session/getFileArchiveUrl`

Returns a signed download URL for the completed file archive associated with a session.

## Request body

- object — Request parameters for getting a signed download URL for a completed session file archive
  - `sessionId` string, required — ID of the session returned from /agents/execute whose archive should be downloaded

## Response `200`

Session archive download URL retrieved successfully

- object — Response containing a signed download URL for the completed session file archive
  - `downloadUrl` string, required — Signed download URL for the completed session file archive

## Other responses

- `404` — Session or session archive not found
- `409` — Session archive exists but is not ready for download yet
- `500` — Internal server error

---

[API](https://skmtc.dev/kaizenautomation/apis/kaizen-api.md) · [All operations](https://skmtc.dev/kaizenautomation/apis/kaizen-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kaizenautomation/kaizen-api/revisions/4aa3664ceff2/schema)
